While attempting a jhalfs build of CLFS-Embedded for x86 I stumbled into
the following problems.

uClibc snapshot defconfig defines the following
   UCLIBC_HAS_CTYPE_TABLES=y
   UCLIBC_HAS_CTYPE_SIGNED=y
     UCLIBC_HAS_CTYPE_UNSAFE=y
     # UCLIBC_HAS_CTYPE_CHECKED is not set
     # UCLIBC_HAS_CTYPE_ENFORCED is not set

The scripts for uClibc_Headers and uClibc define
   UCLIBC_HAS_CTYPE_CHECKED=y

This causes a conflict with UNCHECKED and "make oldconfig" requires
a manual intervention. Not a problem for the hand coders but it causes
jhalfs to hang waiting for an intervention.

I added the following to
    6.7.  uClibc-snapshot Headers
    6.10. uClibc-snapshot

UNSET_DEFCONFIG="UCLIBC_HAS_CTYPE_UNSAFE"
for config in $UNSET_DEFCONFIG; do
   cp .config{,.orig}
   sed -e "s:${config}=y:# ${config} is not set:" .config.orig > .config
done

---------------------------

Changes necessary to 7.4. Busybox-1.4.1

Somewhere between 1.2.2 and 1.4.1 PREFIX= fell out of favour and is no
longer valid, CONFIG_PREFIX= is the flavour of the day.

It was also necessary to run 'make oldconfig' at the end of .config file
modifications. This clears up a few configuration issues that were the
root cause of the link problem.

    old
make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}"
PREFIX="${CLFS}"

make oldconfig
make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}"
CONFIG_PREFIX="${CLFS}"



   Having made the above changes I was able to build an x86 
CLFS-Embedded partition with no interventions.

    George




_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to