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.

> 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

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.

   -- Bruce





-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to