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 emailed the lfs-dev mailing list about the gcc test stuff. Armin Krejzi replied saying that he noticed the same things with gcc and thinks it should be okay to continue with those test results (which I did).
Bruce Dubbs also replied saying that he thought the g++ out-of-memory thing might be stack memory instead of total memory. He's wondering if the ulimit command should be changed to "ulimit -s unlimited". druuna tried some larger settings, but not unlimited. I may try that just to find out. He also commented that the libstd++ thing that I posted above seems to be a new normal for this version of gcc.
I just redid gcc with ulimit -s unlimited and the error still shows up.
I ran free with a 10 second delta in another console and noticed no noticeable dip in available memory (which does happen at an earlier stage, but it "recovers").
BTW: Thanks for the info!
@ Keith Hedger: I did not come across this error during its build/check/installation.
Last edited by druuna; 02-21-2013 at 02:20 PM.
Reason: inlimited -> unlimited
That link in section 6.17 (GCC-4.7.2) of the 7.3-rc1 book to build logs now works and points to some logs for a core2duo system. The GCC tests have the g++ unresolved testcases with "out-of-memory" and the libstdc++ unexpected failure as already described above.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Just finished installing the basic system and rebooted and everything works fine, now to install X and Xfce ( always fun ! )
Good work and congrats to the LFS team.
Of course do what you need to do, but it might be worth waiting a few more days for the final version. In spite of the release candidate building well, it is not in a "package freeze" state and significant changes could happen in the final version.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Actually I script any new install so that I can rebuild easily in case something goes wrong or I need to tweak and the Xorg/Xfce instructions on BLFS are pretty stable anyway and I'm just tweaking my previous scripts for them.
I agree with stoat, especially if you want to use it for daily use. I would wait until LFS 7.3 stable is released.
One of the changes that's being talked about: kernel 3.8 instead of 3.7. Another: gcc 4.8 instead of gcc 4.7
Off-topic: Am I the only one that cannot reach (Page not found!) the LFS mailing list archives (dev, support and announce)?
Edit: Keith Hedger replied while I was typing: If you can do it in an easy way I would go for it, maybe you'll find 7.3 related problems that haven't shown yet when building (parts of) BLFS.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Talking of making it easy I just fubar'ed the new system so I'm running the script to rebuild it again.
Of course I won't run it as my main system for a while lots to do first!
The code in your post has a lower-case letter "L" for the -p option in the patch command (as the error message is telling you). It should be a numeral one. In some fonts it is hard to tell the difference.
P.S.: This right here is why I copy and paste nearly every command from the beginning of the LFS book to the end of building a BLFS system. I often type make or make install, but everything else I copy and paste. I don't view that as a sign of weakness or unworthiness. It's just accurate, IMO.
I would say the patch was not applied. The patch command also has a message to tell you that it is applying the patch (patching so-and-so-file...). And another message for when you attempt to run the same patch again. And so on. Patch will tell you what it's doing. But for those times when you weren't watching and aren't sure what happened, you can always exit the build directory back to the source directory (cd ..), delete the build directory, untar the tarball again, and start over. I have often done that when something got botched with patch commands or configure options.
To me, what you posted of yours doesn't compare well. I don't usually test vim (or very many others not specified as critical). But if I did see a test like that one, I think I would not proceed until I found out more about it. You can go directly to the developers with that one by posting it on the lfs-support mailing list. Find out more about subscribing and submitting to it here...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.