[coreboot] Patch file for ld/fedora 8 more issues...

Marc Karasek Marc.Karasek at Sun.COM
Wed Jan 23 16:30:45 CET 2008


I hate compiler/tools issues... :-(

/*********************
Marc Karasek
MTS
Sun Microsystems
mailto:marc.karasek at sun.com
ph:770.360.6415
*********************/



joe at smittys.pointclark.net wrote:
> Quoting Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>:
>
>> On 23.01.2008 02:24, joe at smittys.pointclark.net wrote:
>>> Quoting Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>:
>>>
>>>
>>>> On 23.01.2008 01:41, joe at smittys.pointclark.net wrote:
>>>>
>>>>> Arugh!!! When I tested the patch eveerything worked ok but now with
>>>>> the new svn version, when I try abuild it get this:
>>>>> ------------------------
>>>>>    Creating builddir...ok
>>>>>    Compiling image ..FAILED after 13s! Log excerpt:
>>>>> gcc -m32  -nostdlib -nostartfiles -static -o coreboot_ram -T
>>>>> /home/joe/coreboot-v2/src/config/coreboot_ram.ld coreboot_ram.o
>>>>> collect2: ld terminated with signal 11 [Segmentation fault]
>>>>> make[1]: *** [coreboot_ram] Error 1
>>>>> make[1]: Leaving directory
>>>>> `/home/joe/coreboot-v2/util/abuild/coreboot-builds/via_epia/normal'
>>>>> make: *** [normal/coreboot.rom] Error 1
>>>>> ------------------------
>>>>>
>>>>> Here is my version info:
>>>>> $ ld -v
>>>>> GNU ld version 2.17.50.0.18-1 20070731
>>>>> $ gcc -v
>>>>> Using built-in specs.
>>>>> Target: x86_64-redhat-linux
>>>>> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>>>>> --infodir=/usr/share/info --enable-shared --enable-threads=posix
>>>>> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
>>>>> --disable-libunwind-exceptions
>>>>> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
>>>>> --enable-java-awt=gtk --disable-dssi --enable-plugin
>>>>> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
>>>>> --enable-libgcj-multifile --enable-java-maintainer-mode
>>>>> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic
>>>>> --host=x86_64-redhat-linux
>>>>> Thread model: posix
>>>>> gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
>>>>>
>>>>> What gives???
>>>>>
>>>>>
>>>> That's the ld bug Marc hit as well. I think it is specific to one 
>>>> Fedora
>>>> version. Maybe it helps to open a bug in the Fedora bugzilla.
>>>> One of Marc's patches had a workaround for that segfault as well.
>>>>
>>>> Regards,
>>>> Carl-Daniel
>>>>
>>>>
>>> It wouldn't be x86_64 related would it?
>>>
>>
>> No idea.
>>
>> Marc?
>>
> Hmm, after some reading and investigation, I think this maybe a bug in 
> binutils. Looks like other people have had the same problem, I found a 
> few bugs in their bugzilla. Still searching for a cure, Marc?
>
>
> Thanks - Joe




More information about the coreboot mailing list