ld: cannot find -lc

Răzvan Surdulescu surdules@gmail.com
Mon Nov 29 00:16:00 GMT 2010


2010/11/28 Răzvan Surdulescu <surdules@gmail.com>:
>> I installed a clean maverick-32 chroot, and with your .config (extracted
>> from the build log), shared core cc builds OK here. It fails in glibc-2.7,
>> though.
>>
>> glibc-2.7 is marked OBSOLETE, and I am not spending time fixing it. If you
>> have a fix, then I will apply it, but I won't investigate myself.
>>
>> I upgraded to glibc-2.8, and the build completed.
>
> I will try with glibc-2.8 and see if that works. If it does, then I
> will try to find a fix for glibc-2.7

I tried to build with glibc-2.8, and it fails again, same error (can't
find "-lc" when linking). Here is the build log:
http://www.sonic.net/~surdules/build.log.gz

Looking more closely, the failure happens during the "shared core C
compiler", which I think is before the glibc step (this is what was
happening before as well, when I was using glibc-2.7).

What additional information can I provide to help track this down?

I imagine there is some kind of Makefile in the shared cc build that
specifies "-lc"; would it help to diff some of my configs/Makefile(s)
against the ones that worked for you in the chroot install? I can
upload additional files for this purpose if you want.

Thanks,

Razvan.

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



More information about the crossgcc mailing list