Fwd: Re: compiler optimizations in the book

Gerard Beekmans gerard at linuxfromscratch.org
Sun Jul 16 15:07:24 PDT 2000


----- Forwarded message from Shawn Starr <spstarr at visualnet.rootpass.net> -----

Date: Sun, 16 Jul 2000 03:07:13 -0400 (EDT)
From: Shawn Starr <spstarr at visualnet.rootpass.net>
To: Gerard Beekmans <gerard at linuxfromscratch.org>
cc: LFS Discussion List <lfs-discuss at linuxfromscratch.org>
Subject: Re: compiler optimizations in the book
In-Reply-To: <20000715205551.A568 at lfs.linuxfromscratch.org>


Thats perfect :-)

On Sat, 15 Jul 2000, Gerard Beekmans wrote:

> Ok, I've made it clearer this time. Here's what the book contains (don't
> mind the grammar, it will be fixed before 2.4 is released):
> 
> <para>
> Please keep in mind that if you find that a package doesn't compile and
> gives errors like <quote>segmentation fault, core dumped</quote> it's
> most likely got to do with these compiler optimizations. Try lowering
> the optimizing level by changing -O3 to -O2. If that doesn't work try -O
> or leave it out all together. Also try changing the -mcpu and -march
> variables. Compilers are very sensitive to certain hardware too. The
> fact that I don't have any problems compiling everything with -O3 doesn't
> mean you won't have any problems either. Another problem can be the Binutils
> version that's installed on your system which often causes compilation
> problems in Glibc (most noticable in RedHat because RedHat often uses
> beta software which aren't always very stable. <quote>RedHat likes
> living on the bleeding edge, but leaves the bleeding up to you</quote> 
> (quoted from somebody on the lfs-discuss mailinglist).
> </para>
> 
> 
> -- 
> Gerard Beekmans
> www.linuxfromscratch.org
> 
> -*- If Linux doesn't have the solution, you have the wrong problem -*-
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
> 

----- End forwarded message -----

-- 
TTS Linux Solutions
Gerard Beekmans
http://www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-



More information about the lfs-dev mailing list