__udivdi3 seems to be defined in libgcc.a, but in openssh ld complains of undefined reference

David Wuertele dave-gnus@bfnet.com
Sat Apr 1 00:16:00 GMT 2006


>> /tools/gcc-3.3.3-glibc-2.3.2/mipsel-dave-linux-gnu/bin/mipsel-dave-linux-gnu-nm
>> /tools/gcc-3.3.3-glibc-2.3.2/mipsel-dave-linux-gnu/lib/gcc-lib/mipsel-dave-linux-gnu/3.3.3/libgcc.a
>> | grep -C 1 udivdi3
>> _udivdi3.oS:
>> U __clz_tab
>> U _gp_disp
>> 00000000 T __udivdi3
>> 

DDaney> Yes, there it is marked with a 'T' as expected.

OK.  I was confused because of the value of "00000000" for the symbol
--- since most of the other symbols had nonzero values, I thought
"00000000" might mean the symbol was incomplete or something.

The compile completed just fine when I set LD to be gcc.

Thanks,
Dave


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list