Hardcoded libpthread directory

Joseph Myers joseph@codesourcery.com
Thu Mar 17 16:48:00 GMT 2016


On Thu, 17 Mar 2016, Samuel Thibault wrote:

> Hello,
> 
> In glibc 2.23, malloc/Makefile contains:
> 
> ./malloc/Makefile:$(objpfx)tst-malloc-backtrace: $(common-objpfx)nptl/libpthread.so \
> 
> So this is actually hardcoding the directory containing libpthread.so,
> thus preventing build on systems which use another libpthread than nptl.
> 
> Shouldn't we introduce a variable to specify that directory?

See shared-thread-library and static-thread-library in 
sysdeps/nptl/Makeconfig.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list