https://sourceware.org/bugzilla/show_bug.cgi?id=19763
Bug ID: 19763 Summary: build failure with -std=c++11 Product: binutils Version: 2.27 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: markus at trippelsdorf dot de CC: ian at airs dot com Target Milestone: --- ... sparc.o:sparc.cc:function _ZN12_GLOBAL__N_112Target_sparcILi64ELb1EE20do_finalize_sectionsEPN4gold6LayoutEPKNS2_13Input_objectsEPNS2_12Symbol_tableE: error: undefined referen ce to '_ZN4gold12Sized_symbolILi64EE14init_undefinedEPKcS3_mN6elfcpp3STTENS4_3STBENS4_3STVEh' sparc.o:sparc.cc:function _ZN12_GLOBAL__N_112Target_sparcILi64ELb1EE20do_finalize_sectionsEPN4gold6LayoutEPKNS2_13Input_objectsEPNS2_12Symbol_tableE: error: undefined referen ce to '_ZN4gold12Sized_symbolILi64EE13init_constantEPKcS3_mmN6elfcpp3STTENS4_3STBENS4_3STVEhb' sparc.o:sparc.cc:function _ZN12_GLOBAL__N_112Target_sparcILi32ELb1EE20do_finalize_sectionsEPN4gold6LayoutEPKNS2_13Input_objectsEPNS2_12Symbol_tableE: error: undefined referen ce to '_ZN4gold12Sized_symbolILi32EE14init_undefinedEPKcS3_jN6elfcpp3STTENS4_3STBENS4_3STVEh' sparc.o:sparc.cc:function _ZN12_GLOBAL__N_112Target_sparcILi32ELb1EE20do_finalize_sectionsEPN4gold6LayoutEPKNS2_13Input_objectsEPNS2_12Symbol_tableE: error: undefined referen ce to '_ZN4gold12Sized_symbolILi32EE13init_constantEPKcS3_jjN6elfcpp3STTENS4_3STBENS4_3STVEhb' collect2: error: ld returned 1 exit status Makefile:745: recipe for target 'ld-new' failed make[4]: *** [ld-new] Error 1 x4 gold # g++ -std=c++11 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold/../include -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold/../elfcpp -DLOCALEDIR="\"/usr/share/binutils-data/x86_64-pc-linux-gnu/git/locale\"" -DBINDIR="\"/usr/x86_64-pc-linux-gnu/binutils-bin/git\"" -DTOOLBINDIR="\"/usr/x86_64-pc-linux-gnu/bin\"" -DTOOLLIBDIR="\"/usr/x86_64-pc-linux-gnu/lib\"" -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=sparc.o -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold/../zlib -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -march=amdfam10 -pipe -O2 -MT sparc.o -MD -MP -MF .deps/sparc.Tpo -c -o sparc.o /var/tmp/portage/sys-devel/binutils-9999/work/binutils/gold/sparc.cc x4 gold # nm sparc.o | grep _ZN4gold12Sized_symbolILi64EE14init_undefinedEPKcS3_mN6elfcpp3STTENS4_3STBENS4_3STVEh U _ZN4gold12Sized_symbolILi64EE14init_undefinedEPKcS3_mN6elfcpp3STTENS4_3STBENS4_3STVEh x4 gold # c++filt _ZN4gold12Sized_symbolILi64EE14init_undefinedEPKcS3_mN6elfcpp3STTENS4_3STBENS4_3STVEh gold::Sized_symbol<64>::init_undefined(char const*, char const*, unsigned long, elfcpp::STT, elfcpp::STB, elfcpp::STV, unsigned char) x4 gold # -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils