[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/6768] linking in gas fails with uclibc because of missing libm
From: |
amodra at bigpond dot net dot au |
Subject: |
[Bug gas/6768] linking in gas fails with uclibc because of missing libm or flag "-lm" respectively |
Date: |
16 Jan 2009 07:41:23 -0000 |
------- 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 gas/6768] linking in gas fails with uclibc because of missing libm or flag "-lm" respectively,
amodra at bigpond dot net dot au <=