LinuxQuestions.org
Help answer threads with 0 replies.
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 09-21-2023, 08:40 AM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324

I still haven't got it out of you: Are you using a Red Hat based system? What else still has gcc-5.x?
The reason they are bad news is that Red Hat back ports patches onto older versions on to old stable and very well tested versions to avoid updating software.

LFS pukes on Red Hat based systems.
 
Old 09-21-2023, 08:25 PM   #17
braving
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
I still haven't got it out of you: Are you using a Red Hat based system? What else still has gcc-5.x?
The reason they are bad news is that Red Hat back ports patches onto older versions on to old stable and very well tested versions to avoid updating software.
I have Slackware 14.0 64 bit, and haven't got to updgrade since which really slacks
 
Old 09-21-2023, 08:26 PM   #18
braving
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
Yes, it does. The XFAIL and XPASS (expected failure and unexpected success) are not significant. Expected failures are due to your system, not the software under test, and unexpected passes are just freaks. But if you get a lot of real failures on something as vital as glibc, that indicates a serious problem. The first thing to do is to go to the test website (link given in the gcc build chapter) and see if the official build gave those failures too.
OK, I'll check it out to see if something can be found.
 
Old 09-22-2023, 07:43 AM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Quote:
Originally Posted by braving
I have Slackware 14.0 64 bit...
Hmmm, 2013. That might make an interesting vintage for good red wine or spirits, but hardly for software. If you're on slackware 14.0, you can make a liveslak usb key and build your system on that. Way to go.

If you try to build a modern LFS system on it, I'd expect trouble. And there's not much anyone can do. That has you on glibc-2.15 & kernel 3.2.29 which is probably LTS but that would have expired 4 years ago!
 
Old 09-22-2023, 07:57 AM   #20
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
If you look at the requirements in the Book, you will see that there are minimal version requirements for all the host tools and also maximal requirements for the most important ones like gcc and binutils. As far as I can see you need:
  • Kernel-4.14 and no earlier
    gcc 5.1 -> 13.2
    binutils 2.13.1 -> 2.41
    bash 3.2 minimum

Interestingly there is no specific requirement for glibc.
 
Old 09-22-2023, 01:39 PM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Well, the kernel clearly fails. Binutils and bash pass. Personally I don't think the 4.x kernels would do, as from playing with various github compiles I can tell you there heavy rework on the kernel headers between the 4.x kernels and the 5.x ones.
 
Old 10-17-2023, 09:48 PM   #22
braving
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
To finish this post, the "stack smashing detected" error disappeared after another try of rebuilding the whole process.
 
Old 10-17-2023, 09:57 PM   #23
braving
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
If you look at the requirements in the Book, you will see that there are minimal version requirements for all the host tools and also maximal requirements for the most important ones like gcc and binutils. As far as I can see you need:
  • Kernel-4.14 and no earlier
I built per lfs book 11.3 whose kernel minimum requirement is 3.2, which incidentally is what my host has.
 
Old 10-17-2023, 10:02 PM   #24
braving
LQ Newbie
 
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Well, the kernel clearly fails. Binutils and bash pass. Personally I don't think the 4.x kernels would do, as from playing with various github compiles I can tell you there heavy rework on the kernel headers between the 4.x kernels and the 5.x ones.
Glad to be informed, I didn't know much about that and used slackware 14 as host since it just meet the minimum requirements.
 
Old 10-18-2023, 12:53 AM   #25
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by braving View Post
Glad to be informed, I didn't know much about that and used slackware 14 as host since it just meet the minimum requirements.
Yes, Slackware is known as an excellent LFS host. So is LFS itself actually. I recommend that you build your next LFS out of this one.

A new major release of the kernel always indicates that a lot has changed.
 
  


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
1. stack smashing detected, aborting falkon; 2. browser thinks camera is in use shachter SUSE / openSUSE 7 08-14-2019 11:11 AM
LXer: Firefox 65 Enhances Security on Linux via Stronger "Stack Smashing" Protection LXer Syndicated Linux News 0 01-30-2019 02:21 AM
*** stack smashing detected *** in tcl script ines8989 Linux - Networking 24 05-06-2013 07:09 AM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 03:28 AM
strcat giving a stack smashing detected error ashlesha Programming 2 03-11-2007 11:15 AM

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

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