This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error compiling gcc 5.3.0 on Red Hat Linux 6
- From: Irena Johnson <ijohnson at pppl dot gov>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Apr 2016 10:32:56 -0400
- Subject: error compiling gcc 5.3.0 on Red Hat Linux 6
- Authentication-results: sourceware.org; auth=none
Dear GCC Support,
I am not able to compile gcc-5.3.0 on our system (running Red Hat
Enterprise Linux Workstation release 6.5).
Configuration runs successfully.
./configure --program-suffix=5 --prefix=/usr/pppl/gcc/5.3.0
--with-gmp=$GMP_HOME --with-mpfr=$MPFR_HOME --with-mpc=$MPC_HOME
--enable-multilib --enable-bootstrap 2>&1 |tee log.config
make BOOT_CFLAGS='-O' bootstrap 2>&1 |tee log.make
I am getting the following error while compiling:
make[4]: Entering directory
`/pfs/tmp/ijohnson/gcc-5.3.0/host-x86_64-unknown-linux-gnu/zlib'
if [ -z "32" ]; then \
true; \
else \
rootpre=`${PWDCMD-pwd}`/; export rootpre; \
srcrootpre=`cd ../.././zlib; ${PWDCMD-pwd}`/; export srcrootpre; \
lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="gcc"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make \
CFLAGS="-g ${flags}" \
CCASFLAGS=" ${flags}" \
FCFLAGS=" ${flags}" \
FFLAGS=" ${flags}" \
ADAFLAGS=" ${flags}" \
prefix="/usr/pppl/gcc/5.3.0" \
exec_prefix="/usr/pppl/gcc/5.3.0" \
GCJFLAGS=" ${flags}" \
GOCFLAGS=" ${flags}" \
CXXFLAGS="-g ${flags}" \
LIBCFLAGS=" ${flags}" \
LIBCXXFLAGS="-g -O2
-fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
MULTIFLAGS="${flags}" \
DESTDIR="" \
INSTALL="/usr/bin/install -c" \
INSTALL_DATA="/usr/bin/install -c -m 644" \
INSTALL_PROGRAM="/usr/bin/install -c" \
INSTALL_SCRIPT="/usr/bin/install -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[5]: Entering directory
`/pfs/tmp/ijohnson/gcc-5.3.0/host-x86_64-unknown-linux-gnu/32/zlib'
make[5]: *** No rule to make target `all'. Stop.
make[5]: Leaving directory
`/pfs/tmp/ijohnson/gcc-5.3.0/host-x86_64-unknown-linux-gnu/32/zlib'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/pfs/tmp/ijohnson/gcc-5.3.0/host-x86_64-unknown-linux-gnu/zlib'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/pfs/tmp/ijohnson/gcc-5.3.0/host-x86_64-unknown-linux-gnu/zlib'
make[2]: *** [all-stage1-zlib] Error 2
make[2]: Leaving directory `/pfs/tmp/ijohnson/gcc-5.3.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/pfs/tmp/ijohnson/gcc-5.3.0'
make: *** [bootstrap] Error 2
Thank you,
Irena