gcc  -B/home/dave/gnu/binutils-2.16.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/bi
nutils-2.16.91/src/ld/testsuite/ld-pie -g -O0   -L/home/dave/gnu/binutils-2.16.9
1/objdir/./ld -c -g -O0 -fPIC -c /home/dave/gnu/binutils-2.16.91/src/ld/testsuit
e/ld-pie/weakundef.c -o tmpdir/weakundef.o
gcc -L/home/dave/gnu/binutils-2.16.91/objdir/./ld -B/home/dave/gnu/binutils-2.16
.91/objdir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib -L/home/dave/opt/gn
u/lib -L/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/weakundef -L/home/dave/gnu/b
inutils-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

Also,

gcc  -B/home/dave/gnu/binutils-2.16.91/objdir/ld/tmpdir/gas/ -I/home/dave/gnu/bi
nutils-2.16.91/src/ld/testsuite/ld-pie -g -O0   -L/home/dave/gnu/binutils-2.16.9
1/objdir/./ld -c -g -O0 -fPIC -c /home/dave/gnu/binutils-2.16.91/src/ld/testsuit
e/ld-pie/weakundef-data.c -o tmpdir/weakundef-data.o
gcc -L/home/dave/gnu/binutils-2.16.91/objdir/./ld -B/home/dave/gnu/binutils-2.16
.91/objdir/ld/tmpdir/ld/ -L/home/dave/opt/gnu/hppa-linux/lib -L/home/dave/opt/gn
u/lib -L/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/weakundef-data -L/home/dave/
gnu/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

-- 
           Summary: pie.exp: FAIL: weak undefined
           Product: binutils
           Version: 2.17 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: danglin at gcc dot gnu dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2379

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to