Hi maillist members --
I'm having trouble building the first-pass glibc-2.10.1 according to the
instructions in section 5.7.1 of the 6.5 LFS book.
[1] the Make aborts with this message:
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed
(bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "",
subd ...
[2] environment notes:
[2.1] The platform is ubuntu 8.10 on an AMDx86-64. I'm somewhat
familiar with LFS, having completed two systems in the past five years
or so.
[2.2] the build partition is on a local server, nfs-mounted to my
workstation's /net/ottawa/sdb/10, which in turn is softlinked into a
user account dedicated to the build: /home/lfsdev/wrk/. I keep separate
subtrees for 'src' and 'bld'.
[2.3] the build-partition tree:
lfs...@holland:~/wrk/lfs$ du -h --max-depth=2
299M ./bld/gcc
612K ./bld/glibc
300M ./bld
59M ./tools/bin
2.4M ./tools/lib
860K ./tools/x86_64-lfs-linux-gnu
2.2M ./tools/info
4.0K ./tools/share
4.1M ./tools/include
39M ./tools/libexec
1.3M ./tools/man
108M ./tools
138M ./src/binutils-2.19.1
567M ./src/gcc-4.4.1
398M ./src/linux-2.6.30.2
121M ./src/glibc-2.10.1
112M ./src/binutils-build
1.7G ./src
2.1G .
[2.4] the config command that I executed in ~/wrk/lfs/bld/glibc:
../../src/glibc-2.10.1/configure --prefix=/tools --host=$LFS_TGT
--build=$(../../src/glibc-2.10.1/scripts/config.guess)
--disable-profile --enable-add-ons --enable-kernel=2.6.18
--with-headers=/tools/include libc_cv_forced_unwind=yes
libc_cv_c_cleanup=yes
[2.5] the stdout from the make:
----------------- begin make output
lfs...@holland:~/wrk/lfs/bld/glibc$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../../src/glibc-2.10.1
objdir=`pwd` all
make[1]: Entering directory `/net/ottawa/sdb/10/lfs/src/glibc-2.10.1'
mawk -f scripts/gen-sorted.awk \
-v subdirs='csu assert ctype locale intl catgets math setjmp
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp
pwd posix io termios resource misc socket sysvipc gmon gnulib iconv
iconvdata wctype manual shadow gshadow po argp crypt nss localedata
timezone rt conform debug dlfcn elf' \
-v srcpfx='' \
nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend
stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend
string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend
nss/Depend localedata/Depend rt/Depend debug/Depend >
/home/lfsdev/wrk/lfs/bld/glibc/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed
(bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "",
subd ...
make[1]: *** No rule to make target
`/home/lfsdev/wrk/lfs/bld/glibc/Versions.all', needed by
`/home/lfsdev/wrk/lfs/bld/glibc/abi-versions.h'. Stop.
make[1]: Leaving directory `/net/ottawa/sdb/10/lfs/src/glibc-2.10.1'
make: *** [all] Error 2
----------------- end make output
[3] So, in this context, why on earth would I get errors from an
as-distributed awk script?
I'll be grateful for any suggestions.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page