This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: fix for multithreaded gettext() tests
- From: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>, Bruno Haible <bruno at clisp dot org>, libc-alpha at sources dot redhat dot com
- Date: Fri, 29 Apr 2005 14:01:58 -0500
- Subject: Re: fix for multithreaded gettext() tests
- Reply-to: sjmunroe at vnet dot ibm dot com
Todays cvs fails make check (segfaults) for intl/tst-gettext4.sh and
intl/tst-gettext5.sh because these script do not provide a complete
--library-path.
I included a patch the solved this problem for me (powercp32 and
powerpc64) but I am not sure this is the correct fix.
2005-04-29 Steven Munroe <sjmunroe@us.ibm.com>
*intl/tst-gettext4.sh: Add complete --library-path.
*intl/tst-gettext5.sh: Add complete --library-path.
diff -urN libc24-cvstip-20050429/intl/tst-gettext4.sh libc24/intl/tst-gettext4.sh
--- libc24-cvstip-20050429/intl/tst-gettext4.sh 2005-04-28 10:47:36.000000000 -0500
+++ libc24/intl/tst-gettext4.sh 2005-04-29 13:30:04.632728440 -0500
@@ -42,7 +42,7 @@
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${common_objpfx}elf/ld.so --library-path $common_objpfx:${common_objpfx}math:${common_objpfx}elf:${common_objpfx}dlfcn:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}rt:${common_objpfx}resolv:${common_objpfx}crypt:${common_objpfx}nptl \
${objpfx}tst-gettext4 > ${objpfx}tst-gettext4.out
exit $?
diff -urN libc24-cvstip-20050429/intl/tst-gettext5.sh libc24/intl/tst-gettext5.sh
--- libc24-cvstip-20050429/intl/tst-gettext5.sh 2005-04-28 10:47:36.000000000 -0500
+++ libc24/intl/tst-gettext5.sh 2005-04-29 13:30:55.602455864 -0500
@@ -40,7 +40,7 @@
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${common_objpfx}elf/ld.so --library-path $common_objpfx:${common_objpfx}math:${common_objpfx}elf:${common_objpfx}dlfcn:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}rt:${common_objpfx}resolv:${common_objpfx}crypt:${common_objpfx}nptl \
${objpfx}tst-gettext5 > ${objpfx}tst-gettext5.out
exit $?