public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53675] New: [4.8 Regression] bootstrap fails on netbsd5.1 due to unsupported dwarf4 info
@ 2012-06-14 21:07 redi at gcc dot gnu.org
  2012-06-15  8:30 ` [Bug bootstrap/53675] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-14 21:07 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53675
           Summary: [4.8 Regression] bootstrap fails on netbsd5.1 due to
                    unsupported dwarf4 info
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org
              Host: x86_64-unknown-netbsd5.1
            Target: x86_64-unknown-netbsd5.1
             Build: x86_64-unknown-netbsd5.1


Created attachment 27621
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27621
build log

Bootstrap fails on gcc70 in the compile farm with linker errors like this:

/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles
version 2 information.
../src/c++11/.libs/libc++11convenience.a(functexcept.o): In function
`_ZZSt9call_onceIMNSt13__future_base11_State_baseEFvRSt8functionIFSt10unique_ptrINS0_12_Result_baseENS4_8_DeleterEEvEERbEJKPS1_St17reference_wrapperIS8_ESF_IbEEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv':
functexcept.cc:(.text._ZZSt9call_onceIMNSt13__future_base11_State_baseEFvRSt8functionIFSt10unique_ptrINS0_12_Result_baseENS4_8_DeleterEEvEERbEIKPS1_St17reference_wrapperIS8_ESF_IbEEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv+0x0):
multiple definition of
`_ZZSt9call_onceIMNSt13__future_base11_State_baseEFvRSt8functionIFSt10unique_ptrINS0_12_Result_baseENS4_8_DeleterEEvEERbEIKPS1_St17reference_wrapperIS8_ESF_IbEEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv'
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles
version 2 information.
.libs/compatibility-thread-c++0x.o:compatibility-thread-c++0x.cc:(.text._ZZSt9call_onceIMNSt13__future_base11_State_baseEFvRSt8functionIFSt10unique_ptrINS0_12_Result_baseENS4_8_DeleterEEvEERbEIKPS1_St17reference_wrapperIS8_ESF_IbEEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv+0x0):
first defined here
../src/c++11/.libs/libc++11convenience.a(functexcept.o): In function
`_ZZSt9call_onceIMSt6threadFvvEJSt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv':
functexcept.cc:(.text._ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv+0x0):
multiple definition of
`_ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv'
.libs/compatibility-thread-c++0x.o:compatibility-thread-c++0x.cc:(.text._ZZSt9call_onceIMSt6threadFvvEISt17reference_wrapperIS0_EEEvRSt9once_flagOT_DpOT0_ENUlvE_4_FUNEv+0x0):
first defined here

Binutils is pretty old:

ld -V
GNU ld version 2.16.1
  Supported emulations:
   elf_x86_64
   elf_i386
   i386nbsd

Configure command is:

/home/jwakely/src/gcc/configure --prefix=/home/jwakely/gcc/4.x
--with-system-zlib --with-gnu-ld --with-gnu-as --with-dwarf2
--enable-languages=c,c++ --disable-libquadmath --disable-libmudflap
--disable-libitm --disable-decimal-float --disable-nls

Note that I specifically requested --with-dwarf2, which makes no difference.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-04  9:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 21:07 [Bug bootstrap/53675] New: [4.8 Regression] bootstrap fails on netbsd5.1 due to unsupported dwarf4 info redi at gcc dot gnu.org
2012-06-15  8:30 ` [Bug bootstrap/53675] " rguenth at gcc dot gnu.org
2012-06-15 19:43 ` redi at gcc dot gnu.org
2012-06-16 13:22 ` [Bug bootstrap/53675] [4.8 Regression] bootstrap fails on netbsd5.1 with multiple definitions of libstdc++ symbols redi at gcc dot gnu.org
2012-06-18 17:36 ` [Bug bootstrap/53675] [4.8 Regression] bootstrap fails on non-TLS targets " redi at gcc dot gnu.org
2012-06-18 20:17 ` redi at gcc dot gnu.org
2012-07-03 20:55 ` redi at gcc dot gnu.org
2012-07-04  9:23 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).