[parisc-linux] unaligned access using bash on glibc 2.5
Jeff Bailey
jbailey at raspberryginger.com
Sun May 6 10:11:42 MDT 2007
On 03/05/07, Carlos O'Donell <carlos at systemhalted.org> wrote:
> On 5/3/07, Jeff Bailey <jbailey at raspberryginger.com> wrote:
> > To work around the gcc pic/tls bug, I'm using this patch:
> > http://people.ubuntu.com/~jbailey/hppa-caller-save-pic-tls.dpatch
> >
> > I thought it would be interesting to compare glibc testsuite failures:
>
> My full list follows, which is smaller than your full list. I am using
> gcc head, and a very recent binutils.
>
> libc/dlfcn/tststatic.out
> libc/dlfcn/tststatic2.out
> libc/nptl/tst-cancel24.o
> libc/nptl/tst-cancelx4.out
> Catch me if you can! :-)
I'm travelling at the moment, so basic troubleshooting is going to be
a bit delayed, just as a quick status report, I'm getting linker
failures in some of the tests. I've checked that nptl/libpthread.so
has _Unwind_Resume in it, so I'll need to do more hunting this week.
Error message follows in case someone has an obvious "aha":
gcc-4.1 -fno-stack-protector -nostdlib -nostartfiles -o /home/jbailey/Programmin
g/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst-cancelx4 -Wl,-dynamic-
linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,--hash-style=both /home/jbailey/Prog
ramming/packages/glibc/glibc-2.5/build-tree/hppa-libc/csu/crt1.o /home/jbailey/P
rogramming/packages/glibc/glibc-2.5/build-tree/hppa-libc/csu/crti.o `gcc-4.1 -fn
o-stack-protector --print-file-name=crtbegin.o` /home/jbailey/Programming/packag
es/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst-cancelx4.o /home/jbailey/Progra
mming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/libpthread.so /home/jba
iley/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/libpthread_n
onshared.a -Wl,-rpath-link=/home/jbailey/Programming/packages/glibc/glibc-2.5/b
uild-tree/hppa-libc:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tre
e/hppa-libc/math:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/h
ppa-libc/elf:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-
libc/dlfcn:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-li
bc/nss:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/n
is:/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/rt:/h
ome/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/resolv:/ho
me/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/crypt:/home
/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl /home/jb
ailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/libc.so.6 /home/
jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/libc_nonshared
.a -lgcc `gcc-4.1 -fno-stack-protector --print-file-name=crtend.o` /home/jbailey
/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/csu/crtn.o
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_accept':
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/glibc-2.5/nptl/tst
-cancel4.c:1000: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_read':
(.text+0xc30): undefined reference to `_Unwind_Resume'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_readv':
(.text+0xd7c): undefined reference to `_Unwind_Resume'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_write':
(.text+0xecc): undefined reference to `_Unwind_Resume'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_writev':
(.text+0x102c): undefined reference to `_Unwind_Resume'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o: In function `tf_sleep':
(.text+0x10dc): undefined reference to `_Unwind_Resume'
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o:(.text+0x118c): more undefined references to `_Unwind_Resume' follow
/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa-libc/nptl/tst
-cancelx4.o:(.data+0x3c): undefined reference to `__gcc_personality_v0'
collect2: ld returned 1 exit status
make[3]: *** [/home/jbailey/Programming/packages/glibc/glibc-2.5/build-tree/hppa
-libc/nptl/tst-cancelx4] Error 1
--
Jeff Bailey - http://www.raspberryginger.com/jbailey/
More information about the parisc-linux
mailing list