[coreboot] Please advise: (new toolkit) crossgcc fails on ubuntu 32/64 bit fresh installs

Mark Mc markymcd13 at gmail.com
Sun Sep 8 16:27:26 CEST 2013


Unfortunately it wont compile the rom without crossgcc compiling for both
platforms, my crossgcc-build.log ends with and appears to have no other
failures than:

cc1: fatal error: .vis: No such file or directory
compilation terminated.
make[5]: *** [libunwind.o] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-target-libgcc] Error 2
/usr/bin/install: cannot stat ‘libgcc.a’: No such file or directory
make[3]: *** [install-leaf] Error 1
make[2]: *** [install-target-libgcc] Error 2

Is there any way to exclude crossgcc for compiling for armv7?

---------- Forwarded message ----------
From: Andrew Wu <andrewwu.tw at gmail.com>
Date: Sun, Sep 8, 2013 at 6:56 AM
Subject: Re: [coreboot] Please advise: (new toolkit) crossgcc fails on
ubuntu 32/64 bit fresh installs
To: Mark Mc <markymcd13 at gmail.com>


Hi,

I remember that crossgcc will output error log into file
util/crossgcc/build-gcc/crossgcc-build.log , you can check it first.

Also it seems crossgcc for i386-elf target is already successfully
built, only armv7 is failed. If you don't need to build ARM target, I
think you can ignore it.

2013/9/8 Mark Mc <markymcd13 at gmail.com>:
> Hi, just checking if anyone has any experience with this problem, my
output
> is:
>
> :~/coreboot$ make crossgcc
> Warning: no suitable GCC for armv7.
> Welcome to the coreboot cross toolchain builder v1.22 (July 9th, 2013)
>
> Target arch is now i386-elf
> Will skip GDB ... ok
> Downloading tar balls ...
>  * gmp-5.1.2.tar.bz2 (downloading)
>  * mpfr-3.1.2.tar.bz2 (downloading)
>  * mpc-1.0.1.tar.gz (downloading)
>  * libelf-0.8.13.tar.gz (downloading)
>  * gcc-4.8.1.tar.bz2 (downloading)
>  * binutils-2.23.2.tar.bz2 (downloading)
>  * acpica-unix-20130626.tar.gz (downloading)
> Downloaded tar balls ... ok
> Unpacking and patching ...
>  * gmp-5.1.2.tar.bz2
>  * mpfr-3.1.2.tar.bz2
>  * mpc-1.0.1.tar.gz
>  * libelf-0.8.13.tar.gz
>  * gcc-4.8.1.tar.bz2
>  * binutils-2.23.2.tar.bz2
>    o binutils-2.23.2_armv7a.patch
>    o binutils-2.23.2_no-bfd-doc.patch
>  * acpica-unix-20130626.tar.gz
> Unpacked and patched ... ok
> Building GMP 5.1.2 ... ok
> Building MPFR 3.1.2 ... ok
> Building MPC 1.0.1 ... ok
> Building libelf 0.8.13 ... ok
> Building binutils 2.23.2 ... ok
> Building GCC 4.8.1 ... ok
> Skipping Expat (Python scripting not enabled)
> Skipping Python (Python scripting not enabled)
> Skipping GDB (GDB support not enabled)
> Building IASL 20130626 ... ok
> Cleaning up... ok
>
> You can now run your i386-elf cross toolchain from
> /home/mark/coreboot/util/crossgcc/xgcc.
> Welcome to the coreboot cross toolchain builder v1.22 (July 9th, 2013)
>
> Target arch is now armv7a-eabi
> Will skip GDB ... ok
> Downloading tar balls ...
>  * gmp-5.1.2.tar.bz2 (cached)
>  * mpfr-3.1.2.tar.bz2 (cached)
>  * mpc-1.0.1.tar.gz (cached)
>  * libelf-0.8.13.tar.gz (cached)
>  * gcc-4.8.1.tar.bz2 (cached)
>  * binutils-2.23.2.tar.bz2 (cached)
>  * acpica-unix-20130626.tar.gz (cached)
> Downloaded tar balls ... ok
> Unpacking and patching ...
>  * gmp-5.1.2.tar.bz2
>  * mpfr-3.1.2.tar.bz2
>  * mpc-1.0.1.tar.gz
>  * libelf-0.8.13.tar.gz
>  * gcc-4.8.1.tar.bz2
>  * binutils-2.23.2.tar.bz2
>    o binutils-2.23.2_armv7a.patch
>    o binutils-2.23.2_no-bfd-doc.patch
>  * acpica-unix-20130626.tar.gz
> Unpacked and patched ... ok
> Building GMP 5.1.2 ... ok
> Building MPFR 3.1.2 ... ok
> Building MPC 1.0.1 ... ok
> Building libelf 0.8.13 ... ok
> Building binutils 2.23.2 ... ok
> Building GCC 4.8.1 ... failed
> make[1]: *** [build-without-gdb] Error 1
> make: *** [crossgcc] Error 2
>
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20130908/3af59774/attachment.html>


More information about the coreboot mailing list