[PATCH] Fix tst-array{2,5} with --as-needed

Carlos O'Donell carlos@systemhalted.org
Tue Jan 22 03:34:00 GMT 2013


On Mon, Jan 21, 2013 at 10:30 PM, Adam Conrad <adconrad@0c3.net> wrote:
> Ubuntu's toolchain defaults to --as-needed.  tst-array2 and
> tst-array5 fail unless built with --no-as-needed, so add it
> to the Makefile.  Tested locally to DTRT.  Okay to commit?
>
> 2013-01-21  Adam Conrad  <adconrad@0c3.net>
>
>        * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
>        (LDFLAGS-tst-array5): Likewise.

Why does it fail with --as-needed?

Cheers,
Carlos.



More information about the Libc-alpha mailing list