I tried to compile binutils-2.18 for armv5te-softfloat-linux-uclibc target with
LDFLAGS="-Wl,-z,defs". libopcodes.so fails to link due to missing symbols that
are in libiberty.a (floatformat_to_double and floatformat_ieee_single_little
used in arm-dis.c). The *cygwin targets already have a fix in cvs for this
adding -L`pwd`/../libiberty -liberty to SHARED_LIBADD (opcodes/configure.in),
probably the dependency has to fixed too, adding `pwd`/../libiberty/libiberty.a
to it
Additional comment:
haven't tried to compile the cvs sources, but reading the code arm-dis.c uses
the functions in floatformat, so it should have the same problem if it does not
link against libiberty.a. The *cygwin target is fixed (since cygwin will bail
out on undefined symbols), I do not really know if all other cases in cvs should
be fixed, the case I am speaking about is the host == * && host_vendor != hp in
opcodes/configure.in, although limited to arm*. Note: the only other arch using
in *-dis.c some floatformat function is m68k, so m68k is affected too
--
Summary: binutils 2.18 fails linking libopcodes.so due to missing
symbols
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ps dot m at gmx dot net
CC: bug-binutils at gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: armv5te-softfloat-linux-uclibc
http://sourceware.org/bugzilla/show_bug.cgi?id=6937
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils