This is the mail archive of the
crossgcc@sources.redhat.com
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
i686 to c3-2 crosstool build fails on setjmp
- From: Simon Poole <simon dot armlinux at themalago dot net>
- To: crossgcc <crossgcc at sources dot redhat dot com>
- Date: Tue, 26 Oct 2004 11:34:45 +0100
- Subject: i686 to c3-2 crosstool build fails on setjmp
I'm currently toying with taking advantage of the GCC -march=c3-2 option
to correctly target one of our builds for the VIA C3-2.
Building crosstool-0.28-rc37 fails during the main Glibc build at setjmp.S.
I'm building with the following parameters on an i686-pc-linux-gnu build
box:
BINUTILS_DIR=binutils-2.15
GCC_DIR=gcc-3.4.2
GLIBC_DIR=glibc-2.3.3
LINUX_DIR=linux-2.4.25
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3
GCC_LANGUAGES="c,c++"
TARGET_CFLAGS="-O"
TARGET=i686-c3_2-linux-gnu
GCC_EXTRA_CONFIG=--with-arch=c3-2 --enable-cxx-flags=-march=c3-2
The failure looks like this:
make[4]: Entering directory
`/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/glibc-2.3.3/setjmp'
.././scripts/mkinstalldirs
/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp
mkdir
/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp
i686-c3_2-linux-gnu-gcc ../sysdeps/i386/elf/setjmp.S -c -I../include
-I.
-I/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp
-I.. -I../libio
-I/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/tools.cross/i686-c3_2-linux-gnu/bin/../lib/gcc/i686-c3_2-linux-gnu/3.4.2/include
-isystem //tools.cross/i686-c3_2-linux-gnu/i686-c3_2-linux-gnu/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER
-DGAS_SYNTAX -Wa,--noexecstack -o
/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp/setjmp.o
-MD -MP -MF
/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp/setjmp.o.dt
../sysdeps/i386/elf/setjmp.S: Assembler messages:
../sysdeps/i386/elf/setjmp.S:63: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:64: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:65: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:66: Error: unrecognized symbol type ""
../sysdeps/i386/elf/setjmp.S:66: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:67: Error: junk at end of line, first
unrecognized character is `1'
../sysdeps/i386/elf/setjmp.S:70: Error: expected comma after name `' in
.size directive
make[4]: ***
[/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc/setjmp/setjmp.o]
Error 1
make[4]: Leaving directory
`/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/glibc-2.3.3/setjmp'
make[3]: *** [setjmp/subdir_lib] Error 2
make[3]: Leaving directory
`/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/glibc-2.3.3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/asl/thirdparty/packages/crosstool/crosstool-0.28-rc37/build/i686-c3_2-linux-gnu/gcc-3.4.2-glibc-2.3.3/build-glibc'
make[1]: *** [cross-toolchain] Error 2
make[1]: Leaving directory `/asl/thirdparty/packages/crosstool'
make: *** [crosstool] Error 2
Any advice on what steps to take?
* Have I done something wrong with my build setup?
* Should I be digging for a bug in GCC/glibc/binutils?
* Should I be using different package versions?
* Should I just forget about trying to cross-compile from i686 to c3-2?
Any advice appreciated...
Simon.
--
Simon Poole
www.appliancestudio.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com