"stack smashing detected" when make check of glibc
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 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 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
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.
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!
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.