This is the mail archive of the
mailing list for the glibc project.
Re: A patch for gconv
On Thu, Nov 23, 2000 at 10:22:00AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <firstname.lastname@example.org> 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 (email@example.com)