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'm having quite some problems building the gcc-core-3.3.1.tar.bz2(chapter 5-LFS 5.0).
Here's what i've done:
date >> sbu; ../gcc-3.3.1/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c && make BOOT_LDFLAGS="-static" bootstrap && make install; date >> sbu
Everytime i try to build it, it gives an internal compiler error, but never in the same function. I've even removed the bootstrap option, but it still gives the same error...it just appears faster.
this done second, don't add it all on one line........this is not how it
is done in the book...............taking shortcuts like this will
cause alot of errors!!
this done second, don't add it all on one line........this is not how it
is done in the book...............taking shortcuts like this will
cause alot of errors!!
I'm sorry, but executing commands separated by && is the same thing as doing them individually. The second one will only be executed if the first one is sucessfully completed.
I still have the problem. In the make BOOT_LDFLAGS="-static" bootstrap instruccion it always gives an internal compiler errror and never in the same function.
Ok, my problem is covered by the LFS-FAQ:
signal 11: (internal error: Segmentation fault), which sugests it may be a hardware problem.
Altough my machine is not overclocked, it tens to heat a lot and it may also be a memory problem, so i'm going to try to solve it.
Has this happened to anyone? And how was it solved?
A little update on the problem. I have tested the two memory modules with memtest86 and found that only one of them has problems and removed the faulty one, but i still can't compile this package as it continues to deliver internal compiler error:segmentation fault on "random" functions.
I've tried on other distribution, same machine, same problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.