Hi,
On 09/04/2011 04:39 PM, Andrea Musuruane wrote:
Hi,
I was going to update ZSNES to explicitly requires pulseaudio-libs
(BZ #1926) and I found out that ZSNES doesn't compile with gcc 4.6.0
(F15+).
The buildlog is here (for devel):
http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/1018...
The problem seems to be that _FORTIFY_SOURCE breaks parsegen:
https://bugs.launchpad.net/ubuntu/+source/zsnes/+bug/819774/comments/8
Ubuntu *fixed* this disabling _FORTIFY_SOURCE for parsegen. This is
not permitted in Fedora. Unluckily I don't have the necessary
knowledge to fix this myself.
Any help is appreciated.
Hmm, the problem is some auto-generated code, making this not easy and the
error is rather obscure too.
Attached is what I believe is an elegant solution, which only disables
FORTIFY_SOURCE for the auto-generated files. I believe it is even
suitable for sending upstream.
Regards,
Hans