Unnable to do ICA/farce comparative builds

M.Canales.es macana at macana-es.com
Wed Dec 6 02:23:23 PST 2006


Hi,

Doing yesterday a SVN-20061201 build to test current ICA/farce support in 
jhalfs I found that the first iterative build of Glibc fails at the configure 
stage with that:

=== ./configure output fragment ====

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

====================

The config-log file is attached. 

There is a lot of sintax errors, but the relevant part, I think, is that 
several header files can't be found. A search for some of them show:

macana at sandbox:/mnt/build_dir$ sudo find . -name "limits.h"
./jhalfs/ICA/iteration-1/usr/include/linux/limits.h
./jhalfs/ICA/iteration-1/usr/include/limits.h
./jhalfs/ICA/iteration-1/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/install-tools/include/limits.h
./jhalfs/ICA/iteration-1/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h
./jhalfs/farce/iteration-1/usr/include/linux/limits.h
./jhalfs/farce/iteration-1/usr/include/limits.h
./jhalfs/farce/iteration-1/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/install-tools/include/limits.h
./jhalfs/farce/iteration-1/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h
./tools/lib/gcc/i686-pc-linux-gnu/4.1.1/install-tools/include/limits.h
./tools/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h
./tools/include/linux/limits.h
./tools/include/limits.h
./usr/include/linux/limits.h
./usr/lib/gcc/i686-pc-linux-gnu/4.1.1/install-tools/include/limits.h
./usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h


macana at sandbox:/mnt/build_dir$ sudo find . -name "assert.h"
./jhalfs/ICA/iteration-1/usr/include/assert.h
./jhalfs/farce/iteration-1/usr/include/assert.h
./tools/include/assert.h

As can be seen, when finished the system build both /usr/include/limits.h 
and /usr/include/assert.h are present. But when reinstaling the linux kernel 
headers at the beggining of the iterative build, both headers (and I think 
that many others) are deleted by the "make INSTALL_HDR_PATH=/usr 
headers_install" command.

My question is, how that could be fixed to can do again proper comparative 
builds?


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 27025 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20061206/d8723366/attachment.bin>


More information about the lfs-dev mailing list