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' |
I would rm -rf on the source and build dirs, and start afresh. After the configure, Run
Quote:
Quote:
|
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' |
Quote:
Anyway: Maybe you should try building it without the -j flag and see what happens. |
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. |
Quote:
Quote:
|
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. |
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? |
Quote:
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 |
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? |
Grep for Error (capital E!) instead.
|
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 |
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 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. |
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? |
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.
|
All times are GMT -5. The time now is 06:47 AM. |