Linking ld with --enable-targets=all fails strtoull, strtoll missing (in libiberty).

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon Jun 18 09:58:00 GMT 2001


I suspect you'll see this on other non-glibc2-systems too, not
just the i686-pc-linux-gnulibc1 I insist on not updating. ;-)

While doing a  --enable-targets=all build, linking ld fails
with:

eaixppc.o: In function `gldaixppc_parse_args':
/home/hp/tmp/binuwrite/ld/eaixppc.c:318: undefined reference to `strtoll'
/home/hp/tmp/binuwrite/ld/eaixppc.c:345: undefined reference to `strtoull'
...

Similarly eaixrs6.o and eppcmacos.o.

Perhaps some simple version of those functions can be added to
libiberty.

brgds, H-P



More information about the Binutils mailing list