stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-405) [gcc 4.1.0/Linux] linker error on __rw_atomic_add32
Date Tue, 08 May 2007 04:30:15 GMT
[gcc 4.1.0/Linux] linker error on __rw_atomic_add32

                 Key: STDCXX-405
             Project: C++ Standard Library
          Issue Type: Bug
    Affects Versions: 4.2
         Environment: gcc 4.1.0/Linux/x86
            Reporter: 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.

View raw message