http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55915

Yves Caniou <yves.can...@ens-lyon.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yves.can...@ens-lyon.fr

--- Comment #3 from Yves Caniou <yves.can...@ens-lyon.fr> ---
I have the same problem when compiling gcc-4.8.2 with gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) on Xeon(R) CPU W3670  @ 3.20GHz
Note that with the exact same process, I have been able to compile gcc-4.8.2
with gcc 4.7.2 (debian).

I use gmp-5.1.3, mpfr-3.1.2, mpc-1.0.1. They are not intree.
Once compiled, their respective prefix/lib are added to LD_LIBRARY_PATH.
Gcc source is copied local disk, so no NFS or such.
I call:
/tmp/YC/gcc/src-4.8.2/configure --host=x86_64-linux-gnu
--build=x86_64-linux-gnu --prefix=/home/ycaniou/bin/amd64/4.6.3/gcc
--disable-altivec --disable-fixed-point --without-cloog --without-ppl
--disable-lto --enable-nls --without-included-gettext --with-system-zlib
--enable-obsolete --disable-werror --enable-secureplt --disable-multilib
--enable-libmudflap --disable-libssp --enable-libgomp --enable-checking=release
--disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-targets=all
--with-gmp=/home/ycaniou/bin/amd64/4.6.3/gmp
--with-mpfr=/home/ycaniou/bin/amd64/4.6.3/mpfr
--with-mpc=/home/ycaniou/bin/amd64/4.6.3/mpc

Calling "make -j 12" ends with:
[...]
x86_64-linux-gnu-g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/tmp/YC/gcc/src-4.8.2/gcc
-I/tmp/YC/gcc/src-4.8.2/gcc/. -I/tmp/YC/gcc/src-4.8.2/gcc/../include
-I/tmp/YC/gcc/src-4.8.2/gcc/../libcpp/include
-I/home/ycaniou/bin/amd64/4.6.3/gmp/include
-I/home/ycaniou/bin/amd64/4.6.3/mpfr/include
-I/home/ycaniou/bin/amd64/4.6.3/mpc/include 
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber/bid -I../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libbacktrace   
/tmp/YC/gcc/src-4.8.2/gcc/lto-compress.c -o lto-compress.o
/tmp/YC/gcc/src-4.8.2/gcc/lto-compress.c:28:18: fatal error: zlib.h: No such
file or directory
compilation terminated.
x86_64-linux-gnu-g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/tmp/YC/gcc/src-4.8.2/gcc
-I/tmp/YC/gcc/src-4.8.2/gcc/. -I/tmp/YC/gcc/src-4.8.2/gcc/../include
-I/tmp/YC/gcc/src-4.8.2/gcc/../libcpp/include
-I/home/ycaniou/bin/amd64/4.6.3/gmp/include
-I/home/ycaniou/bin/amd64/4.6.3/mpfr/include
-I/home/ycaniou/bin/amd64/4.6.3/mpc/include 
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber/bid -I../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libbacktrace    /tmp/YC/gcc/src-4.8.2/gcc/mcf.c
-o mcf.o
x86_64-linux-gnu-g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/tmp/YC/gcc/src-4.8.2/gcc
-I/tmp/YC/gcc/src-4.8.2/gcc/. -I/tmp/YC/gcc/src-4.8.2/gcc/../include
-I/tmp/YC/gcc/src-4.8.2/gcc/../libcpp/include
-I/home/ycaniou/bin/amd64/4.6.3/gmp/include
-I/home/ycaniou/bin/amd64/4.6.3/mpfr/include
-I/home/ycaniou/bin/amd64/4.6.3/mpc/include 
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber/bid -I../libdecnumber
-I/tmp/YC/gcc/src-4.8.2/gcc/../libbacktrace   
/tmp/YC/gcc/src-4.8.2/gcc/mode-switching.c -o mode-switching.o
make[3]: *** [lto-compress.o] Error 1

Reply via email to