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

Bug 41153

Summary: pygtk gives lots and lots of warnings with -O2 gcc flag.
Product: Gentoo Linux Reporter: ferret <ferret-bgo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output from pygtk-2.0.0-r1

Description ferret 2004-02-10 13:32:40 UTC
I'm attaching some output. Note, I realise the subject of this bug isn't the
reason for the compilation failure; the reason is some-other-bug, but never mind
that. The amount of warnings here is ridiculous! My CFLAGS:

CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-mfpmath=387,sse"

However, I tried with CFLAGS="-O2" and the warnings still occurred. With
CFLAGS="-O", it doesn't. Are these non-fatal warnings "worth" a stripping of the
CFLAGS?
Comment 1 ferret 2004-02-10 13:33:48 UTC
Created attachment 25358 [details]
output from pygtk-2.0.0-r1
Comment 2 ferret 2004-02-10 13:35:25 UTC
*** Bug 41154 has been marked as a duplicate of this bug. ***
Comment 3 ferret 2004-02-10 13:35:43 UTC
*** Bug 41155 has been marked as a duplicate of this bug. ***
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-02-10 13:58:35 UTC
not really important. -O2 activates -fstrict-aliasing which produces those warnings. it is the way the bindings are structure that produce the warnings. they won't do anything bad. you can check the gcc info page for more information.