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: ld: cannot find -lc


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


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