On Aug 27, 2012, at 05:34 AM, Martin Ward wrote:

Hi

Just had a look through the changes William has made to the build (GIT-20120827), there a number of issues i would like to raise.

I use the Pure 64 build method

Although I have moved on to GCC-4.7.1 and eglibc-2.16, these are the issues i came across a month or two ago, most are not related to the tool chain upgrade


Chapter 7

7.4 Util-linux-2.21.2

The login-utils now requires PAM (see http://www.kernel.org/pub/ linux/utils/util-linux/v2.21/v2.21-ReleaseNotes), so its a no go. I suggest using shadow login utils, you can cross-compile shadow 4.1.5.1 by adding,

echo "ac_cv_func_setpgrp_void=yes" > config.cache

and using

CC="${CC} ${BUILD64}" ./configure --prefix=/tools --build=$ {CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache

sed -i 's/groups$(EXEEXT) //' src/Makefile, to remove the groups program, if i remember correctly it doesn't build man-pages unless you tell it to

I had to set up some symlinks

ln -sv /tools/bin/login ${CLFS}/bin/login and the same with passwd

i added a symlink to /tools/etc/login.acess and login.defs as well

7.5 e2fsprogs

why use in the compile section

LDFLAGS="-Wl,-rpath,/tools/lib64", surely should beLDFLAGS="-Wl,- rpath,/tools/lib", but i think its unnecessary

7.7 Kmod

again why--with-rootlibdir=/lib64, surely --with-rootlibdir=/lib

7.8 udev

if you change the kmod line you need to change KMOD_LIBS="-L${CLFS}/ lib64 -lkmod" to KMOD_LIBS="-L/tools/lib -lkmod"

10.22 Coreutils

with the above changes, you would need a change in test suite

src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check" to su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"

10.25 Bison 2.6.2

Any body had any problems with this, I had to move flex before bison, to get it to compile. However I couldn't run either of the test suites, seems to be some kind of hard coded path related issue, but didn't affect anything else



regards


Martin Ward


Thanks Martin,

We'll be looking into all of this shortly. I did a multilib build with all of this before doing the updates. We'll get some more things ironed out quickly. Well, as long as we get some community support building some different builds.

Sincerely,

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

Reply via email to