[oe] problems compiling glibc_2.9-r37.4 under Angstrom

Khem Raj raj.khem at gmail.com
Thu Jan 20 21:40:19 UTC 2011


2011/1/20 Víctor M. Jáquez L. <vjaquez at igalia.com>:
>
> In order to build native-sdk-image recipe, I found my self compiling
> glibc_2.9-r37.4, because it is the real provider of virtual-libc-dev (the
> toolchain does not truly provide it -but that is another bug [1]-).
>
> But the glibc_2.9-r37.4 configuration fails using the canonical
> arm-angstrom-linux-gnueabi- toolchain (using the csl external toolchain fails
> too, but for other reasons):
>
> Log data follows:
> | configure.in:2204: warning: AC_CACHE_VAL(pic_default, ...): suspicious cache-id, must contain _cv_ to be cached
> | ../../lib/autoconf/general.m4:1999: AC_CACHE_VAL is expanded from...
> | ../../lib/autoconf/general.m4:2020: AC_CACHE_CHECK is expanded from...
> | configure.in:2204: the top level
> | checking build system type... x86_64-pc-linux-gnu
> | checking host system type... arm-angstrom-linux-gnueabi
> | checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
> | configure: running configure fragment for add-on nptl
> | configure: running configure fragment for add-on libidn
> | checking sysdep dirs... ports/sysdeps/arm/elf ports/sysdeps/unix/sysv/linux/arm/eabi/nptl ports/sysdeps/unix/sysv/linux/arm/eabi sysdeps/unix/sysv/linux/arm/eabi ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux/arm ports/sysdeps/unix/sysv/linux nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv nptl/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm ports/sysdeps/unix nptl/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/eabi ports/sysdeps/arm/fpu ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
> | checking for a BSD-compatible install... /media/DISK/meego/vjaquez-angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/bin/install -c
> | checking whether ln -s works... yes
> | checking for arm-angstrom-linux-gnueabi-gcc... ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb
> | checking for suffix of object files... o
> | checking whether we are using the GNU C compiler... yes
> | checking whether ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb accepts -g... yes
> | checking for ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb option to accept ISO C89... unsupported
> | checking for gcc... ccache gcc
> | checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -E
> | configure: error: C preprocessor "arm-angstrom-linux-gnueabi-gcc -E" fails sanity check
> | See `config.log' for more details.
>
> Reading the config.log I found:
>
> configure:3734: checking how to run the C preprocessor
> configure:3850: result: arm-angstrom-linux-gnueabi-gcc -E
> configure:3879: arm-angstrom-linux-gnueabi-gcc -E  conftest.c
> In file included from /media/DISK/meego/vjaquez-angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include-fixed/syslimits.h:7,
>                 from /media/DISK/meego/vjaquez-angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include-fixed/limits.h:11,
>                 from conftest.c:10:
> /media/DISK/meego/vjaquez-angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include-fixed/limits.h:122:61: error: limits.h: No such file or directory


you might try to use eglibc. It may fix this issue for you.




More information about the Openembedded-devel mailing list