Re: FreeBSD links wrong library for tests if one is installed in $prefix

2017-06-28 Thread Marc Glisse
On Wed, 28 Jun 2017, Torbjörn Granlund wrote: Vincent Lefevre writes: > The fbsd developers' GNU/Linux envy is projected at GPL hate which in > turn badly hurts their own system. This is not fair. The current behavior is the same as various Linux systems, including

Re: FreeBSD links wrong library for tests if one is installed in $prefix

2017-06-28 Thread Torbjörn Granlund
Vincent Lefevre writes: > The fbsd developers' GNU/Linux envy is projected at GPL hate which in > turn badly hurts their own system. This is not fair. The current behavior is the same as various Linux systems, including Debian until Jessie. I was referring to that

Re: FreeBSD links wrong library for tests if one is installed in $prefix

2017-06-28 Thread Vincent Lefevre
On 2017-06-28 13:55:41 +0200, Torbjorn Granlund wrote: > Emmanuel Thomé writes: > > freebsd's ld, which is a venerable GNU binutils 2.17.50 dated 2007-07-50 > (yes, I'm talking about the current freebsd), does not emit new dtags > (runpath vs rpath) by default. >

Re: FreeBSD links wrong library for tests if one is installed in $prefix

2017-06-27 Thread Vincent Lefevre
On 2017-06-27 23:11:02 +0200, Emmanuel Thome wrote: > On Tue, Jun 27, 2017 at 08:01:50PM +0200, Vincent Lefevre wrote: > > On 2017-06-27 19:21:00 +0200, Emmanuel Thome wrote: > > > gf2x-freebsd-110-amd64-test2 ~/gmp-6.1.2 $ objdump -x > > > ./tests/mpn/.libs/t-mul | egrep "(R.*PATH|NEEDED)" >

Re: FreeBSD links wrong library for tests if one is installed in $prefix

2017-06-27 Thread Emmanuel Thomé
On Tue, Jun 27, 2017 at 08:01:50PM +0200, Vincent Lefevre wrote: > On 2017-06-27 19:21:00 +0200, Emmanuel Thome wrote: > > gf2x-freebsd-110-amd64-test2 ~/gmp-6.1.2 $ objdump -x > > ./tests/mpn/.libs/t-mul | egrep "(R.*PATH|NEEDED)" > > NEEDED libgmp.so.10 > > NEEDED libc.so.7 >