Build failed in step 'Installing C library headers & start files'
andrewminkin
andrew@andrewminkin.plus.com
Sat Feb 6 13:22:00 GMT 2016
Dear CT-NG mailing list,
can anyone help with this errror ?
[INFO ]
=================================================================
[INFO ] Installing C library headers & start files
[DEBUG] Entering
'/home/user/cross/.build/armv6-rpi-linux-gnueabi/build/build-libc-startfiles'
[EXTRA] Configuring C library
[DEBUG] Using gcc for target :
'/home/user/cross/.build/armv6-rpi-linux-gnueabi/buildtools/bin/armv6-rpi-linux-gnueabi-gcc'
[DEBUG] Configuring with addons : ''
[DEBUG] Extra config args passed: '--disable-debug
--disable-sanity-checks --enable-obsolete-rpc --enable-kernel=4.1.15
--with-__thread --with-tls --enable-shared --enable-add-ons=no
--with-pkgversion=crosstool-NG crosstool-ng-1.22.0'
[DEBUG] Extra CC args passed : ' -U_FORTIFY_SOURCE
-mlittle-endian -mcpu=arm1176jzf-s -mfpu=vfp -O2 '
[DEBUG] Extra flags (multilib) : ''
[DEBUG] ==> Executing: 'BUILD_CC=i686-build_pc-linux-gnu-gcc'
'CFLAGS= -U_FORTIFY_SOURCE -mlittle-endian -mcpu=arm1176jzf-s
-mfpu=vfp -O2 ' 'CC=armv6-rpi-linux-gnueabi-gcc '
'AR=armv6-rpi-linux-gnueabi-ar' 'RANLIB=armv6-rpi-linux-gnueabi-ranlib'
'/bin/bash' '/home/user/cross/.build/src/glibc-2.22/configure'
'--prefix=/usr' '--build=i686-build_pc-linux-gnu'
'--host=armv6-rpi-linux-gnueabi'
'--cache-file=/home/user/cross/.build/armv6-rpi-linux-gnueabi/build/build-libc-startfiles/config.cache'
'--without-cvs' '--disable-profile' '--without-gd'
'--with-headers=/home/user/x-tools/armv6-rpi-linux-gnueabi/armv6-rpi-linux-gnueabi/sysroot/usr/include'
'--disable-debug' '--disable-sanity-checks' '--enable-obsolete-rpc'
'--enable-kernel=4.1.15' '--with-__thread' '--with-tls'
'--enable-shared' '--enable-add-ons=no' '--with-pkgversion=crosstool-NG
crosstool-ng-1.22.0'
'--with-headers=/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d'
'--srcdir=/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d'
[ERROR] configure: error: cannot find sources (include/features.h)
in /home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing C library headers & start
files'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216]
[ERROR] >> called from:
do_libc_backend_once[scripts/build/libc/glibc.sh@348]
[ERROR] >> called from:
do_libc_backend[scripts/build/libc/glibc.sh@153]
[ERROR] >> called from:
do_libc_start_files[scripts/build/libc/glibc.sh@70]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds,
in:
[ERROR] >>
'/usr/local/share/doc/crosstool-ng/crosstool-ng-1.22.0/B - Known
issues.txt'
[ERROR]
[ERROR] (elapsed: 148:04.73)
Target Setup
The target is running this kernel:
Linux raspberrypi 4.1.15+ #830 Tue Dec 15 16:58:28 GMT 2015 armv6l
GNU/Linux
Build PC Setup
i've unpacked the tarball for 4.1.15+ to this directory on the build
pc :
/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d
The build pc native compiler is gcc 5.2.0, running under
Linux localhost 2.6.23.9lw #105 SMP PREEMPT Fri Jun 27 18:56:59 EDT
2008 i686 i686 i386 GNU/Linux
CT-NG Setup
in ct-ng menuconfig i've set
Target OS (linux) --->
Linux kernel version (custom tarball or directory) --->
custom tarball or directory
(/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d)
and
C library (glibc) ---> extra config
--with-headers=/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d
--srcdir=/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d
obviously CT-NG can't find include/features.h though i can see files by
that name under :
/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d/include/xen/features.h
/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d/include/xen/interface/features.h
/home/user/cross/linux-853eff4e9b369cdc20be7c538bc5a5291eeab31d/include/sched/features.h
is it looking for this file from the target kernel at this stage ?
thanks for any assistance !
Andrew
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list