[coreboot] SimNOW V2 LAB problem
Marc Karasek
Marc.Karasek at Sun.COM
Thu May 8 22:37:14 CEST 2008
Myles,
Disregard my feeble wanderings.. I was thinking about my attempt to
move busybox to 1.10.1 and the problems I was seeing there.
I think though the two are related. Seems that uClibc 0.9.29 no longer
supports the toolchain wrappers for -nostdlib and forcing a linking with
native tools (gcc/binutils) and a compiled uClibc library. This was
pulled in 0.9.22 according to the uclibc FAQ. Maybe it was just a one
off that FC5 still worked. What I see when I try 1.10.1 is it does
not link properly and I get a 496 byte busybox file that says it is
statically linked but is actually not even a valid exec file. I am
working on trying to get buildroot to build me a valid environment that
I can then use to build busybox correctly under buildrom. Either that
or I pull the uclibc stuff from buildrom and see what glibc does in
terms of size to the binary.
Marc
*********************
Marc Karasek
MTS
Sun Microsystems
mailto:marc.karasek at sun.com
ph:770.360.6415
*********************
Myles Watson wrote:
> On Thu, May 8, 2008 at 12:37 PM, Marc Karasek <Marc.Karasek at sun.com> wrote:
>
>> Myles,
>>
>> When you build the broken one:
>> 1) Is it a real exec file? Or is the file like 496 bytes? What does file
>> busybox report?
>>
>
> initrd-rootfs/bin/busybox is about 200K
>
> Did you mean a different file? I think the error would come sooner if
> busybox were linked incorrectly.
>
>
>> 2) What version of uclibc was the FC5 system using?
>>
> The same as the FC6. 9.29. I bumped it up for SimNow because 9.28
> didn't have a file necessary for x86_64.
>
>
>> 3) can you do a make in the busybox directory outside of buildrom in
>> work/busybox/busybox-a.b.c/ and look at the output from this, i.e. is the
>> busybox file have a correct size and is dynamic linked, etc..
>>
> I don't think I have that problem. Maybe you're talking about a different file?
>
> Myles
>
>
>> Marc
>>
>>
>> *********************
>> Marc Karasek
>> MTS
>> Sun Microsystems
>> mailto:marc.karasek at sun.com
>> ph:770.360.6415
>> *********************
>>
>>
>>
>> Myles Watson wrote:
>>
>>>
>>>> -----Original Message-----
>>>> From: Marc.Karasek at Sun.COM [mailto:Marc.Karasek at Sun.COM]
>>>> Sent: Tuesday, May 06, 2008 3:22 PM
>>>> To: Myles Watson
>>>> Cc: coreboot at coreboot.org
>>>> Subject: Re: [coreboot] SimNOW V2 LAB problem
>>>>
>>>> Crap, another compiler/tools problem. I hate these.. what version of
>>>> gcc/binutils did you use under FC5?
>>>>
>>>>
>>> gcc 4.1.1 for x86_64 release 51.fc5
>>> binutils 2.16.91.0.6 for x86_64 release 5
>>>
>>> I wouldn't have upgraded, but I couldn't build a working version of qemu
>>> with those tools. Now I have two broken systems :(
>>>
>>> Thanks,
>>> Myles
>>>
>>>
>>>
>>>
>>>
>>>
>
>
More information about the coreboot
mailing list