Error with patched crosstool-0.43 - demo-arm-softfloat-eabi

ARABINDA VERMA arabinda.v@samsung.com
Fri Jul 20 09:21:00 GMT 2007


Hello All,

I patched crosstool-0.43 with patch given in "glibc 2.5+nptl build for arm softfloat eabi". I tried to build for arm-softfloat-linux-gnueabi target.

However, I getting an error. Please refer the build log for detais attached here with. 

Last few lines of buildlog is as follows:
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
/usr/bin/install -c -m 644 include/limits.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/limits.h
/usr/bin/install -c -m 644 include/values.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/values.h
/usr/bin/install -c -m 644 include/features.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/features.h
/usr/bin/install -c -m 644 include/gnu-versions.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu-versions.h
./scripts/mkinstalldirs /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/bits
mkdir /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/bits
/usr/bin/install -c -m 644 nptl/sysdeps/pthread/bits/libc-lock.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/bits/libc-lock.h
./scripts/mkinstalldirs /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/bits
/usr/bin/install -c -m 644 include/bits/xopen_lim.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/bits/xopen_lim.h
./scripts/mkinstalldirs /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu
mkdir /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu
/usr/bin/install -c -m 644 include/gnu/libc-version.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu/libc-version.h
./scripts/mkinstalldirs /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu
/usr/bin/install -c -m 644 /home/arabinda/My-Project-2/crosstool-0.43.cosmos/build/arm-softfloat-linux-gnueabi/gcc-4.1.1-glibc-2.5/build-glibc-headers/gnu/lib-names.h /opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu/lib-names.h
/usr/bin/install: cannot stat `/home/arabinda/My-Project-2/crosstool-0.43.cosmos/build/arm-softfloat-linux-gnueabi/gcc-4.1.1-glibc-2.5/build-glibc-headers/gnu/lib-names.h': No such file or directory
make[1]: *** [/opt/crosstool/arm-softfloat-linux-gnueabi/arm-softfloat-linux-gnueabi/include/gnu/lib-names.h] Error 1
make[1]: Leaving directory `/home/arabinda/My-Project-2/crosstool-0.43.cosmos/build/arm-softfloat-linux-gnueabi/gcc-4.1.1-glibc-2.5/glibc-2.5'
make: *** [install-headers] Error 2

The content of arm-softfloat-linux-gnueabi.crosstoolconfig.txt is as follows:
AR=
BINUTILS_DIR=binutils-2.17
BINUTILS_EXTRA_CONFIG=
BUILD=i686-pc-linux-gnu
BUILD_DIR=/home/arabinda/My-Project-2/crosstool-0.43.cosmos/build/arm-softfloat-linux-gnueabi/gcc-4.1.1-glibc-2.5
CC=
DEJAGNU=
EXTRA_TARGET_CFLAGS=
GCC_BUILD=
GCC_CORE_DIR=gcc-4.1.1
GCC_DIR=gcc-4.1.1
GCC_EXTRA_CONFIG=--with-float=soft
GCC_HOST=
GCC_LANGUAGES=c,c++
GDB_DIR=gdb-6.5
GLIBC_ADDON_OPTIONS==yes
GLIBC_DIR=glibc-2.5
GLIBC_EXTRA_CC_ARGS=
GLIBC_EXTRA_CONFIG=--with-tls --with-__thread --with-tls --with-__thread --enable-kernel=2.6.0
GLIBC_EXTRA_ENV=
JUST_DOWNLOAD=
KERNELCONFIG=/home/arabinda/My-Project-2/crosstool-0.43.cosmos/arm.config
LINUX_DIR=linux-2.6.18.5
LINUX_SANITIZED_HEADER_DIR=
NO_DOWNLOAD=
PREFIX=/opt/crosstool/arm-softfloat-linux-gnueabi
PTXDIST_DIR=
SHARED_MODE=--enable-shared
SRC_DIR=/home/arabinda/My-Project-2/crosstool-0.43.cosmos/build/arm-softfloat-linux-gnueabi/gcc-4.1.1-glibc-2.5
TARBALLS_DIR=/home/arabinda/downloads
TARGET=arm-softfloat-linux-gnueabi
TARGET_CFLAGS=-O
TOP_DIR=/home/arabinda/My-Project-2/crosstool-0.43.cosmos
USE_SYSROOT=

Please help.

Thanks and regards
Arabinda
------- Original Message -------
Sender : Khem Raj<kraj@mvista.com> 
Date   : Jul 19, 2007 16:51
Title  : RE: Error with patched crosstool-0.43 - demo-arm-softfloat-eabi

./scripts/mkinstalldirs /opt/crosstool/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi/include/gnu
/usr/bin/install -c -m 644 /home/arabinda/My-Project/crosstool-0.43.cosmos.patched/build/arm-iwmmxt-linux-gnueabi/gcc-4.1.1-glibc-2.5/build-glibc-headers/gnu/lib-names.h /opt/crosstool/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi/include/gnu/lib-names.h
/usr/bin/install: cannot stat `/home/arabinda/My-Project/crosstool-0.43.cosmos.patched/build/arm-iwmmxt-linux-gnueabi/gcc-4.1.1-glibc-2.5/build-glibc-headers/gnu/lib-names.h': No such file or directory
make[1]: *** [/opt/crosstool/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi/include/gnu/lib-names.h] Error 1
make[1]: Leaving directory `/home/arabinda/My-Project/crosstool-0.43.cosmos.patched/build/arm-iwmmxt-linux-gnueabi/gcc-4.1.1-glibc-2.5/glibc-2.5'
make: *** [install-headers] Error 2

This file is generated during the build. So it seems something went wrong with your configure. If you post full build log that might help. Usually it could be that some of your configure scripts are being regenerated and the autconf version on your host might not generate the file in sync with other configure fragments.

You should touch all configure files so they do not get regenerated during build.

you can do something like this in the crosstool.sh

find ${glibc_sources} -name configure -exec touch '{}' ';'

Hope that helps.

-Khem





-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 4868803 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20070720/44077083/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list