http://sourceware.org/bugzilla/show_bug.cgi?id=12804
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-25 18:29:53 UTC --- (In reply to comment #1) > Can you attach the file testsuite/test-suite.log? What version of gcc are you > configured with? [hjl@gnu-6 gold]$ find -name "*.log" ./bootstrap-test.log ./config.log ./test-suite.log ./bootstrap-test-r.log [hjl@gnu-6 gold]$ cat ./test-suite.log ================================ gold 0.1: ./test-suite.log ================================ All 2 tests passed. .. contents:: :depth: 2 [hjl@gnu-6 gold]$ g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -o gc_comdat_test -Bgcctestdir/ -Wl,--gc-sections gc_comdat_test_1.o gc_comdat_test_2.o gcctestdir/ld: error: two_file_test_2.o: multiple definition of 't1_2()' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.o: multiple definition of 't1a()' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.o: multiple definition of 'f10()' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.o: multiple definition of 'f11b(int (*)())' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.o: multiple definition of 'f12()' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.o: multiple definition of 'f13()' gcctestdir/ld: two_file_test_tmp.o: previous definition here gcctestdir/ld: error: two_file_test_2.og++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -o gc_tls_test -Bgcctestdir/ -Wl,--gc-sections gc_tls_test.o : multiple definition of 'f14()' .... I am using gcc 4.5 from Fedora 14. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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