Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.