https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66356

            Bug ID: 66356
           Summary: Failure to bootstrap release version together with
                    binutils
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ojakubcik at gmail dot com
  Target Milestone: ---

Created attachment 35660
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35660&action=edit
builddir/intl/config.log

I have downloaded release of GCC 5.1.0, together with binutils 2.25, GMP
6.0.0a, ISL 0.14, MPC 1.0.3 and MPFR 3.1.2. I followed this procedure:

tar -xvf binutils-2.25.tar.bz2
tar -xvf gcc-5.1.0.tar.bz2
tar -xvf gmp-6.0.0a.tar.lz
tar -xvf isl-0.14.tar.bz2
tar -xvf mpc-1.0.3.tar.gz
tar -xvf mpfr-3.1.2.tar.xz

rootdir=`pwd`
ln -s $rootdir/gmp-6.0.0 gcc-5.1.0/gmp
ln -s $rootdir/isl-0.14 gcc-5.1.0/isl
ln -s $rootdir/mpc-1.0.3 gcc-5.1.0/mpc
ln -s $rootdir/mpfr-3.1.2 gcc-5.1.0/mpfr
ln -s $rootdir/binutils-2.25/bfd gcc-5.1.0/bfd
ln -s $rootdir/binutils-2.25/binutils gcc-5.1.0/binutils
ln -s $rootdir/binutils-2.25/gas gcc-5.1.0/gas
ln -s $rootdir/binutils-2.25/gold gcc-5.1.0/gold
ln -s $rootdir/binutils-2.25/gprof gcc-5.1.0/gprof
ln -s $rootdir/binutils-2.25/ld gcc-5.1.0/ld
ln -s $rootdir/binutils-2.25/opcodes gcc-5.1.0/opcodes

mkdir gcc51-build
cd gcc51-build
../gcc-5.1.0/configure --prefix=/opt/gcc-5.1
make bootstrap


The following error (shortened) is on the output:

make[3]: Entering directory `/home/ojakubcik/Downloads/gcc51-build'
rm -f stage_current
make[3]: Leaving directory `/home/ojakubcik/Downloads/gcc51-build'
make[2]: Leaving directory `/home/ojakubcik/Downloads/gcc51-build'
make[2]: Entering directory `/home/ojakubcik/Downloads/gcc51-build'
Configuring stage 2 in ./intl
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for x86_64-unknown-linux-gnu-gcc... 
/home/ojakubcik/Downloads/gcc51-build/./prev-gcc/xgcc
-B/home/ojakubcik/Downloads/gcc51-build/./prev-gcc/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/bin/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/bin/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/lib/ -isystem
/opt/gcc-5.1/x86_64-unknown-linux-gnu/include -isystem
/opt/gcc-5.1/x86_64-unknown-linux-gnu/sys-include
-L/home/ojakubcik/Downloads/gcc51-build/./ld   
checking for C compiler default output file name... 
configure: error: in `/home/ojakubcik/Downloads/gcc51-build/intl':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage2-intl] Error 77
make[2]: Leaving directory `/home/ojakubcik/Downloads/gcc51-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/ojakubcik/Downloads/gcc51-build'
make: *** [bootstrap] Error 2

The config.log file mentioned contains suspect:
configure:2978: checking for C compiler default output file name
configure:3000:  /home/ojakubcik/Downloads/gcc51-build/./prev-gcc/xgcc
-B/home/ojakubcik/Downloads/gcc51-build/./prev-gcc/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/bin/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/bin/
-B/opt/gcc-5.1/x86_64-unknown-linux-gnu/lib/ -isystem
/opt/gcc-5.1/x86_64-unknown-linux-gnu/include -isystem
/opt/gcc-5.1/x86_64-unknown-linux-gnu/sys-include
-L/home/ojakubcik/Downloads/gcc51-build/./ld    -g -O2 -gtoggle 
-static-libstdc++ -static-libgcc  conftest.c  >&5
/home/ojakubcik/Downloads/gcc51-build/./prev-gcc/as: 106: exec:
/home/ojakubcik/Downloads/gcc51-build/./gas/as-new: not found
configure:3004: $? = 1

config.log is attached.

Reply via email to