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/22 03:34:16 UTC
[jira] Closed: (STDCXX-405) [gcc 4.1.0/Linux] linker error on
__rw_atomic_add32
[ https://issues.apache.org/jira/browse/STDCXX-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-405.
-------------------------------
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.
> [gcc 4.1.0/Linux] linker error on __rw_atomic_add32
> ---------------------------------------------------
>
> Key: STDCXX-405
> URL: https://issues.apache.org/jira/browse/STDCXX-405
> Project: C++ Standard Library
> Issue Type: Bug
> Affects Versions: 4.2
> Environment: gcc 4.1.0/Linux/x86
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> This looks like STDCXX-403:
> gcc -c -I$(TOPDIR)/include/ansi -pthread -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -pedantic -nostdinc++ -O2 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/examples/tutorial/alg1.cpp
> gcc alg1.o -o alg1 -pthread -L$(BUILDDIR)/lib -Wl,-R$(BUILDDIR)/lib -lstd -lsupc++ -lm
> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: warning: type and size of dynamic symbol `__rw_atomic_add32' are not defined
> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: dynamic variable `__rw_atomic_add32' is zero size
> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: alg1.o(.text+0x7cb): unresolvable R_386_PC32 relocation against symbol `__rw_atomic_add32'
> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> gmake: *** [alg1] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.