This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12071] New: make assumes that binutils are installed
- From: "sean at mcneil dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2003 17:11:57 -0000
- Subject: [Bug libstdc++/12071] New: make assumes that binutils are installed
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12071
Summary: make assumes that binutils are installed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sean at mcneil dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386-unknown-freebsd4.8
GCC target triplet: mips-wrs-vxworks
When compiling a fresh cross, libstdc++ assumes that the binutils have already
been installed. This is evident in the fact that gcc and libgcc all build fine
yet configure looks for things incorrectly:
Configuring in mips-wrs-vxworks/libstdc++-v3
configure: creating cache ../config.cache
checking build system type... i386-unknown-freebsd4.8
checking host system type... mips-wrs-vxworks
checking target system type... mips-wrs-vxworks
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for mips-wrs-vxworks-strip... no
checking for strip... strip
checking for mips-wrs-vxworks-gcc...
/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/xgcc
-B/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/bin/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/lib/ -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/include -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/sys-include
-L/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/ld
checking for C compiler default output... configure: error: C compiler cannot
create executables
See `config.log' for more details.
config.log shows that the configure failed as:
configure:2309: checking for C compiler version
configure:2312: /home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/xgcc
-B/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/bin/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/lib/ -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/include -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/sys-include
-L/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/ld --version </dev/null >&5
xgcc (GCC) 3.4 20030826 (experimental) VxWorks 5.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2315: $? = 0
configure:2317: /home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/xgcc
-B/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/bin/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/lib/ -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/include -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/sys-include
-L/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/ld -v </dev/null >&5
Reading specs from /home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/specs
Configured with: '/home/sean/gnu/sources/configure'
'--srcdir=/home/sean/gnu/sources '--prefix=/home/wind/host/x86-freebsd
'--without-x '--disable-gdbtk '--target=mips-wrs-vxworks
'--enable-languages=c,c++,f77
Thread model: vxworks
gcc version 3.4 20030826 (experimental) VxWorks 5.5
configure:2320: $? = 0
configure:2322: /home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/xgcc
-B/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/bin/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/lib/ -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/include -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/sys-include
-L/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/ld -V </dev/null >&5
xgcc: `-V' must come at the start of the command line
configure:2325: $? = 1
configure:2349: checking for C compiler default output
configure:2352: /home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/xgcc
-B/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/gcc/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/bin/
-B/home/wind/host/x86-freebsd/mips-wrs-vxworks/lib/ -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/include -isystem
/home/wind/host/x86-freebsd/mips-wrs-vxworks/sys-include
-L/home/sean/gnu/windriver/x86-freebsd/mips-wrs-vxworks/ld -O2 -g
-I/home/sean/gnu/windriver/include -I/home/wind/target/h -include
/home/sean/gnu/windriver/include/cpuHack.h -O2 -g
-I/home/sean/gnu/windriver/include -I/home/wind/target/h -include
/home/sean/gnu/windriver/include/cpuHack.h conftest.c >&5
collect2: cannot find `ld'