gcj failure with powerpc-860 & gcc-4.0.0
Tim Hayman
TBHayman@nanometrics.ca
Fri May 20 19:16:00 GMT 2005
Using crosstool 0.34, I've been trying to build gcc 4.0.0 cross-compiler
for powerpc-860 without success. Previously, I have built gcc 3.4.2
successfully so I think I've got everything setup correctly for running
crosstool. However, for gcc 4.0.0, crosstool stops with:
In file included from ./include/java-signal.h:17,
from /home/tbhayman/xtool/crosstool-0.34
/build/powerpc-860-linux-gnu/gcc-4.0.0-glibc-2.3.5/gcc-4.0.0
/libjava/prims.cc:26:
/home/tbhayman/xtool/opt/crosstool/gcc-4.0.0-glibc-2.3.5
/powerpc-860-linux-gnu/powerpc-860-linux-gnu/include/sys/syscall.h:32:27:
error: bits/syscall.h: No such file or directory
And, sure enough, that file (bits/syscall.h) does not exist. Looking back
through the build log I can see the prerequisite
(build-glibc-headers/misc/syscall-list.h) does exist but it doesn't get
copied/installed to the install directory.
I'm building on Linux 2.4.20-8 i686 i386 GNU/Linux.
What I'm really trying to build is a gcj cross-compiler for our embedded
linux (2.4.20) system. The crosstool build matrix indicates this
combination works, but I'm not sure if the matrix tries to build gcj. I
tried several variations of linux and glibc, all to no avail. I also tried
crosstool 0.32, also unsuccessful.
Some configuration details:
TARGET=powerpc-860-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--with-cpu=860 --enable-cxx-flags=-mcpu=860"
GLIBC_EXTRA_CONFIG="--without-fp"
BINUTILS_DIR=binutils-2.15
GCC_DIR=gcc-4.0.0
GLIBC_DIR=glibc-2.3.5
LINUX_DIR=linux-2.4.20
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.5
GCC_LANGUAGES="c,c++,java"
Has anybody successfully built gcj for this combination? Anybody have a
hint what's going wrong? Thanks,
--tim
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list