http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54267

--- Comment #8 from David Keller <david.keller at litchis dot fr> 2012-08-15 
15:55:16 UTC ---
According to http://www.freebsd.org/cgi/query-pr.cgi?pr=28191, the man is
wrong, FreeBSD look at LD_LIBRARY_PATH before rpath.

So, when LD_LIBRARY_PATH contains /lib:, it crashes as seen in this thread.
The test program picks the wrong lib libgcc_s !

Not a GCC bug then :-)
Do you agree ?

(I don't get why O3 makes program requiring the last libgcc_s, I'll expect it
to be required regardless of optimization level)

Reply via email to