Re: Status - compiling on hppa / ld sigsegv's - glibc 2.2.93
libc-alpha,
> ../libc/configure --prefix=/usr --host=hppa-linux --target=hppa-linux --build=hppa-linux
> --enable-add-ons --without-cvs >& ../configure.log
>
Adding --disable-shared and the build completes.
Ronald recommended trying to walk before we run :)
Unfortunately, 'make check >& ../check.log' is not so lucky.
gcc-3.2 tests-mbwc/tst_mblen.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata -I.. -I../libio -I/mnt/flaire/src/glibc-upstream-cvs/libc-build -I../sysdeps/hppa/elf -I../linuxthreads/sysdeps/unix/sysv/linux/hppa -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/hppa -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/hppa/fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc -DIS_IN_tests -o /mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen.o
gcc-3.2 -nostdlib -nostartfiles -o /mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen /mnt/flaire/src/glibc-upstream-cvs/libc-build/csu/crt1.o /mnt/flaire/src/glibc-upstream-cvs/libc-build/csu/crti.o `gcc-3.2 --print-file-name=crtbegin.o` /mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen.o /mnt/flaire/src/glibc-upstream-cvs/libc-build/libc.a -lgcc /mnt/flaire/src/glibc-upstream-cvs/libc-build/libc.a -lgcc `gcc-3.2 --print-file-name=crtend.o` /mnt/flaire/src/glibc-upstream-cvs/libc-build/csu/crtn.o
GCONV_PATH=/mnt/flaire/src/glibc-upstream-cvs/libc-build/iconvdata LC_ALL=C LOCPATH=/mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata /mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen > /mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen.out
make[2]: *** [/mnt/flaire/src/glibc-upstream-cvs/libc-build/localedata/tst_mblen.out] Error 139
make[2]: Leaving directory `/mnt/flaire/src/glibc-upstream-cvs/libc/glibc-2.2.93/localedata'
make[1]: *** [localedata/tests] Error 2
make[1]: Leaving directory `/mnt/flaire/src/glibc-upstream-cvs/libc/glibc-2.2.93'
make: *** [check] Error 2
...
The call path that fails looks like:
main (argc=1074202721, argv=0xfaf00918)
tst_mblen (fp=0x971d0, debug_flg=1074202721)
mblen (s=0x40070861 "ld.so.1", n=2)
__mbrtowc (pwc=0x40070861, s=0x88965 "À", n=1, ps=0xb8850)
__wcsmbs_load_conv (new_category=0xb8380)
__wcsmbs_getfct (to=0x40070861 "ld.so.1", from=0x40070861 "ld.so.1", nstepsp=0xb8554)
__gconv_find_transform (toset=0x64aa8 "INTERNAL", fromset=0xfaf00cd0 "ISO-8859-1//", handle=0xfaf00d48,
nsteps=0xfaf00d4c, flags=0)
find_derivation (toset=0x64aa8 "INTERNAL", toset_expand=0x0, fromset=0x9fd7d "INTERNAL",
fromset_expand=0xfaf00f10 "", handle=0xfaf00d48, nsteps=0xfaf00d4c)
gen_steps (best=0x1, toset=0x40070861 "ld.so.1", fromset=0xfaf00cd0 "ISO-8859-1//", handle=0xfaf00d48,
nsteps=0xfaf00d4c)
__gconv_find_shlib (name=0x2b2c2c68 <Address 0x2b2c2c68 out of bounds>)
__libc_dlopen (__name=0x0)
Subsequently breakage follows. Any thoughts?
If I remember correctly there are some calls to __tfind in the middle.
More debugging is required.
c.
Reply to: