Bug#719806: lintian: Change in binutils produce E: library-not-linked-against-libc for C++ compiled with -Wl, --as-needed
On 2013-08-15 20:18, Maximiliano Curia wrote:
> ¡Hola Niels!
>
> El 2013-08-15 a las 16:28 +0200, Niels Thykier escribió:
>>> After the binutils 2.23.52.20130612-1 entered the archive lots of C++ programs
>>> that don't explicitly use the libc produce:
>>> E: library-not-linked-against-libc
>>> messages. This issue was first reported to binutils in #712081, but the
>>> upstream developers claim its working as intended (when only weak symbols are
>>> used there is no strict dependency).
>
>> Do you have a reference to upstream's claim for reference?
>
> Thanks for the quick reply.
>
> The actual quote is:
> """
> I think it is quite reasonable. After all, linking without the
> library in question will succeed, and that will leave undefined weak
> symbols undecorated.
> """
> Available in:
> http://sourceware.org/ml/binutils/2013-07/msg00001.html
>
> Which is referenced in the closing message in #712081.
>
> Happy hacking,
>
Mmm, can we presume that these libraries will instead link (directly)
against the libstdc++ ?
~Niels
Reply to: