[PATCH] build: add -Wl,-rpath=path to $gmplibs (issue 7124057)

Paolo Bonzini bonzini@gnu.org
Sat Jan 19 13:45:00 GMT 2013


Il 18/01/2013 18:48, Mike Stump ha scritto:
> Now, I'm happy to have a shared library expert weigh in and explain
> why we should not fail the buildÂ…  I'm happy to defer to them, if
> there is a compelling reason why someone would compile things this
> way.  I just can't help but think we serve the user more by insisting
> up front, on being able to find the libraries at run time.

Because to some extent we expect the user to know what he's doing.  We
cannot cater for any mistake, and that's what this is.  A mismatch
between the link-time path and LD_RUN_PATH/LD_LIBRARY_PATH is simply a
mistake.

Paolo



More information about the Gcc-patches mailing list