A patch for gconv

H . J . Lu hjl@valinux.com
Thu Nov 23 13:54:00 GMT 2000


On Thu, Nov 23, 2000 at 10:22:00AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> > Sometimes, it is fatal to use /usr/lib/gconv/gconv-modules under glibc
> > 2.1.3/ia64 during "make check". This patch adds NO_DEFAULT_GCONV_PATH
> > so that when we can disable it if necessary.
> 
> No.  Not another environment variable which is having effects on all
> code and is only needed for testing.  If something goes wrong during
> your tests the fault is with the tests and not the code.
> 

The problem is iconvdata/gconv-modules and /usr/lib/gconv/gconv-modules
are incompatible between glibc 2.1.3 and glibc 2.2 in CVS today. To
make the matter worse, under ia64, glibc 2.1.3 and glibc 2.2 are
binary incompatible. When I ran "make check" for glibc 2.2 from CVS
under glibc 2.1.3/ia64, iconv will read /usr/lib/gconv/gconv-modules
and then load /usr/lib/gconv/ISO646.so, both files are from glibc
2.1.3. Because of if, "make check" failed iconvdata/iconv-test. I
don't believe "make check" should get anything from /usr/lib/gconv.
That is what I came up with. Feel free to do it right.


-- 
H.J. Lu (hjl@valinux.com)


More information about the Libc-alpha mailing list