Re: Internal compiler error while compiling gcc 7.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Jonathan for your help!

It now compiles without problems.

However, when I run make -k check it get stuck for several hours at:

Running /home/hector/dwnld_prog/gcc-7.1.0/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp ... Running /home/hector/dwnld_prog/gcc-7.1.0/gcc/testsuite/gcc.dg/tsan/tsan.exp ...
WARNING: program timed out.

When I manually stop the program I get this summary:

got a INT signal, interrupted by user

                === gcc Summary ===

# of expected passes            105253
# of unexpected failures        311
# of unexpected successes       22
# of expected failures          199
# of unresolved testcases       2
# of unsupported tests          1611

What could be causing this problem?

Thanks for your help,

Hector


On 08/11/2017 05:52 PM, Jonathan Wakely wrote:
On 11 August 2017 at 22:43, Hector E Barrios Molano wrote:
Hello gcc community!

I'm trying to compile gcc 7.1.0 from source. I used gcc 5.1.0 and gcc 6.1.0
and got the same error. these are the steps I'm doing:

tar -zxvf gcc-7.1.0.tar.gz
mkdir gcc_obj
cd gcc_obj/
CC=gcc6 CXX=g++6 ../gcc-7.1.0/configure --prefix=$HOME/installed/gcc-7.1/
--enable-languages=c,c++,fortran --program-suffix=7
--with-gmp=$HOME/installed/ --with-mpc=$HOME/installed/
--with-mpfr=$HOME/installed/
Where GMP, MPC and MPFR compiled for the same hardware as you are
building on? One possibility is that they were compiled for a newer
x86 processor, and so use instructions that are not supported by the
machine you're building on.

You would avoid that kind of problem by not installing those libs
separately. See https://gcc.gnu.org/wikiInstallingGCC for how to make
it much easier.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux