On Sat, Sep 7, 2013 at 9:39 AM, Walter P. Little <walterplit...@gmail.com>wrote:
> On Sat, Sep 7, 2013 at 9:19 AM, Bruce Dubbs <bruce.du...@gmail.com> wrote: > >> Walter P. Little wrote: >> > Hi - >> > >> > I'm experiencing some odd behavior when running make on glibc-2.18 in >> > section 5.7 of the 7.4-rc2 development book. I am using Ubuntu 12.04 >> LTS. >> > >> > I have followed all of the instructions thus far. When I run make, it >> > starts compiling but then hangs. top shows gawk with 100% cpu for a long >> > time with no apparent progress in the make. Anyone else seen this? >> >> It has not been reported before. >> >> > Some relevant info that may be helpful: >> > >> > Output of version_check.sh from section vii. >> >> > GNU Awk 3.1.8 >> >> Looks OK, but gawk is a little old. Current is 4.1.8. >> >> Found a package for gawk 4.0.1. Will give it a try. > > >> > output of configure on glibc-2.18: >> ... >> >> > and output of make up to where it hangs: >> > >> > lfs@temp-virtual-machine:/mnt/lfs/sources/glibc-build$ make >> > make -r PARALLELMFLAGS="" -C ../glibc-2.18 objdir=`pwd` all >> ... >> >> > ( echo 'sysd-versions-subdirs = csu iconv locale localedata iconvdata >> > assert ctype intl catgets math setjmp signal stdlib stdio-common libio >> > dlfcn malloc string wcsmbs timezone time dirent grp pwd posix io termios >> > resource misc socket sysvipc gmon gnulib wctype manual shadow gshadow po >> > argp crypt nptl rt conform debug libidn nptl_db inet resolv nss hesiod >> > sunrpc nis nscd streams login elf sysdeps/unix/sysv/linux/x86_64/64/nptl >> > sysdeps/unix/sysv/linux/x86_64/64 nptl/sysdeps/unix/sysv/linux/x86_64 >> > nptl/sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86 >> > sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 >> > nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread >> > ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu >> > sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv >> > sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix >> ports/sysdeps/unix >> > sysdeps/unix sysdeps/posix nptl/sysdeps/x86_64/64 sysdeps/x86_64/64 >> > sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu >> > sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/x86 >> > sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 >> > sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 >> > sysdeps/ieee754 sysdeps/generic' ; \ >> > cat /mnt/lfs/sources/glibc-build/Versions.v \ >> > | LC_ALL=C gawk -v buildroot=/mnt/lfs/sources/glibc-build/ -v >> > defsfile=/mnt/lfs/sources/glibc-build/Versions.all \ >> > -v move_if_change='/bin/sh scripts/move-if-change' \ >> > -f scripts/versions.awk; \ >> > ) > /mnt/lfs/sources/glibc-build/sysd-versionsT >> >> The above looks identical to what I have. It should be followed by: >> >> mv -f /mnt/lfs/sources/glibc-build/sysd-versionsT >> /mnt/lfs/sources/glibc-build/sysd-versions >> >> Yeah, it never got there. > > >> You can try doing a manual upgrade of gawk to the version in LFS in your >> host and see if that makes a difference. >> >> OTOH, sysd-versions-subdirs has a lot of values and you may be just >> getting impatient. The make does take a while. >> >> > I thought that too, and may still be the case, but after 20 minutes I > figured I had a problem. My basis for comparison was the recent LFS 7.3 > build I did in an identical environment, where glibc took 4 or 5 minutes to > build and didn't appear to get "stuck" on anything. > > For some context, what I'm doing is preparing a VMware machine with Ubuntu > LTS that has all the LFS prerequisites ready to go, so I can give it to a > colleague for whom LFS will serve as his Linux crash course. Since BLFS > seems to be geared toward 7.4, I'm making sure 7.4 will work on this VM > before giving it to him. Plus I always enjoy doing a LFS build from time > to time (first was more than 10 years ago) :-) > > Will let you know if the gawk upgrade makes any difference. Thanks Bruce! > Upgrading gawk to 4.0.1 was the ticket. Thanks for the tip. Should the Host System Prerequisites page be updated to reflect this for gawk? I noticed that the INSTALL file in the glibc package says that 3.1.2 or higher is the requirement, but the difference was evident in my case (stock Ubuntu LTS used for nothing else but the LFS build, a few packages installed only to support the LFS build). Thanks again for the help. > > >> -- Bruce >> >> >> >> >> >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-dev >> FAQ: http://www.linuxfromscratch.org/faq/ >> Unsubscribe: See the above information page >> > >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page