http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot | |gnu.org --- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-05 12:48:23 UTC --- "And -static should not really make a difference in terms of the returned error value." This is true, it should not make a difference and on my system it does not. I have x86-64-linux-gnu I think what you are seeing is some sort of library path issue. Really odd.