Build failure against binutils-gold

Werner Koch wk at gnupg.org
Mon Jul 19 15:52:07 CEST 2010


On Sat, 17 Jul 2010 15:28, ametzler at downhill.at.eu.org said:

> libgcrypt tests fail to build with binutils-gold. Some tests directly

It is sad that libgcrypt builds on a huge variety of platforms using all
kinds of toolchains but the only linker whichs yields problem is the one
supposed to replace the standard binutils based GNU ld :-(

It would be much better to fix that shiny golden linker than to fix
makefiles around for a decade and more.  All the trouble of C double
plus now hitting those who try avoid it.

> -LDADD = ../src/libgcrypt.la $(DL_LIBS)
> +# some test programs use gpg-error functions directly, link against it.
> +LDADD = ../src/libgcrypt.la $(DL_LIBS) $(GPG_ERROR_LIBS)

Okay, will do so for.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list