------- Additional Comments From amodra at bigpond dot net dot au 2009-01-16 07:41 ------- I didn't realise this was an --enable-shared build. gas links against the shared libopcodes, which means you are linking against the whole libopcodes. libopcodes has a reference to floatformat_to_double (in arm-dis.c), causing floatformat.o to be linked from libiberty. A static link would only pull in the parts of libopcodes used by gas, so no arm-dis.o needed.
It's a little nasty that libopcodes.so needs libiberty like this. Every app linked against libopcodes.so thus pulls in parts of the static libiberty whether or not the app needs it. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Last reconfirmed|0000-00-00 00:00:00 |2009-01-16 07:41:22 date| | http://sourceware.org/bugzilla/show_bug.cgi?id=6768 ------- 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