This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/15562] New: libmudflap configure problems


$ uname -a
Linux tube.bath.ac.uk 2.6.5-gentoo-r1 #3 Fri May 7 12:23:41 BST 2004 x86_64 4 
GNU/Linux

$ grep version_string /usr/local/src/gcc-cvs/gcc/gcc/version.c
const char version_string[] = "3.5.0 20040520 (experimental)";

If I add the following hack to /usr/local/src/gcc-cvs/gcc/libmudflap/configure
to tell me a bit more about what is going on:

--- gcc/libmudflap/configure.orig       2004-05-21 12:16:47.000000000 +0100
+++ gcc/libmudflap/configure    2004-05-21 12:18:12.000000000 +0100
@@ -79,6 +79,8 @@
     continue
   fi
 
+  echo "$ac_option"
+
   case "$ac_option" in
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
   *) ac_optarg= ;;


then do

$ /usr/local/src/gcc-cvs/gcc/configure --prefix=/usr/local/gcc-cvs
--enable-languages=c,c++,f95 --with-gmp=/usr/local

[...]

$ make bootsrap

[...]

Configuring in x86_64-unknown-linux-gnu/libmudflap
--cache-file=./config.cache
--host=
--build=
--enable-multilib
--prefix=/usr/local/gcc-cvs
--enable-languages=c,c++,f95
--with-gmp=/usr/local
CC=gcc
configure: warning: CC=gcc: invalid host type
--with-gcc-version-trigger=/usr/local/src/gcc-cvs/gcc/gcc/version.c
--enable-languages=c,c++,f95
--program-transform-name=s,y,y,
--srcdir=/usr/local/src/gcc-cvs/gcc/libmudflap
--with-target-subdir=x86_64-unknown-linux-gnu
loading cache ./config.cache
checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.

checking target system type... Invalid configuration `CC=gcc': machine `CC=gcc' 
not recognized

checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.

checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for gcc... (cached) /home/roger/build/gcc/xgcc -B/home/roger/build/gcc/
 -B/usr/local/gcc-cvs//bin/ -B/usr/local/gcc-cvs//lib/ -isystem /usr/local/gcc-c
vs//include -isystem /usr/local/gcc-cvs//sys-include
checking whether the C compiler (/home/roger/build/gcc/xgcc -B/home/roger/build/
gcc/ -B/usr/local/gcc-cvs//bin/ -B/usr/local/gcc-cvs//lib/ -isystem /usr/local/g
cc-cvs//include -isystem /usr/local/gcc-cvs//sys-include -O2 -g -O2 ) works... y
es
checking whether the C compiler (/home/roger/build/gcc/xgcc -B/home/roger/build/
gcc/ -B/usr/local/gcc-cvs//bin/ -B/usr/local/gcc-cvs//lib/ -isystem /usr/local/g
cc-cvs//include -isystem /usr/local/gcc-cvs//sys-include -O2 -g -O2 ) is a cross
-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether /home/roger/build/gcc/xgcc -B/home/roger/build/gcc/ -B/usr/loca
l/gcc-cvs//bin/ -B/usr/local/gcc-cvs//lib/ -isystem /usr/local/gcc-cvs//include 
-isystem /usr/local/gcc-cvs//sys-include accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) /home/roger/build/gcc/xgcc -B
/home/roger/build/gcc/ -B/usr/local/gcc-cvs//bin/ -B/usr/local/gcc-cvs//lib/ -is
ystem /usr/local/gcc-cvs//include -isystem /usr/local/gcc-cvs//sys-include -E
checking whether dlsym(RTLD_NEXT,...) is available... yes
checking for stdint.h... (cached) yes
checking for execinfo.h... (cached) yes
checking for signal.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for backtrace... (cached) yes
checking for backtrace_symbols... (cached) yes
checking for gettimeofday... (cached) yes
checking for signal... (cached) yes
checking for fopen64... (cached) yes
checking for fseeko64... (cached) yes
checking for ftello64... (cached) yes
checking for stat64... (cached) yes
checking for socklen_t in sys/socket.h... yes
checking for ld used by GCC... (cached) ld
checking if the linker (ld) is GNU ld... (cached) yes
checking for ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) nm
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... unknown
checking for object suffix... (cached) o
checking for -ranlib... (cached) ranlib
checking for -strip... (cached) strip
loading cache ./config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/home/roger/build'
make: *** [bootstrap] Error 2
$ 

If I then explicitly define host, build and target, I get:

$ rm `find . -name config.cache`
$ /usr/local/src/gcc-cvs/gcc/configure --prefix=/usr/local/gcc-cvs
--enable-languages=c,c++,f95 --with-gmp=/usr/local
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
--target=x86_64-unknown-linux-gnu

[...]

$ make bootstrap

[...]

Configuring in x86_64-unknown-linux-gnu/libmudflap
--cache-file=./config.cache
--host=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu
--enable-multilib
--prefix=/usr/local/gcc-cvs
--enable-languages=c,c++,f95
--with-gmp=/usr/local
--host=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu
--target=x86_64-unknown-linux-gnu
CC=gcc
configure: warning: CC=gcc: invalid host type
build_alias=x86_64-unknown-linux-gnu
configure: warning: build_alias=x86_64-unknown-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/home/roger/build'
make: *** [bootstrap] Error 2



Similar messages get reported for i686-pc-linux-gnu.

-- 
           Summary: libmudflap configure problems
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: r at rogerh-c dot demon dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]