LinuxQuestions.org
Visit Jeremy's Blog.
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 07-27-2014, 01:23 PM   #1
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Rep: Reputation: Disabled
6.9 Glibc fails


I had issues with this before, but the first one is believed by me to be solved. THis would be my fourth time at this point for something to go wrong.
I will attach the my make log.
https://onedrive.live.com/redir?resi...347110C1%21415

Log created with command:
Code:
make -j4 2>>make.log >>make.log
 
Old 07-30-2014, 06:37 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Did you follow the book exactly?
 
Old 07-30-2014, 09:14 PM   #3
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Exactly, as in using the wget list and using md5sum list. As well as,trying my best not to make a typo. I can give you guys more information and a referring thread to a previous problem.
 
Old 07-30-2014, 10:18 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you followed the book exactly then it shouldn't be coughing up an error during the make (building) session.

Try using make -j1, make -j2, or make -j3 and see if it builds. I did hear through the LFS grapevine of some issues with make at times during compile if you use too many parallel processes at once.
 
Old 07-30-2014, 10:53 PM   #5
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
A standard make is my fallback option. I know that if I follow the book, I shouldn't have issues. My problem is that this is my fourth go-round in the build process, and each time sometime go wrongs. Typically, the binutils. First time was accidentally setting the "CC=..." in the main build terminal. The rest have been related to binutils.
 
Old 07-31-2014, 10:42 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
By any chance are you running an AMD CPU from the A4-APU, Athlon II, or Phenom II series?
 
Old 08-01-2014, 05:07 PM   #7
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
First Generation Haswell i5, 16 GB RAM, AMD HD7000 series Graphics
 
Old 08-02-2014, 09:15 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Chapter 6 glibc should only fail under these conditions:

1. Improper mounting of virtual file systems and file systems.

2. Improper chroot login.

3. Improper Linux-headers installation.

4. Improper temporary symlinks to tools systems, and file system directory creation.

Unless you also corrupted the tools chapter 5 build, it should be okay.
 
Old 08-02-2014, 09:48 PM   #9
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Anyway to check for an corrupted Chap 5 build?
 
Old 08-03-2014, 09:32 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Not really, but if you stripped the wrong files it could have if you stripped the static libs.
 
Old 08-11-2014, 11:23 PM   #11
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Well, I rebuilt after cleaning it and got it to boot, now the c character does not exist which quite annoying when c cannot be typed and it happens in chroot. Sounds to me to put in a new thread, which I will do.

Solution I ended using:
1. clean out /usr/local of host
2. update to testing version of host
3. clean LFS directory
4. update book to 20140723
5. try again
6. have LFS distro appear empty
7. try try again
8. find out that partition was not mount and mount
9 copy what I did to right part.
10. have the files mysterious reappear while copying
11. reboot into lfs
12. not able to login due to no password
13. make root passwd
14. reboot into lfs
 
Old 08-12-2014, 05:20 AM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Are you using a non-US keyboard layout?
 
Old 08-12-2014, 06:29 AM   #13
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Yes, standard US layout
 
Old 08-12-2014, 08:03 AM   #14
dmssargent
Member
 
Registered: Jul 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
The soulution to my latest issue was to remove the first line of /etc/inputrc which was the command to generate itself (cat ...).
Now I know what happens if you do that.
 
  


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
GLIBC fails to compile! posix_memalign Linux - Software 5 01-29-2011 01:29 PM
Glibc test suite fails ReyJavikVI Linux From Scratch 6 08-05-2009 08:08 PM
glibc fails to build pauledwards03 Linux - Software 5 10-31-2007 11:16 PM
Glibc compile fails in chapter 5 Weedman Linux From Scratch 6 01-25-2007 11:04 AM
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM

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

All times are GMT -5. The time now is 05:05 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