gcc49 build fails on armv7h

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

gcc49 build fails on armv7h

Postby Plasmodium » Tue May 24, 2016 10:24 am

I'm trying to compile gcc49 from the AUR for the Jetson TK1. Same issues with or without a clean chroot.

$this->bbcode_second_pass_code('', '
configure: error: in `/home/sebastien/src/gcc49/src/gcc-build/intl':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:7149: recipe for target 'configure-stage2-intl' failed
make[2]: *** [configure-stage2-intl] Error 77
make[2]: *** Waiting for unfinished jobs....
yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for armv7l-unknown-linux-gnueabihf-gcc... /home/sebastien/src/gcc49/src/gcc-build/./prev-gcc/xgcc -B/home/sebastien/src/gcc49/src/gcc-build/./prev-gcc/ -B/usr/armv7l-unknown-linux-gnueabihf/bin/ -B/usr/armv7l-unknown-linux-gnueabihf/bin/ -B/usr/armv7l-unknown-linux-gnueabihf/lib/ -isystem /usr/armv7l-unknown-linux-gnueabihf/include -isystem /usr/armv7l-unknown-linux-gnueabihf/sys-include
checking whether the C compiler works... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
no
configure: error: in `/home/sebastien/src/gcc49/src/gcc-build/isl':
configure: error: C compiler cannot create executables
See `config.log' for more details
checking whether to enable maintainer-specific portions of Makefiles... no
checking for armv7l-unknown-linux-gnueabihf-gcc... /home/sebastien/src/gcc49/src/gcc-build/./prev-gcc/xgcc -B/home/sebastien/src/gcc49/src/gcc-build/./prev-gcc/ -B/usr/armv7l-unknown-linux-gnueabihf/bin/ -B/usr/armv7l-unknown-linux-gnueabihf/bin/ -B/usr/armv7l-unknown-linux-gnueabihf/lib/ -isystem /usr/armv7l-unknown-linux-gnueabihf/include -isystem /usr/armv7l-unknown-linux-gnueabihf/sys-include
checking for C compiler default output file name... Makefile:5229: recipe for target 'configure-stage2-isl' failed
make[2]: *** [configure-stage2-isl] Error 77
checking for perl... perl
checking build system type...
configure: error: in `/home/sebastien/src/gcc49/src/gcc-build/lto-plugin':
configure: error: C compiler cannot create executables
See `config.log' for more details.

..

checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:10708: recipe for target 'configure-stage2-libiberty' failed
make[2]: *** [configure-stage2-libiberty] Error 1
make[2]: Leaving directory '/home/sebastien/src/gcc49/src/gcc-build'
Makefile:21056: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/home/sebastien/src/gcc49/src/gcc-build'
Makefile:891: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
')

I'm really stuck here. Any suggestions would be much appreciated.
Plasmodium
 
Posts: 1
Joined: Tue May 24, 2016 9:15 am

Re: gcc49 build fails on armv7h

Postby ho9693 » Fri Jun 03, 2016 6:39 pm

What is the version of current gcc?
gcc 6.1 cannot compile gcc5.X or below...(I've try last month :| )
If you want gcc49, you can install ubuntu14.04 to a PC and used it to do cross-compiling.
ho9693
 
Posts: 2
Joined: Sun May 29, 2016 9:48 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 11 guests