[PATCH] Fix nptl Makefile
Greg Schafer
gschafer@zip.com.au
Sat Dec 13 01:34:00 GMT 2003
Hi
I first sent this to the nptl list a while ago but got no response.
This patch is needed to make the NPTL test suite pass when. for example,
building inside a chroot with no current libc in /lib. That's why nobody
else sees the failure:
sh: line 1: /mnt/hdb6/scratch/glibc-build/nptl/tst-cancelx7: No such file or directory
make[2]: *** [/mnt/hdb6/scratch/glibc-build/nptl/tst-cancelx7.out] Error 1
Without this patch, tst-cancelx7 will use the ld-linux.so.2 from the host
(in /lib) when in fact it should be using the one inside the build tree.
Thanks
-------------- next part --------------
2003-12-13 Greg Schafer <gschafer@zip.com.au>
* nptl/Makefile: (tst-cancelx7-ARGS): Define.
--- nptl/Makefile.gws 2003-12-13 09:18:05.000000000 +1100
+++ nptl/Makefile 2003-12-13 11:49:39.460268112 +1100
@@ -398,6 +398,7 @@
CFLAGS-tst-align.c += $(stack-align-test-flags)
tst-cancel7-ARGS = --command "$(built-program-cmd)"
+tst-cancelx7-ARGS = --command "$(built-program-cmd)"
tst-umask1-ARGS = $(objpfx)tst-umask1.temp
$(objpfx)tst-atfork2: $(libdl) $(shared-thread-library)
More information about the Libc-alpha
mailing list