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.


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

crosstest.sh fails on make tests call in glibc


Hello,

I build a cross compiler using crosstool with the following configuration:

host/build : Windows XP / cygwin
target : i686-pc-linux-gnu

source versions:
> TARBALLS_DIR=/usr/local/tars
> SRC_DIR=/usr/src
> RESULT_TOP=/opt/crosstool

> BINUTILS_DIR=binutils-2.15
> GCC_DIR=gcc-3.3.3
> GLIBC_DIR=glibc-2.3.2
> GDB_DIR=gdb-6.1.1
> LINUX_DIR=linux-2.4.29
> GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2

> TARGET=i686-pc-linux-gnu
> TARGET_CFLAGS="-O"
> GCC_LANGUAGES="c,c++"

The compilation went well and so I wanted to test the crosscompiler.
I read the tutorials for dejagnu remote regrassion tests and chroot jails and finally remote login and so worked. So I started the
all.sh script ( without --notest parameter ) like described on crosstool the web page.
I had to make a few chenges to the crosstest.sh script to get it to run under cygwin, but then it started and run and run....
then it called make tests as I saw from the x.log file:
> + cd build-glibc
> + make tests
.... and after a bunch of gcc calls the following message appeared:


cd /usr/local/crosstool-0.28-rc37/build/i686-pc-linux-gnu/gcc-3.3.3-glibc-2.3.2/build-glibc/elf && gcc -O -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -include ../config.h -I/usr/src/glibc-2.3.2/include /usr/src/glibc-2.3.2/elf/check-textrel.c -o check-textrel
/usr/src/glibc-2.3.2/elf/check-textrel.c:21:22: byteswap.h: No such file or directory
/usr/src/glibc-2.3.2/elf/check-textrel.c:22:17: elf.h: No such file or directory
/usr/src/glibc-2.3.2/elf/check-textrel.c:23:20: endian.h: No such file or directory


....

make[2]: *** [/usr/local/crosstool-0.28-rc37/build/i686-pc-linux-gnu/gcc-3.3.3-glibc-2.3.2/build-glibc/elf/check-textrel] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.3.2/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.3.2'
make: *** [tests] Error 2


I can see that the include paths to this headers are missing, but I don't know how to fix it. Can you help me?

- Friedhelm

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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