Quoting Marc Karasek Marc.Karasek@Sun.COM:
It was not specifically x86_64 related. It was however fedora 8 related. I think in my research that it has to do with the version of binutils. I had sent out a mail to the reflector with a link to another discussion group regarding binutils and a bug that looked like it was this. According to the thread, a patch had been submitted to the binutils tree to fix this issue. The version of binutils I have that shows this problem is 2.17.50.0.18-1 2007073. I am looking to upgrade to 2.18 as soon as it is avail (rpm) to see if this is fixed.
/********************* Marc Karasek MTS Sun Microsystems mailto:marc.karasek@sun.com ph:770.360.6415 *********************/
Carl-Daniel Hailfinger wrote:
On 23.01.2008 02:24, joe@smittys.pointclark.net wrote:
Quoting Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net:
On 23.01.2008 01:41, joe@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
I found someone that built binutils-2.18.50.0.3-1 rpms here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=27856
I will try it out and report back
Thanks - Joe