http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53675

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|x86_64-unknown-netbsd5.1    |
               Host|x86_64-unknown-netbsd5.1    |
            Summary|[4.8 Regression] bootstrap  |[4.8 Regression] bootstrap
                   |fails on netbsd5.1 with     |fails on non-TLS targets
                   |multiple definitions of     |with multiple definitions
                   |libstdc++ symbols           |of libstdc++ symbols
              Build|x86_64-unknown-netbsd5.1    |

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-18 
17:36:41 UTC ---
Reproduced on x86_64-unknown-linux-gnu (using gcc20 in the compile farm)
configured with --disable-tls, with binutils version:
GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303


/usr/bin/ld: Dwarf Error: found dwarf version '49668', this reader only handles
version 2 and 3 information.
../../src/debug/c++11/.libs/libc++11convenience.a(future.o): In function
`_ZZSt9call_onceIMSt6threadFvvEJSt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENKUlvE_cvPFvvEEv':
future.cc:(.text._ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENKUlvE_cvPFvvEEv+0x0):
multiple definition of
`_ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENKUlvE_cvPFvvEEv'
/usr/bin/ld: Dwarf Error: found dwarf version '17193', this reader only handles
version 2 and 3 information.
.libs/compatibility-thread-c++0x.o:compatibility-thread-c++0x.cc:(.text._ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENKUlvE_cvPFvvEEv+0x0):
first defined here

Full configure command:

/home/jwakely/src/gcc/configure --prefix=/home/jwakely/gcc/4.x
--with-system-zlib --with-gnu-ld --with-gnu-as --disable-libitm
--disable-libquadmath --disable-libmudflap --enable-libstdcxx-debug
--enable-languages=c,c++ --disable-bootstrap --disable-tls

Reply via email to