bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/20464] hppa-linux-gnu-ranlib: libcpp.a: File format not re


From: danglin at gcc dot gnu.org
Subject: [Bug binutils/20464] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
Date: Sun, 14 Aug 2016 15:00:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20464

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
With ranlib, only hppa-linux-gnu-ranlib fails with "File format not
recognized".  The ranlib command works.

address@hidden:~/gnu/gcc/objdir/build-hppa-linux-gnu/libcpp$ cmp libcpp.a.save
libcpp.a
address@hidden:~/gnu/gcc/objdir/build-hppa-linux-gnu/libcpp$ 
hppa-linux-gnu-ranlib
libcpp.a
hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
address@hidden:~/gnu/gcc/objdir/build-hppa-linux-gnu/libcpp$ ranlib libcpp.a
address@hidden:~/gnu/gcc/objdir/build-hppa-linux-gnu/libcpp$ 

The difference seems to be hppa-linux-gnu-ranlib is linked against
libbfd-2.27-system.so and ranlib is linked against libbfd-2.27-multiarch.so:

address@hidden:/usr/bin$ ldd hppa-linux-gnu-ranlib
        libbfd-2.27-system.so => /usr/lib/hppa-linux-gnu/libbfd-2.27-system.so
(0xfd20c000)
        libz.so.1 => /lib/hppa-linux-gnu/libz.so.1 (0xfcfb8000)
        libdl.so.2 => /lib/hppa-linux-gnu/libdl.so.2 (0xfcbf8000)
        libc.so.6 => /lib/hppa-linux-gnu/libc.so.6 (0xfc7f8000)
        /lib/ld.so.1 (0x41000000)
address@hidden:/usr/bin$ ldd ranlib
        libbfd-2.27-multiarch.so =>
/usr/lib/hppa-linux-gnu/libbfd-2.27-multiarch.so (0xfcffb000)
        libz.so.1 => /lib/hppa-linux-gnu/libz.so.1 (0xfcfb8000)
        libdl.so.2 => /lib/hppa-linux-gnu/libdl.so.2 (0xfcbf8000)
        libc.so.6 => /lib/hppa-linux-gnu/libc.so.6 (0xfc7f8000)
        /lib/ld.so.1 (0x41000000)

Somehow, I think 32 and 64-bit targets are getting mixed up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]