[PATCH] Make $(xtests) depend on libpthread.a and properly run dynamic tests
Roland McGrath
roland@hack.frob.com
Tue Oct 9 21:52:00 GMT 2012
> 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.
So the makefile builds them with shared libraries. If that's all there is,
then you just need to fix the makefile to use the right dependencies in the
static-only case.
More information about the Libc-alpha
mailing list