https://sourceware.org/bugzilla/show_bug.cgi?id=17639
--- Comment #1 from Peter Wu <peter at lekensteyn dot nl> --- This bug breaks C++ exceptions too. ==> foo.cpp <== #include <stdio.h> void foo(int n) { puts("FOO"); throw 42; } ==> main.cpp <== #include <stdio.h> extern void foo(int x); int main(void) { puts("calling foo"); try { foo(1); } catch (int i) { printf("Caught %d\n", i); } puts("done with foo"); With ld.gold (-Wl,-fuse-ld=gold): calling foo FOO Aborted Without gold: calling foo FOO Caught 42 done with foo -- 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