This is the mail archive of the gcc@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]

Re: r112028 - in /trunk: configure gcc/fortran/Chan...


On Mon, 2006-03-13 22:49:57 -0000, pault@gcc.gnu.org <pault@gcc.gnu.org> wrote:
> Author: pault
> Date: Mon Mar 13 22:49:56 2006
> New Revision: 112028
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112028
> 2006-03-13  Paul Thomas  <pault@gcc.gnu.org>
> 
> Modified:
>     trunk/configure
[...]
-
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13 
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+# Generated by GNU Autoconf 2.59.
 #
+# Copyright (C) 2003 Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
[...]

It seems this broke building a cross-compiled native compiler for me
(vax-linux-uclibc target) during 'make all-gcc'
(target=host=vax-linux-uclibc, build=i686-linux):

gcc -c -DIN_GCC   -static  -DGENERATOR_FILE -I. -Ibuild -I/tmp/build-temp-vax-linux-uclibc/src/gcc/gcc -I/tmp/build-temp-vax-linux-uclibc/src/gcc/gcc/build -I/tmp/build-temp-vax-linux-uclibc/src/gcc/gcc/../include -I/tmp/build-temp-vax-linux-uclibc/src/gcc/gcc/../libcpp/include  -I/tmp/build-temp-vax-linux-uclibc/src/gcc/gcc/../libdecnumber -I../libdecnumber    -o build/errors.o /tmp/build-temp-vax-linux-uclibc/src/gcc/gcc/errors.c
gcc -DIN_GCC   -static  -DGENERATOR_FILE  -o build/genmodes \
            build/genmodes.o build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a
/usr/bin/ld: ../build-i686-pc-linux-gnu/libiberty/libiberty.a(hashtab.o): Relocations in generic ELF (EM: 75)
/usr/bin/ld: ../build-i686-pc-linux-gnu/libiberty/libiberty.a(hashtab.o): Relocations in generic ELF (EM: 75)
../build-i686-pc-linux-gnu/libiberty/libiberty.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [build/genmodes] Error 1
make[1]: Leaving directory `/tmp/build-temp-vax-linux-uclibc/build/gcc1-native/gcc'
make: *** [all-gcc] Error 2
#-Stop  at 20060313-233751-UTC with ret=2 in /tmp/build-temp-vax-linux-uclibc/build/gcc1-native: make all-gcc


It seems it is now building/linking libiberty compiled for the build
system, not for the host system:-)

Last known successfull build log:
	http://lug-owl.de/~jbglaw/gcc-buildlog/build-vax-linux-uclibc.ack

Failed build:
	http://lug-owl.de/~jbglaw/gcc-buildlog/build-vax-linux-uclibc.nack

This was configured with:

        CC="vax-linux-uclibc-gcc" LDFLAGS=-static CFLAGS=-static	\
                ac_cv_func_strncmp_works=yes				\
                        execute "${GCC_SRC}/configure"			\
                        --disable-multilib				\
                        --with-newlib					\
                        --disable-nls					\
                        --enable-threads=no				\
                        --disable-threads				\
                        --enable-symvers=gnu				\
                        --enable-__cxa_atexit				\
                        --disable-shared				\
                        --host="vax-linux-uclibc"			\
                        --build="`${BINUTILS_SRC}/config.guess`"	\
                        --host="vax-linux-uclibc"			\
                        --target="vax-linux-uclibc"			\
                        --prefix=/usr					\
                        --enable-languages="c"

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fÃr einen Freien Staat voll Freier BÃrger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


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