LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-14-2013, 05:34 AM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
Trouble Building glibc chapter 6


I am attempting to build glibc in chapter6 book 7.3

Since it reportedly took >17SBU's I walked away, expecting it to take a while. After about 24 hours it was still working. BTW, This is a core i3 notebook with 4gb of ram. I used a j5 make flag.

It appears to be getting stuck in a loop repeating the same thing over and over again, however there doesn't appear to be any errors. I tried it again without make flags and it appears that the problem is still there and occurs within the first few minutes.

Since there is no errors I wasn't sure what I could post. Here are the last few lines before it loops. It appears to iterate about every second or so.
Code:
libc-build/pthread-errnos.h.d /sources/glibc-build/pthread-errnos.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][
0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
        /sources/glibc-build/pthread-errnos.hT3 > /sources/glibc-build/pthre
ad-errnos.hT
rm -f /sources/glibc-build/pthread-errnos.hT3
sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/sources/glibc-
build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^  \]*\)@ $(..)\1@g' -e 's@^\.\
.\/\([^         \]*\)@$(..)\1@g' \
    /sources/glibc-build/pthread-errnos.h.dT > /sources/glibc-build/pthread-
errnos.h.dT2
rm -f /sources/glibc-build/pthread-errnos.h.dT
mv -f /sources/glibc-build/pthread-errnos.h.dT2 /sources/glibc-build/pthread
-errnos.h.d
mv -f /sources/glibc-build/pthread-errnos.hT /sources/glibc-build/pthread-er
rnos.h
make[4]: Leaving directory `/sources/glibc-2.17/nptl'
 
Old 06-14-2013, 06:24 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I would rm -rf on the source and build dirs, and start afresh. After the configure, Run
Quote:
make > some_error_file 2>&1
Get on another terminal and view it with
Quote:
tail -fn25 some-error-file
When it has looped a few times, go back and hit Ctrl_C where it is making. Go over the error file and see what you can find.
 
Old 06-17-2013, 01:14 PM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
I gave it a shot but I don't see any error's. It just repeats. Here is the repeating portion of the code.

Code:
make[4]: Entering directory `/sources/glibc-2.17/nptl'
/tools/bin/install -c -m 644 ../include/limits.h /usr/include/limits.h
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/structsem.sym \
| gcc -S -o /sources/glibc-build/structsem.hT3 -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes         -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/unix/sysv/linux/x86_64/64/nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/x86_64/64 -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I.   -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -x c - \
	-MD -MP -MF /sources/glibc-build/structsem.h.dT -MT '/sources/glibc-build/structsem.h.d /sources/glibc-build/structsem.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
	/sources/glibc-build/structsem.hT3 > /sources/glibc-build/structsem.hT
rm -f /sources/glibc-build/structsem.hT3
sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
    /sources/glibc-build/structsem.h.dT > /sources/glibc-build/structsem.h.dT2
rm -f /sources/glibc-build/structsem.h.dT
mv -f /sources/glibc-build/structsem.h.dT2 /sources/glibc-build/structsem.h.d
mv -f /sources/glibc-build/structsem.hT /sources/glibc-build/structsem.h
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym \
| gcc -S -o /sources/glibc-build/pthread-pi-defines.hT3 -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes         -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/unix/sysv/linux/x86_64/64/nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/x86_64/64 -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I.   -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -x c - \
	-MD -MP -MF /sources/glibc-build/pthread-pi-defines.h.dT -MT '/sources/glibc-build/pthread-pi-defines.h.d /sources/glibc-build/pthread-pi-defines.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
	/sources/glibc-build/pthread-pi-defines.hT3 > /sources/glibc-build/pthread-pi-defines.hT
rm -f /sources/glibc-build/pthread-pi-defines.hT3
sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
    /sources/glibc-build/pthread-pi-defines.h.dT > /sources/glibc-build/pthread-pi-defines.h.dT2
rm -f /sources/glibc-build/pthread-pi-defines.h.dT
mv -f /sources/glibc-build/pthread-pi-defines.h.dT2 /sources/glibc-build/pthread-pi-defines.h.d
mv -f /sources/glibc-build/pthread-pi-defines.hT /sources/glibc-build/pthread-pi-defines.h
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym \
| gcc -S -o /sources/glibc-build/lowlevelrobustlock.hT3 -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes         -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/unix/sysv/linux/x86_64/64/nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/x86_64/64 -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I.   -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -x c - \
	-MD -MP -MF /sources/glibc-build/lowlevelrobustlock.h.dT -MT '/sources/glibc-build/lowlevelrobustlock.h.d /sources/glibc-build/lowlevelrobustlock.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
	/sources/glibc-build/lowlevelrobustlock.hT3 > /sources/glibc-build/lowlevelrobustlock.hT
rm -f /sources/glibc-build/lowlevelrobustlock.hT3
sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
    /sources/glibc-build/lowlevelrobustlock.h.dT > /sources/glibc-build/lowlevelrobustlock.h.dT2
rm -f /sources/glibc-build/lowlevelrobustlock.h.dT
mv -f /sources/glibc-build/lowlevelrobustlock.h.dT2 /sources/glibc-build/lowlevelrobustlock.h.d
mv -f /sources/glibc-build/lowlevelrobustlock.hT /sources/glibc-build/lowlevelrobustlock.h
gawk -f ../scripts/gen-as-const.awk pthread-errnos.sym \
| gcc -S -o /sources/glibc-build/pthread-errnos.hT3 -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes         -I../include -I/sources/glibc-build/nptl -I/sources/glibc-build -I../sysdeps/unix/sysv/linux/x86_64/64/nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/x86_64/64 -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I.   -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -x c - \
	-MD -MP -MF /sources/glibc-build/pthread-errnos.h.dT -MT '/sources/glibc-build/pthread-errnos.h.d /sources/glibc-build/pthread-errnos.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
	/sources/glibc-build/pthread-errnos.hT3 > /sources/glibc-build/pthread-errnos.hT
rm -f /sources/glibc-build/pthread-errnos.hT3
sed -e 's@ /sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
    /sources/glibc-build/pthread-errnos.h.dT > /sources/glibc-build/pthread-errnos.h.dT2
rm -f /sources/glibc-build/pthread-errnos.h.dT
mv -f /sources/glibc-build/pthread-errnos.h.dT2 /sources/glibc-build/pthread-errnos.h.d
mv -f /sources/glibc-build/pthread-errnos.hT /sources/glibc-build/pthread-errnos.h
make[4]: Leaving directory `/sources/glibc-2.17/nptl'
 
Old 06-17-2013, 01:30 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mreff555 View Post
I am attempting to build glibc in chapter6 book 7.3

Since it reportedly took >17SBU's I walked away, expecting it to take a while. After about 24 hours it was still working. BTW, This is a core i3 notebook with 4gb of ram. I used a j5 make flag.
Is this a dual core i3? If it is: -j5 is way to high. Use -j2.

Anyway: Maybe you should try building it without the -j flag and see what happens.
 
Old 06-17-2013, 02:06 PM   #5
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Since the problem occurred I have not been using the j flag at all. Also, I confirmed that MAKEOPTS is not defined.

BTW, not to argue, but LFS as well as many other sources recommend (# of cores) +1.

---------- Post added 06-17-13 at 03:07 PM ----------

Since the problem occurred I have not been using the j flag at all. Also, I confirmed that MAKEOPTS is not defined.

BTW, not to argue, but LFS as well as many other sources recommend (# of cores) +1.
 
Old 06-17-2013, 02:45 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by mreff555 View Post
Since the problem occurred I have not been using the j flag at all. Also, I confirmed that MAKEOPTS is not defined.
That's the safe thing to do.

Quote:
BTW, not to argue, but LFS as well as many other sources recommend (# of cores) +1.
I'm not arguing, just asking. You _still_ have not mentioned how many cores your i3 CPU has..... We can only assume it has 4 cores.
 
Old 06-17-2013, 02:55 PM   #7
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Yes, it has 4 cores. regardless I am only using one thread.
So I don't suppose you see anything in the posted output that looks wrong? Other than the fact that it repeats, I don't see the problem.
 
Old 06-17-2013, 03:18 PM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
It's looping in the build script, and they are not supposed to loop, ergo something is wrong.

Remove the -j option as has been suggested, A parallel build can cause errors, and at 17 sbus, you won't be there more than an hour. When you followed the instructions in post 2, did you grep the some_error_file for words like warning, error, found, and missing?
 
Old 06-17-2013, 04:53 PM   #9
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
It's looping in the build script, and they are not supposed to loop, ergo something is wrong.

Remove the -j option as has been suggested, A parallel build can cause errors, and at 17 sbus, you won't be there more than an hour. When you followed the instructions in post 2, did you grep the some_error_file for words like warning, error, found, and missing?
The -j option has been removed since before the first post.

as for your the error, found, missing and warning.

found and missing return nothing.
error and warning but nothing that actually appears to be an error or a warning. For example, below is a few lines from the bottom of the results for greping the output file. There are a lot of files containing the words error and warning.


Code:
include ../include/libc-symbols.h  -DPIC -DSHARED  -DNOT_IN_libc=1 -DIS_IN_rtld=1 -DIN_LIB=rtld     -o /sources/glibc-build/elf/dl-error.os -MD -MP -MF /sources/glibc-build/elf/dl-error.os.dt -MT /sources/glibc-build/elf/dl-error.os
gcc   -nostdlib -nostartfiles -r -o /sources/glibc-build/elf/dl-allobjs.os /sources/glibc-build/elf/rtld.os /sources/glibc-build/elf/dl-load.os /sources/glibc-build/elf/dl-lookup.os /sources/glibc-build/elf/dl-object.os /sources/glibc-build/elf/dl-reloc.os /sources/glibc-build/elf/dl-deps.os /sources/glibc-build/elf/dl-hwcaps.os /sources/glibc-build/elf/dl-runtime.os /sources/glibc-build/elf/dl-error.os /sources/glibc-build/elf/dl-init.os /sources/glibc-build/elf/dl-fini.os /sources/glibc-build/elf/dl-debug.os /sources/glibc-build/elf/dl-misc.os /sources/glibc-build/elf/dl-version.os /sources/glibc-build/elf/dl-profile.os /sources/glibc-build/elf/dl-conflict.os /sources/glibc-build/elf/dl-tls.os /sources/glibc-build/elf/dl-origin.os /sources/glibc-build/elf/dl-scope.os /sources/glibc-build/elf/dl-execstack.os /sources/glibc-build/elf/dl-caller.os /sources/glibc-build/elf/dl-open.os /sources/glibc-build/elf/dl-close.os /sources/glibc-build/elf/dl-trampoline.os /sources/glibc-build/elf/dl-cache.os /sources/glibc-build/elf/dl-sysdep.os /sources/glibc-build/elf/dl-environ.os /sources/glibc-build/elf/dl-minimal.os /sources/glibc-build/elf/dl-brk.os /sources/glibc-build/elf/dl-sbrk.os /sources/glibc-build/elf/dl-getcwd.os /sources/glibc-build/elf/dl-openat64.os /sources/glibc-build/elf/dl-opendir.os /sources/glibc-build/elf/dl-fxstatat64.os /sources/glibc-build/elf/tlsdesc.os /sources/glibc-build/elf/dl-tlsdesc.os
a - stdio-common/perror.os
a - libio/ferror.os
a - libio/ferror_u.os
a - string/strerror.os
a - string/_strerror.os
a - string/xpg-strerror.os
a - string/strerror_l.os
a - posix/gai_strerror.os
a - misc/error.os
a - resolv/herror.os
 
Old 06-18-2013, 01:36 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Can you post the config.log file and the make command?

BTW: Just to make sure (business_kid already mentioned this); You did remove both the source and build directory before trying again?
 
Old 06-18-2013, 09:50 AM   #11
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
Grep for Error (capital E!) instead.
 
Old 06-18-2013, 10:55 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Or also make -S > logfile 2>&1

Stops it on the first error. I'm fairly sure there is a mistake, and it's being repeated, which is the way things happen on LFS. Do check the md5sum, or sha1sum of the file
 
Old 06-18-2013, 07:45 PM   #13
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Ok, tried it again. clean build directory. Freshly extracted source.
from the build directory.

config command.
Code:
../glibc-2.17/configure --prefix=/usr --disable-profile --enable-kernel=2.6.25 --libexecdir=/usr/lib/glibc

make command.
Code:
make -S > glibc-logfile 2>&1
After 2 hours it is still looping at the exact same point as indicated above.

The md5 and sha1 check out. (all of them do). I have also deleted the archive and downloaded a copy from gnu.org. Same problem.
 
Old 06-19-2013, 03:35 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
I've already asked (post #10), but you might have overlooked it:

Can you post the config.log file and the (output of the) make command?
 
Old 06-20-2013, 10:34 AM   #15
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
I apologize, where would this config.log file be? It's not in the source directory. Also, I'm not sure how to post the entire make output as the error doesn't occur until the log file is over 6 MB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 7.0 - Chapter 6.9 building glibc jimmy_page_89 Linux From Scratch 5 11-27-2011 05:31 AM
[SOLVED] Glibc not compiling in Chapter 6.9 corbis_demon Linux From Scratch 4 08-06-2010 08:44 AM
Yet another glibc, chapter 6.9 problem... gViscardi Linux From Scratch 4 10-25-2008 12:10 PM
Problem with Glibc-2.3.4 chapter 6.11 adancoco Linux From Scratch 1 02-14-2005 12:04 PM
glibc problem in chapter 6 alaios Linux From Scratch 5 04-04-2004 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration