[coreboot] Building ARM toolchain fails with `cc1: fatal error: .vis: No such file or directory`

Paul Menzel paulepanter at users.sourceforge.net
Thu Feb 26 02:04:52 CET 2015


Dear coreboot folks,


I forgot to attach the log file.


Am Donnerstag, den 26.02.2015, 01:24 +0100 schrieb Paul Menzel:

> Am Sonntag, den 08.09.2013, 15:27 +0100 schrieb Mark Mc:
> > 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
> 
> trying to build the recommended toolchain for Google Rush, I am hitting
> the same problem in latest master at commit 6529c33a (build: mipsel
> cross compiler support).
> 
> `make crossgcc-aarch64` succeeds, but `make crossgcc-arm` fails.
> 
>         $ make crossgcc-arm
>         Warning: no suitable GCC for arm.
>         Warning: no suitable GCC for arm64.
>         Warning: no suitable GCC for riscv.
>         Warning: no suitable GCC for mipsel.
>         fatal: Repository '/home/paul/src/nvidia-cbootimage.git' existiert nicht.
>         Klonen von '/home/paul/src/nvidia-cbootimage.git' in Submodul-Pfad 'util/nvidia/cbootimage' fehlgeschlagen
>         Welcome to the coreboot cross toolchain builder v1.26 (February 23th, 2015)
>         
>                 Target arch is now armv7-a-eabi
>                 Will skip GDB ... ok
>                 Downloading tar balls ... 
>                  * gmp-5.1.2.tar.bz2 (downloading)
>                  * mpfr-3.1.2.tar.bz2 (downloading)
>                  * mpc-1.0.3.tar.gz (downloading)
>                  * libelf-0.8.13.tar.gz (downloading)
>                  * gcc-4.8.3.tar.bz2 (downloading)
>                  * binutils-2.23.2.tar.bz2 (downloading)
>                  * acpica-unix-20140114.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.3.tar.gz
>                  * libelf-0.8.13.tar.gz
>                  * gcc-4.8.3.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-20140114.tar.gz
>                 Unpacked and patched ... ok
>                 Building GMP 5.1.2 ... ok
>                 Building MPFR 3.1.2 ... ok
>                 Building MPC 1.0.3 ... ok
>                 Building libelf 0.8.13 ... ok
>                 Building binutils 2.23.2 ... ok
>                 Building GCC 4.8.3 ... failed
>                 Makefile:21: recipe for target 'build-armv7a-without-gdb' failed
>                 make[1]: *** [build-armv7a-without-gdb] Error 1
>                 Makefile.inc:455: recipe for target 'crossgcc-arm' failed
>                 make: *** [crossgcc-arm] Error 2
> 
> Please find the log attached. I am using Debian Sid/unstable.
> 
>         $ more util/crossgcc/build-armv7-a-eabi-gcc/crossgcc-build.log
>         configure.ac:34: error: Please use exactly Autoconf 2.64 instead of 2.69.
>         config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
>         configure.ac:34: the top level
>         […]
>         config.status: executing default commands
>         Adding multilib support to Makefile in ../../../../gcc-4.8.3/libgcc
>         with_multisubdir=fpu
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:97:1: warning: no previous prototype for '__gnu_h2f_internal' [-Wmissing-prototypes]
>          __gnu_h2f_internal(unsigned short a, int ieee)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:122:1: warning: no previous prototype for '__gnu_f2h_ieee' [-Wmissing-prototypes]
>          __gnu_f2h_ieee(unsigned int a)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:128:1: warning: no previous prototype for '__gnu_h2f_ieee' [-Wmissing-prototypes]
>          __gnu_h2f_ieee(unsigned short a)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:134:1: warning: no previous prototype for '__gnu_f2h_alternative' [-Wmissing-prototypes]
>          __gnu_f2h_alternative(unsigned int x)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:140:1: warning: no previous prototype for '__gnu_h2f_alternative' [-Wmissing-prototypes]
>          __gnu_h2f_alternative(unsigned short a)
>          ^
>         In file included from ../../../../gcc-4.8.3/libgcc/config/arm/unwind-arm.c:143:0:
>         ../../../../gcc-4.8.3/libgcc/unwind-arm-common.inc: In function 'get_eit_entry':
>         ../../../../gcc-4.8.3/libgcc/unwind-arm-common.inc:245:29: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>                ucbp->pr_cache.ehtp = (_Unwind_EHT_Header *)&eitp->content;
>                                      ^
>         cc1: fatal error: .vis: No such file or directory
>         compilation terminated.
>         ../../../../gcc-4.8.3/libgcc/static-object.mk:28: recipe for target 'libunwind.o' failed
>         make[5]: *** [libunwind.o] Error 1
>         Makefile:1104: recipe for target 'multi-do' failed
>         make[4]: *** [multi-do] Error 1
>         Makefile:113: recipe for target 'all-multi' failed
>         make[3]: *** [all-multi] Error 2
>         Makefile:9962: recipe for target 'all-target-libgcc' failed
>         make[2]: *** [all-target-libgcc] Error 2
>         /usr/bin/install: der Aufruf von stat für „libgcc.a“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
>         Makefile:1066: recipe for target 'install-leaf' failed
>         make[3]: *** [install-leaf] Error 1
>         Makefile:10024: recipe for target 'install-target-libgcc' failed
>         make[config.status: executing default commands
>         Adding multilib support to Makefile in ../../../../gcc-4.8.3/libgcc
>         with_multisubdir=fpu
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S: Assembler messages:
>         ../../../../gcc-4.8.3/libgcc/config/arm/lib1funcs.S:351: use of r15 in bx in ARM mode is not really useful
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:97:1: warning: no previous prototype for '__gnu_h2f_internal' [-Wmissing-prototypes]
>          __gnu_h2f_internal(unsigned short a, int ieee)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:122:1: warning: no previous prototype for '__gnu_f2h_ieee' [-Wmissing-prototypes]
>          __gnu_f2h_ieee(unsigned int a)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:128:1: warning: no previous prototype for '__gnu_h2f_ieee' [-Wmissing-prototypes]
>          __gnu_h2f_ieee(unsigned short a)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:134:1: warning: no previous prototype for '__gnu_f2h_alternative' [-Wmissing-prototypes]
>          __gnu_f2h_alternative(unsigned int x)
>          ^
>         ../../../../gcc-4.8.3/libgcc/config/arm/fp16.c:140:1: warning: no previous prototype for '__gnu_h2f_alternative' [-Wmissing-prototypes]
>          __gnu_h2f_alternative(unsigned short a)
>          ^
>         In file included from ../../../../gcc-4.8.3/libgcc/config/arm/unwind-arm.c:143:0:
>         ../../../../gcc-4.8.3/libgcc/unwind-arm-common.inc: In function 'get_eit_entry':
>         ../../../../gcc-4.8.3/libgcc/unwind-arm-common.inc:245:29: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>                ucbp->pr_cache.ehtp = (_Unwind_EHT_Header *)&eitp->content;
>                                      ^
>         cc1: fatal error: .vis: No such file or directory
>         compilation terminated.
>         ../../../../gcc-4.8.3/libgcc/static-object.mk:28: recipe for target 'libunwind.o' failed
>         make[5]: *** [libunwind.o] Error 1
>         Makefile:1104: recipe for target 'multi-do' failed
>         make[4]: *** [multi-do] Error 1
>         Makefile:113: recipe for target 'all-multi' failed
>         make[3]: *** [all-multi] Error 2
>         Makefile:9962: recipe for target 'all-target-libgcc' failed
>         make[2]: *** [all-target-libgcc] Error 2
>         /usr/bin/install: der Aufruf von stat für „libgcc.a“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
>         Makefile:1066: recipe for target 'install-leaf' failed
>         make[3]: *** [install-leaf] Error 1
>         Makefile:10024: recipe for target 'install-target-libgcc' failed
>         make[2]: *** [install-target-libgcc] Error 22]: *** [install-target-libgcc] Error 2
> 
> […]
>
>
> Thanks,
> 
> Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 35425 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150226/6a7be41b/attachment-0002.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.status
Type: application/x-shellscript
Size: 35106 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150226/6a7be41b/attachment-0001.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crossgcc-build.log
Type: text/x-log
Size: 140126 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150226/6a7be41b/attachment-0003.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150226/6a7be41b/attachment-0001.asc>


More information about the coreboot mailing list