This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix tst-array{2,5} with --as-needed
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Adam Conrad <adconrad at 0c3 dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 21 Jan 2013 22:34:19 -0500
- Subject: Re: [PATCH] Fix tst-array{2,5} with --as-needed
- References: <20130122033008.GJ29056@0c3.net>
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.