Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41153 - pygtk gives lots and lots of warnings with -O2 gcc flag.
Summary: pygtk gives lots and lots of warnings with -O2 gcc flag.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 41154 41155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-10 13:32 UTC by ferret
Modified: 2004-02-10 13:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from pygtk-2.0.0-r1 (out,102.66 KB, text/plain)
2004-02-10 13:33 UTC, ferret
Details

Note You need to log in before you can comment on or make changes to this bug.
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.