#187: Latest Coreboot Won't Build On Rathat 5.8... ------------------------------------------------+-------------------------- Reporter: dralle1@… | Owner: stepan@… Type: defect | Status: new Priority: major | Milestone: Component: coreboot | Keywords: Dependencies: Lippert LX800, Redhat Linux 5.8 | Patch Status: there is | no patch ------------------------------------------------+-------------------------- I'm running Redhat Linux 5.8 with all the latest patches. Kernel is Version 2.6.18-308.8.2.el5PAE.
After running make menuconfig and selecting my Lippert LX800 and a few other parameters, I run a "make" and get the following error. I'm not sure what to do at this point.
Redhat Linux [coreboot-db2c400] ==> make GEN build.h CC romstage.inc POST romstage.inc GEN generated/crt0.romstage.S CC generated/crt0.s CC generated/crt0.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC arch/x86/lib/memcpy.romstage.o CC arch/x86/lib/memset.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC console/console.romstage.o CC console/die.romstage.o CC console/post.romstage.o CC console/vtxprintf.romstage.o CC drivers/oxford/oxpcie/oxpcie_early.romstage.o CC lib/cbfs.romstage.o CC lib/compute_ip_checksum.romstage.o CC lib/lzma.romstage.o CC lib/memchr.romstage.o CC lib/memcmp.romstage.o CC lib/memmove.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC lib/uart8250mem.romstage.o CC generated/bootblock.s CC generated/bootblock.o LINK cbfs/fallback/bootblock.debug collect2: ld terminated with signal 11 [Segmentation fault] make: *** [build/cbfs/"fallback"/bootblock.debug] Error 1
Thanks,
Matt Dralle
#187: Latest Coreboot Won't Build On Rathat 5.8... --------------------------+------------------------------------------------ Reporter: dralle1@… | Owner: stepan@… Type: defect | Status: new Priority: major | Milestone: Component: coreboot | Resolution: Keywords: | Dependencies: Lippert LX800, Redhat Linux 5.8 Patch Status: there is | no patch | --------------------------+------------------------------------------------
Comment (by stepan):
It sounds like the linker on your Linux distribution is broken. I suggest you build and use the reference tool chain:
$ cd util/crossgcc $ ./buildgcc $ cd ../.. $ rm .xcompile $ make
It would be nice to report the issue in the Redhat bug tracker, so they can fix it.
#187: Latest Coreboot Won't Build On Rathat 5.8... --------------------------+------------------------------------------------ Reporter: dralle1@… | Owner: stepan@… Type: defect | Status: new Priority: major | Milestone: Component: coreboot | Resolution: Keywords: | Dependencies: Lippert LX800, Redhat Linux 5.8 Patch Status: there is | no patch | --------------------------+------------------------------------------------
Comment (by stuge):
As an alternative, simply run:
{{{ $ make crossgcc }}}
to build the toolchain.
Thank you for the information. I tried this and it was working away, then died (see below).
BTW, the normal gcc on the system in question works for other builds including custom kernel builds, so the linker does work. Just not with the Coreboot make.
Linux# > buildgcc
Welcome to the coreboot cross toolchain builder v1.07 (November 1st, 2011)
Will skip GDB ... ok
Downloading tar balls ...
* gmp-5.0.5.tar.bz2 (cached)
* mpfr-3.1.0.tar.bz2 (cached)
* mpc-0.9.tar.gz (cached)
* libelf-0.8.13.tar.gz (cached)
* gcc-core-4.6.3.tar.bz2 (downloading)
* binutils-2.22.tar.bz2 (downloading)
* acpica-unix-20120420.tar.gz (downloading)
Downloaded tar balls ... ok
Unpacking and patching ...
* gmp-5.0.5.tar.bz2
* mpfr-3.1.0.tar.bz2
* mpc-0.9.tar.gz
* libelf-0.8.13.tar.gz
* gcc-core-4.6.3.tar.bz2
* binutils-2.22.tar.bz2
* acpica-unix-20120420.tar.gz
Unpacked and patched ... ok
Building GMP 5.0.5 ... ok
Building MPFR 3.1.0 ... ok
Building MPC 0.9 ... ok
Building libelf 0.8.13 ... ok
Building binutils 2.22 ... ok
Building GCC 4.6.3 ... ok
Skipping Expat (Python scripting not enabled)
Skipping Python (Python scripting not enabled)
Skipping GDB (GDB support not enabled)
Building IASL 20120420 ... failed
Matt
Matt Dralle | Software Engineer & Computer Communications Architect
ARGUS Development | Lawrence Livermore National Laboratory
7000 East Ave | PO Box 808 | L-054 | Livermore | California | 94550
925-422-4896 - Voice | 925-422-4896 - FAX | dralle@llnl.gov - Email
-----Original Message----- From: coreboot [mailto:svn@coreboot.org] Sent: Saturday, July 14, 2012 2:22 PM Cc: coreboot@coreboot.org; Dralle, Matt Subject: Re: [coreboot] #187: Latest Coreboot Won't Build On Rathat 5.8...
#187: Latest Coreboot Won't Build On Rathat 5.8...
--------------------------+------------------------------------------------
Reporter: dralle1@… | Owner: stepan@…
Type: defect | Status: new
Priority: major | Milestone:
Component: coreboot | Resolution:
Keywords: | Dependencies: Lippert LX800, Redhat Linux 5.8
Patch Status: there is |
no patch |
--------------------------+------------------------------------------------
Comment (by stuge):
As an alternative, simply run:
{{{
$ make crossgcc
}}}
to build the toolchain.
--
Ticket URL: https://tracker.coreboot.org/trac/coreboot/ticket/187#comment:2
coreboot http://www.coreboot.org/