Control: reassign -1 binutils
Control: found -1 2.22-5
Control: found -1 2.23.52.20130722-1
Control: severity -1 normal
Control: tags -1 patch

The bug has always been present in binutils (the binary package), but
its effect was visible particularly when binutils-gold was installed.
Now binutils-gold is no longer built. The problem still exists, e.g.
when providing -fuse-ld=gold, but no longer due to an effect of some
package being installed. Thus I'm downgrading the severity to normal;
the ld.bfd(1) man page documents LD_RUN_PATH, but not the ld.gold(1)
one, so that it could be seen as a wishlist, but if /usr/bin/ld can
point to ld.gold, this will break some user-side builds (with no good
workaround as -fuse-ld=bfd is not portable).

I could reproduce the problem when configuring MPFR on my machine
with:

  ./configure --with-gmp=/usr/local/gmp-debug CFLAGS='-fuse-ld=gold'

(/usr/local/gmp-debug being a version different from the /usr one).
I got:

checking if gmp.h version and libgmp version are the same... (5.0.1/5.1.2) no
configure: WARNING: ==========================================================
configure: WARNING: 'gmp.h' and 'libgmp' seem to have different versions or
configure: WARNING: we cannot run a program linked with GMP (if you cannot
configure: WARNING: see the version numbers above). A cause may be different
configure: WARNING: GMP versions with different ABI's or the use of --with-gmp
configure: WARNING: or --with-gmp-include with a system include directory
configure: WARNING: (such as /usr/include or /usr/local/include).
configure: WARNING: However since we can't use 'libtool' inside the configure,
configure: WARNING: we can't be sure. See 'config.log' for details.
configure: WARNING: CC="gcc"
configure: WARNING: CFLAGS="-fuse-ld=gold"
configure: WARNING: CPPFLAGS=" -I/usr/local/gmp-debug/include"
configure: WARNING: LDFLAGS=" -L/usr/local/gmp-debug/lib"
configure: WARNING: LIBS="-lgmp "
configure: WARNING: Temporary LD_RUN_PATH was "/usr/local/gmp-debug/lib".
configure: WARNING: ==========================================================

The patch from

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660813#10

still works:

checking if gmp.h version and libgmp version are the same... (5.0.1/5.0.1) yes

(with the same configure line).

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to