This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>> /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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]