Summary: | games-sports/ultimatestunts-0.7.6: fails to build with gcc 4.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 | ||
Attachments: |
ultimatestunts-0.7.6.ebuild.diff
ultimatestunts-0.7.6-gcc-4.7.patch |
Description
Diego Elio Pettenò (RETIRED)
2012-07-14 16:43:57 UTC
Created attachment 318180 [details, diff]
ultimatestunts-0.7.6.ebuild.diff
Created attachment 318182 [details, diff]
ultimatestunts-0.7.6-gcc-4.7.patch
this should fix it
Avoid playing with -fno-strict-aliasing unless you can see it create an issue, it can be a _huge_ penalty. Otherwise patch looks good. (In reply to comment #3) > Avoid playing with -fno-strict-aliasing unless you can see it create an > issue, it can be a _huge_ penalty. > > Otherwise patch looks good. I did that because of [33;01m*[0m QA Notice: Package triggers severe warnings which indicate that it [33;01m*[0m may exhibit random runtime failures. [33;01m*[0m udpnet.cpp:158:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [33;01m*[0m lw.c:67:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] I know, but I'm always tempted not to do unless I can have at least somehow flacky result.. I usually actually check the code myself. + 15 Jul 2012; Julian Ospald <hasufell@gentoo.org> ultimatestunts-0.7.6.ebuild, + +files/ultimatestunts-0.7.6-gcc-4.7.patch: + fix compilation on gcc-4.7 wrt bug #426612 flag-o-matic stuff ditched, will report the QA issues upstream. |