[Clfs-dev] issues with current svn x86_64 pure 64

Steve Jones sjml at slohj.org
Tue Dec 23 21:03:41 PST 2008



I found a few issues withe the current svn book while working through
the x86_64 pure 64 build.  One is a show stopper.

In chapter 10, binutils will fail during configure of bfd.  Moving
zlib before binutils solves this.  LFS new build method already does
this.


>6.19.1. Installation of LZMA Utils
>
>   Prepare LZMA-Utils for compilation:
>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
>    --build=${CLFS_HOST} --host=${CLFS_TARGET}
>
>./configure --prefix=/tools \
>    --build=${CLFS_HOST} --host=${CLFS_TARGET}

   Shouldn't this second configure command be a make.


>8.9. Build Flags
>
>   We will need to setup target specific flags for the compiler and linkers.
>export BUILD64="-m64"
>
>   To prevent errors when you come back to your build, we will export these variables to prevent any build issues in the future:
>echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile

*** is this really used?

>10.14. E2fsprogs-1.41.3
>cp -v misc/Makefile.in{,.orig}
>sed 's/_BLKID= .*$/& $(LIBCOM_ERR)/' \
>    misc/Makefile.in.orig > misc/Makefile.in
This has no effect.  libcomm_err is already listed in lib deps in misc/
and the pattern '_BLKID' does not exist in Makefile.in.

Coreutils make check fails because of a perl error.  I don't know jack
about perl's convoluted install system but the current temp perl is
insufficient for this version of coreutils.  Here's a sample of the
error, all of the others are erroring on the same Errno.pm.  The tests
pass after the full perl install.

>10.15. Coreutils-6.12
>FAIL: misc/invalid-opt.log
>===========================================
> 53 of 333 tests failed
> (33 tests were not run)
> See tests/test-suite.log
> Please report it to bug-coreutils at gnu.org
>===========================================
>
>==============================================
>   GNU coreutils 6.12: tests/test-suite.log   
>==============================================
>
>53 of 333 tests failed.  (33 tests were not run).  
>
>.. contents:: :depth: 2
>
>FAIL: misc/invalid-opt.log (exit: 2)
>====================================
>
>Can't locate Errno.pm in @INC (@INC contains: . /tools/lib/perl5/5.10.0/x86_64-linux /tools/lib/perl5/5.10.0 /tools/lib/perl5/site_perl/5.10.0/x86_64-linux /tools/lib/perl5/site_perl/5.10.0 .) at /tools/lib/perl5/5.10.0/File/Temp.pm line 144.
>BEGIN failed--compilation aborted at /tools/lib/perl5/5.10.0/File/Temp.pm line 144.
>Compilation failed in require at CuTmpdir.pm line 22.
>BEGIN failed--compilation aborted at CuTmpdir.pm line 22.
>Compilation failed in require.
>BEGIN failed--compilation aborted.

And just for reference, here are my glibc and gcc test errors.

>glibc check errors
>
>make[2]: *** [/srv/svn-x86_64-64/build/glibc-build/iconvdata/bug-iconv6.out] Error 1
>make[2]: *** [/srv/svn-x86_64-64/build/glibc-build/iconvdata/tst-iconv7.out] Error 1
>make[1]: *** [iconvdata/tests] Error 2
>make[2]: [/srv/svn-x86_64-64/build/glibc-build/posix/annexc.out] Error 1 (ignored)
>make: *** [check] Error 2

>gcc check summary
>
>		=== gcc Summary ===
># of expected passes		49704
># of expected failures		168
># of untested testcases	35
># of unsupported tests		375
>		=== g++ Summary ===
># of expected passes		17608
># of expected failures		82
># of unsupported tests		122
>		=== libstdc++ Summary ===
># of expected passes		4944
># of expected failures		60
># of unsupported tests		326
>FAIL: libmudflap.c++/pass41-frag.cxx execution test
>FAIL: libmudflap.c++/pass41-frag.cxx (-static) execution test
>FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test
>FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test
>FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test
>		=== libmudflap Summary ===
># of expected passes		1844
># of unexpected failures	5
>		=== libgomp Summary ===
># of expected passes		602


-- 
Steve Jones
sljones3 at sljones@slohj.org

-- 
Steve Jones
sljones3 at sljones@slohj.org



More information about the Clfs-dev mailing list