[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#354241: marked as done (libc6: Dynamic loader doesn't support R_PARISC_PLABEL21L and R_PARISC_PLABEL14R)



Your message dated Fri, 24 Feb 2006 22:06:47 +0100
with message-id <43FF7567.1090703@aurel32.net>
and subject line Bug#354241: libc6: Dynamic loader doesn't support R_PARISC_PLABEL21L and R_PARISC_PLABEL14R
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6
Version: 2.3.5-13
Severity: normal

The following two fails occur in the CVS binutils testsuite:

Running /home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/pie.exp ...
gcc -L/home/dave/binutils-2.16.91/objdir/./ld -pie 
/home/dave/binutils-2.16.91/s
rc/ld/testsuite/ld-pie/pie.c -o tmpdir/pie
gcc  -B/home/dave/binutils-2.16.91/objdir/ld/tmpdir/gas/ 
-I/home/dave/binutils-2
.16.91/src/ld/testsuite/ld-pie -g -O2   
-L/home/dave/binutils-2.16.91/objdir/./l
d -c -g -O2 -fPIC -c 
/home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/weakund
ef.c -o tmpdir/weakundef.o
gcc -L/home/dave/binutils-2.16.91/objdir/./ld 
-B/home/dave/binutils-2.16.91/objd
ir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib 
-L/home/dave/opt/gnu/lib -L
/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/weakundef 
-L/home/dave/binutils-2.16
.91/src/ld/testsuite/ld-pie -pie tmpdir/weakundef.o
Running: tmpdir/weakundef > tmpdir/weakundef.out
tmpdir/weakundef: error while loading shared libraries: unexpected reloc 
type 0x
42
FAIL: weak undefined
gcc  -B/home/dave/binutils-2.16.91/objdir/ld/tmpdir/gas/ 
-I/home/dave/binutils-2
.16.91/src/ld/testsuite/ld-pie -g -O2   
-L/home/dave/binutils-2.16.91/objdir/./l
d -c -g -O2 -fPIC -c 
/home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/weakund
ef-data.c -o tmpdir/weakundef-data.o
gcc -L/home/dave/binutils-2.16.91/objdir/./ld 
-B/home/dave/binutils-2.16.91/objd
ir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib 
-L/home/dave/opt/gnu/lib -L
/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/weakundef-data 
-L/home/dave/binutils
-2.16.91/src/ld/testsuite/ld-pie -pie tmpdir/weakundef-data.o
Running: tmpdir/weakundef-data > tmpdir/weakundef-data.out
tmpdir/weakundef-data: error while loading shared libraries: unexpected 
reloc ty
pe 0x42
FAIL: weak undefined data

This is the link for the first fail:
/home/dave/binutils-2.16.91/objdir/ld/tmpdir/ld/ld --eh-frame-hdr 
-dynamic-linke
r /lib/ld.so.1 -pie -o tmpdir/weakundef 
/usr/lib/gcc/hppa-linux-gnu/4.0.3/../../
../Scrt1.o /usr/lib/gcc/hppa-linux-gnu/4.0.3/../../../crti.o 
/usr/lib/gcc/hppa-l
inux-gnu/4.0.3/crtbeginS.o -L/home/dave/binutils-2.16.91/objdir/./ld 
-L/home/dav
e/opt/gnu/hppa-linux/lib -L/home/dave/opt/gnu/lib -L/usr/local/lib 
-L/lib -L/usr
/lib -L/home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie 
-L/home/dave/binutils
-2.16.91/objdir/ld/tmpdir/ld -L/usr/lib/gcc/hppa-linux-gnu/4.0.3 
-L/usr/lib/gcc/
hppa-linux-gnu/4.0.3 -L/usr/lib/gcc/hppa-linux-gnu/4.0.3/../../.. 
tmpdir/weakund
ef.o -v -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed 
-lgcc_s -
-no-as-needed /usr/lib/gcc/hppa-linux-gnu/4.0.3/crtendS.o 
/usr/lib/gcc/hppa-linu
x-gnu/4.0.3/../../../crtn.o
GNU ld version 2.16.91 20060224

The problematic relocations come from here:

dave@gsyprf11:~/binutils-2.16.91/objdir/ld$ objdump -r 
/usr/lib/Scrt1.o|less

/usr/lib/Scrt1.o:     file format elf32-hppa-linux

RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE
00000000 R_PARISC_PLABEL21L  main
00000004 R_PARISC_PLABEL14R  main
00000010 R_PARISC_PLABEL21L  __libc_csu_init
00000014 R_PARISC_PLABEL14R  __libc_csu_init
00000018 R_PARISC_PLABEL21L  __libc_csu_fini
0000001c R_PARISC_PLABEL14R  __libc_csu_fini

I believe that a patch was submitted by Carlos O'Donell to fix this bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (90, 'unstable')
Architecture: hppa (parisc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-pa1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.3.6-1

John David Anglin a écrit :
Package: libc6
Version: 2.3.5-13
Severity: normal

The following two fails occur in the CVS binutils testsuite:

Running /home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/pie.exp ...
gcc -L/home/dave/binutils-2.16.91/objdir/./ld -pie /home/dave/binutils-2.16.91/s
rc/ld/testsuite/ld-pie/pie.c -o tmpdir/pie
gcc -B/home/dave/binutils-2.16.91/objdir/ld/tmpdir/gas/ -I/home/dave/binutils-2 .16.91/src/ld/testsuite/ld-pie -g -O2 -L/home/dave/binutils-2.16.91/objdir/./l d -c -g -O2 -fPIC -c /home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/weakund
ef.c -o tmpdir/weakundef.o
gcc -L/home/dave/binutils-2.16.91/objdir/./ld -B/home/dave/binutils-2.16.91/objd ir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib -L/home/dave/opt/gnu/lib -L /usr/local/lib -L/lib -L/usr/lib -o tmpdir/weakundef -L/home/dave/binutils-2.16
.91/src/ld/testsuite/ld-pie -pie tmpdir/weakundef.o
Running: tmpdir/weakundef > tmpdir/weakundef.out
tmpdir/weakundef: error while loading shared libraries: unexpected reloc type 0x
42
FAIL: weak undefined
gcc -B/home/dave/binutils-2.16.91/objdir/ld/tmpdir/gas/ -I/home/dave/binutils-2 .16.91/src/ld/testsuite/ld-pie -g -O2 -L/home/dave/binutils-2.16.91/objdir/./l d -c -g -O2 -fPIC -c /home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie/weakund
ef-data.c -o tmpdir/weakundef-data.o
gcc -L/home/dave/binutils-2.16.91/objdir/./ld -B/home/dave/binutils-2.16.91/objd ir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib -L/home/dave/opt/gnu/lib -L /usr/local/lib -L/lib -L/usr/lib -o tmpdir/weakundef-data -L/home/dave/binutils
-2.16.91/src/ld/testsuite/ld-pie -pie tmpdir/weakundef-data.o
Running: tmpdir/weakundef-data > tmpdir/weakundef-data.out
tmpdir/weakundef-data: error while loading shared libraries: unexpected reloc ty
pe 0x42
FAIL: weak undefined data

This is the link for the first fail:
/home/dave/binutils-2.16.91/objdir/ld/tmpdir/ld/ld --eh-frame-hdr -dynamic-linke r /lib/ld.so.1 -pie -o tmpdir/weakundef /usr/lib/gcc/hppa-linux-gnu/4.0.3/../../ ../Scrt1.o /usr/lib/gcc/hppa-linux-gnu/4.0.3/../../../crti.o /usr/lib/gcc/hppa-l inux-gnu/4.0.3/crtbeginS.o -L/home/dave/binutils-2.16.91/objdir/./ld -L/home/dav e/opt/gnu/hppa-linux/lib -L/home/dave/opt/gnu/lib -L/usr/local/lib -L/lib -L/usr /lib -L/home/dave/binutils-2.16.91/src/ld/testsuite/ld-pie -L/home/dave/binutils -2.16.91/objdir/ld/tmpdir/ld -L/usr/lib/gcc/hppa-linux-gnu/4.0.3 -L/usr/lib/gcc/ hppa-linux-gnu/4.0.3 -L/usr/lib/gcc/hppa-linux-gnu/4.0.3/../../.. tmpdir/weakund ef.o -v -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s - -no-as-needed /usr/lib/gcc/hppa-linux-gnu/4.0.3/crtendS.o /usr/lib/gcc/hppa-linu
x-gnu/4.0.3/../../../crtn.o
GNU ld version 2.16.91 20060224

The problematic relocations come from here:

dave@gsyprf11:~/binutils-2.16.91/objdir/ld$ objdump -r /usr/lib/Scrt1.o|less

/usr/lib/Scrt1.o:     file format elf32-hppa-linux

RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE
00000000 R_PARISC_PLABEL21L  main
00000004 R_PARISC_PLABEL14R  main
00000010 R_PARISC_PLABEL21L  __libc_csu_init
00000014 R_PARISC_PLABEL14R  __libc_csu_init
00000018 R_PARISC_PLABEL21L  __libc_csu_fini
0000001c R_PARISC_PLABEL14R  __libc_csu_fini

I believe that a patch was submitted by Carlos O'Donell to fix this bug.

This has been fixed in verison 2.3.6-1. Closing the bug.

Bye
Aurelien

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: