http://sourceware.org/bugzilla/show_bug.cgi?id=12353
Summary: exception_separate_shared_{12,21}_test fail when built with --as-needed Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: i...@airs.com ReportedBy: al...@archlinux.org When building the gold testsuite with LDFLAGS="-Wl,--as-needed", the following tests fail due to undefined symbols: FAIL: exception_separate_shared_12_test (exit: 127) =================================================== ./exception_separate_shared_12_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v FAIL: exception_separate_shared_21_test (exit: 127) =================================================== ./exception_separate_shared_21_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v When built with --as-needed: 0x00000001 (NEEDED) Shared library: [exception_shared_1.so] 0x00000001 (NEEDED) Shared library: [libc.so.6] When built without --as-needed: 0x00000001 (NEEDED) Shared library: [exception_shared_1.so] 0x00000001 (NEEDED) Shared library: [exception_shared_2.so] 0x00000001 (NEEDED) Shared library: [libstdc++.so.6] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils