Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4662

Summary: CFLAGS as specified in the FAQ break some programs.
Product: [OLD] Docs-user Reporter: Hynek Schlawack <hynek>
Component: Gentoo Linux FAQAssignee: Gentoo Release Team <releng>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hynek Schlawack 2002-07-07 18:00:57 UTC
After a desperating day of solving a problem I have to report this.

I used to compile everything with the vanilla P4-Flags as specified in make.conf
but yesterday a rebuilt some parts of my system with the specified "-march=i686
-O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -malign-functions=4" and from then on I
couldn't connect to my ISP via the ssh2-protocol. I got the error: "key_verify
failed for server_host_key" all the time, protocol1 however worked perfectly.

I tried the whole day until I rebuilt it again with the vanilla flags and it
started to work fine.

Thus the CFLAGS should be "softened" a bit...especially as newbies often begin
with reading the FAQ (ok, that was quite optimistic :) ).

P.S. Mozilla seems also to crash more often than usual.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-07 11:10:30 UTC
I do not see the problem.  It do state: "When you use any optimizations beyond
-O3, you're really taking the risk of having broken packages.".  Thus if you
used that example which as far as I am concerned, *for people that want to
push things, and know things can break*, you were warned in the FAQ and should
have known that it could break.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2002-12-19 18:22:28 UTC
assigned/fixed borks the database,changing to resolved:fixed.
//ZhEN