This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Make $(xtests) depend on libpthread.a and properly rundynamic tests
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 9 Oct 2012 14:27:57 -0700
- Subject: Re: [PATCH] Make $(xtests) depend on libpthread.a and properly rundynamic tests
- References: <CAMe9rOq_vg0KoSUVm+nWnWUqaxGpcbXh0aPWM38d2KPPZ7BhsA@mail.gmail.com><20121009211343.54E362C09C@topped-with-meat.com>
On Tue, Oct 9, 2012 at 2:13 PM, Roland McGrath <roland@hack.frob.com> wrote:
> The dependency addition is fine.
>
> You need to explain why those tests shouldn't work with static linking.
> If there is no good reason they shouldn't, but they don't, then they
> just need to be fixed.
There are
$(objpfx)tst-cleanup4: $(objpfx)tst-cleanup4aux.o $(shared-thread-library)
$(objpfx)tst-cleanupx4: $(objpfx)tst-cleanup4aux.o $(shared-thread-library)
$(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so
Those tests use shared libraries.
--
H.J.