This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]