LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-24-2013, 11:49 AM   #31
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85

I suddenly remember a strange problem I had some time ago. I wanted to build a second system on a different computer. I tried to use the same toolchain, and I had completely forgotten that i used '-march=native', which was corei7. (Actually I still don't remember if I really used that for the toolchain, but I couldn't find any other cause for the problem.) I think it was perl that again and again got stuck in an infinite loop of untaring some packages, until all RAM was used and I had to reboot. Somehow I managed to login to a different tty and run, I don't remember if it was 'ps' or something else, where I saw something like 'tar <some package>' again and again, filling the whole screen.

I don't know if I compiled everything before perl on that machine, or if I compiled it on the first machine. I create packages so I could have just installed them, and continued building from there. When I realized what I thought was the problem, I rebuild the new system on the first machine, and made sure to have the right optimization for the computer I was building for, 'core2'. And then there were no problem with perl.

Quote:
Originally Posted by business_kid View Post
Funny how things change. . . It was 10 years ago. Agreed, Lennie. I was somehow thinking if all else fails, replace the headers before starting on ch 5. But I didn't say that, or nearly. Any switch midway would be a disaster. Thanks for tidying up for me.
Thanks for making me remember my mistakes, so I can share them and maybe help someone...
 
Old 06-24-2013, 03:15 PM   #32
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
All LFSers and ex-LFSers have at least one experience of a build that went sadly wrong because of initial toolchain trouble causing issues much later on. If you get into the smaller packages in ch 6 without issue you're usually safe. GCC used to be the big stumbling block when I was doing it, and people using ambitious $CFLAGS settings. HLFS has/had a uclibc build that rarely completes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:52 PM.

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