https://sourceware.org/bugzilla/show_bug.cgi?id=29157
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #1 from Nick Clifton <nickc at redhat dot com> --- Hi BogDan, Why do you think that the linker should be discarding anything ? You are creating a shared object, so the linker has no way of determining if stuff is going to be needed or not. So it keeps everything and then, because you are linking with -Wl,--no-undefined the linker generates the error message. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.