You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/05/08 04:00:15 UTC
[jira] Created: (STDCXX-403) [Intel C++ 9.1/Linux] linker error on
__rw_atomic_add32
[Intel C++ 9.1/Linux] linker error on __rw_atomic_add32
-------------------------------------------------------
Key: STDCXX-403
URL: https://issues.apache.org/jira/browse/STDCXX-403
Project: C++ Standard Library
Issue Type: Bug
Components: 21. Strings
Affects Versions: 4.2
Environment: Intel C++ 9.1/Linux x86_64
Reporter: Martin Sebor
Priority: Blocker
Fix For: 4.2
In shared, optimized, thread-safe builds (12{dD}) with Intel C++ 9.1 on Linux, most string tests are failing to link with the error below:
icc -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -cxxlib-nostd -O2 -w1 $(TOPDIR)/tests/strings/21.string.access.cpp
$(TOPDIR)/tests/strings/21.string.access.cpp(308): warning #279: controlling expression is constant
DEFINE_STRING_TEST_DISPATCH (test_access);
^
$(TOPDIR)/tests/strings/21.string.access.cpp(258): warning #279: controlling expression is constant
RW_ASSERT (!"test logic error: unknown access overload");
^
icc 21.string.access.o -o 21.string.access -L$(BUILDDIR)/rwtest -lrwtest -cxxlib-nostd -lpthread -L$(BUILDDIR)/lib -Wl,-R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest -lstd -lcxaguard -lsupc++ -lm
ld: warning: type and size of dynamic symbol `__rw_atomic_add32' are not defined
ld: dynamic variable `__rw_atomic_add32' is zero size
ld: 21.string.access.o(.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase[.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase]+0x2c2): unresolvable R_386_PC32 relocation against symbol `__rw_atomic_add32'
ld: final link failed: Nonrepresentable section on output
gmake: *** [21.string.access] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (STDCXX-403) [Intel C++ 9.1/Linux] linker error on
__rw_atomic_add32
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-403.
-------------------------------
Resolution: Fixed
Nightly tests indicate that the issue has been resolved most likely as a result of fixing STDCXX-417, suggesting that this problem was just another symptom of the former.
> [Intel C++ 9.1/Linux] linker error on __rw_atomic_add32
> -------------------------------------------------------
>
> Key: STDCXX-403
> URL: https://issues.apache.org/jira/browse/STDCXX-403
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.2
> Environment: Intel C++ 9.1/Linux x86_64
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Blocker
> Fix For: 4.2
>
>
> In shared, optimized, thread-safe builds (12{dD}) with Intel C++ 9.1 on Linux, most string tests are failing to link with the error below:
> icc -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -cxxlib-nostd -O2 -w1 $(TOPDIR)/tests/strings/21.string.access.cpp
> $(TOPDIR)/tests/strings/21.string.access.cpp(308): warning #279: controlling expression is constant
> DEFINE_STRING_TEST_DISPATCH (test_access);
> ^
> $(TOPDIR)/tests/strings/21.string.access.cpp(258): warning #279: controlling expression is constant
> RW_ASSERT (!"test logic error: unknown access overload");
> ^
> icc 21.string.access.o -o 21.string.access -L$(BUILDDIR)/rwtest -lrwtest -cxxlib-nostd -lpthread -L$(BUILDDIR)/lib -Wl,-R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest -lstd -lcxaguard -lsupc++ -lm
> ld: warning: type and size of dynamic symbol `__rw_atomic_add32' are not defined
> ld: dynamic variable `__rw_atomic_add32' is zero size
> ld: 21.string.access.o(.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase[.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase]+0x2c2): unresolvable R_386_PC32 relocation against symbol `__rw_atomic_add32'
> ld: final link failed: Nonrepresentable section on output
> gmake: *** [21.string.access] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (STDCXX-403) [Intel C++ 9.1/Linux] linker error on
__rw_atomic_add32
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor reassigned STDCXX-403:
-----------------------------------
Assignee: Martin Sebor
> [Intel C++ 9.1/Linux] linker error on __rw_atomic_add32
> -------------------------------------------------------
>
> Key: STDCXX-403
> URL: https://issues.apache.org/jira/browse/STDCXX-403
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.2
> Environment: Intel C++ 9.1/Linux x86_64
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Blocker
> Fix For: 4.2
>
>
> In shared, optimized, thread-safe builds (12{dD}) with Intel C++ 9.1 on Linux, most string tests are failing to link with the error below:
> icc -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -cxxlib-nostd -O2 -w1 $(TOPDIR)/tests/strings/21.string.access.cpp
> $(TOPDIR)/tests/strings/21.string.access.cpp(308): warning #279: controlling expression is constant
> DEFINE_STRING_TEST_DISPATCH (test_access);
> ^
> $(TOPDIR)/tests/strings/21.string.access.cpp(258): warning #279: controlling expression is constant
> RW_ASSERT (!"test logic error: unknown access overload");
> ^
> icc 21.string.access.o -o 21.string.access -L$(BUILDDIR)/rwtest -lrwtest -cxxlib-nostd -lpthread -L$(BUILDDIR)/lib -Wl,-R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest -lstd -lcxaguard -lsupc++ -lm
> ld: warning: type and size of dynamic symbol `__rw_atomic_add32' are not defined
> ld: dynamic variable `__rw_atomic_add32' is zero size
> ld: 21.string.access.o(.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase[.gnu.linkonce.t._Z11test_accessI8UserChar10UserTraitsIS0_E9UserAllocIS0_10AllocTypesIS0_EEEvT_PT0_PT1_RK10StringFuncRK14StringTestCase]+0x2c2): unresolvable R_386_PC32 relocation against symbol `__rw_atomic_add32'
> ld: final link failed: Nonrepresentable section on output
> gmake: *** [21.string.access] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.