This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: iconv make check failures under ppc


Hi,

One additional piece of info here in case it helps.

The backtrace is as follows:

bug-iconv1
iconv_open
__gconv_open
__gconv_find_transform
__gconv_find_derivative
__gconv_gen_steps
__gconv_get_builtin_trans
then the assertion

It looks like my build is missing some builtin conversion module or routine? 
Franz, has built the exact same source with the exact same tools (except he is
building under a pre-release glibc 2.2 while I am still building from glibc
2.1.3) and he does not see these assertions firing at all.

By the way, the bug-iconv1 runs fine under glibc-2.1.3 with no errors or
assertions.

Ideas?

Thanks,

Kevin



"Kevin B. Hendricks" wrote:
> 
> Hi,
> 
> I am seeing the following assertion failures in iconvdata when running make
> check on PPC linux using Franz's latest gcc compiler, HJ Lu's
> binutils-2.10.0.24.
> 
> I have added some debug print statements so the assertion line has moved to be
> line 86.  It is in fact on line 73 of gconv_builtin.c based on this mornings cvs
> tree.
> 
> Does anyone have any ideas of what is going on here.
> 
> By the way, my build of glibc-2.1.92 did not show any of these failures so
> something has changed since then.
> 
> Any hints would be greatly appreciated.
> 
> Thanks,
> 
> Kevin
> 
> GCONV_PATH=../iconvdata LC_ALL=C  ../elf/ld.so.1 --library-path
> ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
> ./bug-iconv1  > bug-iconv1.out
> name is ../iconvdata/SJIS.so, size of map is 352, size of map[0] is 32
> cnt is 11
> map 0 is =INTERNAL->ucs4
> map 1 is =ucs4->INTERNAL
> map 2 is =INTERNAL->ucs4le
> map 3 is =ucs4le->INTERNAL
> map 4 is =INTERNAL->utf8
> map 5 is =utf8->INTERNAL
> map 6 is =utf8->INTERNAL
> map 7 is =ucs2->INTERNAL
> map 8 is =INTERNAL->ucs2
> map 9 is =ucs2reverse->INTERNAL
> map 10 is =INTERNAL->ucs2reverse
> bug-iconv1: gconv_builtin.c:86: __gconv_get_builtin_trans: Assertion `cnt <
> sizeof (map) / sizeof (map[0])' failed.
> make: *** [bug-iconv1.out] Error 134

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