This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"make check" failure due to GCONV_PATH


It was reported to me that glibc's "make check" aborts due to a crash
of 'msgfmt' when the installed glibc is much older than the one being
built. The reason is:
  1) We don't maintain binary compatibility between gconv modules.
  2) msgfmt now uses iconv(), and since msgfmt is linked with the
     installed (older) libc, it must also use the installed (older)
     gconv modules, not those in the build directory.

Here is a fix.

2003-09-16  Bruno Haible  <>

	* intl/ Set GCONV_PATH and LOCPATH only after
	invoking msgfmt, not before.

diff -c -3 -r1.4
--- intl/	6 Jul 2001 04:54:53 -0000	1.4
+++ intl/	16 Sep 2003 09:56:15 -0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test of gettext functions.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2003 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
@@ -22,10 +22,6 @@
-export GCONV_PATH
-export LOCPATH
 export LC_ALL
@@ -64,6 +60,10 @@
 msgfmt -o ${objpfx}domaindir/lang2/LC_MESSAGES/ \
+export GCONV_PATH
+export LOCPATH
 # Now run the test.
 ${common_objpfx}elf/ --library-path $common_objpfx \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]