diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018953.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-September/018953.html | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018953.html b/zarb-ml/mageia-dev/2012-September/018953.html new file mode 100644 index 000000000..c9063c66e --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018953.html @@ -0,0 +1,129 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] wine [293158] disable 'fortify' to prevent crashes (mga#6723) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20wine%20%5B293158%5D%20disable%20%27fortify%27%20to%20prevent%20crashes%0A%09%28mga%236723%29&In-Reply-To=%3C50634836.5030309%40mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="018941.html"> + <LINK REL="Next" HREF="018954.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] wine [293158] disable 'fortify' to prevent crashes (mga#6723)</H1> + <B>Anssi Hannula</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20wine%20%5B293158%5D%20disable%20%27fortify%27%20to%20prevent%20crashes%0A%09%28mga%236723%29&In-Reply-To=%3C50634836.5030309%40mageia.org%3E" + TITLE="[Mageia-dev] wine [293158] disable 'fortify' to prevent crashes (mga#6723)">anssi at mageia.org + </A><BR> + <I>Wed Sep 26 20:23:50 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="018941.html">[Mageia-dev] [changelog] [RPM] cauldron core/release perl-App-Module-Locate-0.500.0-1.mga3 +</A></li> + <LI>Next message: <A HREF="018954.html">[Mageia-dev] rpmrc [5221] build with -fPIC on x86_64 too (pok, mdv) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18953">[ date ]</a> + <a href="thread.html#18953">[ thread ]</a> + <a href="subject.html#18953">[ subject ]</a> + <a href="author.html#18953">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>12.09.2012 22:13, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> kirjoitti: +><i> Log Message +</I>><i> +</I>><i> disable 'fortify' to prevent crashes (mga#6723) +</I>[... +><i> Modified: cauldron/wine/current/SPECS/wine.spec +</I>><i> =================================================================== +</I>><i> --- cauldron/wine/current/SPECS/wine.spec 2012-09-12 19:02:56 UTC (rev 293157) +</I>><i> +++ cauldron/wine/current/SPECS/wine.spec 2012-09-12 19:13:38 UTC (rev 293158) +</I>><i> @@ -25,7 +25,7 @@ +</I>><i> Name: wine +</I>><i> Version: 1.5.12 +</I>><i> %define pre 0 +</I>><i> -%define rel 1 +</I>><i> +%define rel 2 +</I>><i> %if %pre +</I>><i> Release: %mkrel 0.%pre.%rel +</I>><i> %define o_ver %version-%pre +</I>><i> @@ -245,6 +245,10 @@ +</I>><i> +</I>><i> %build +</I>><i> autoreconf +</I>><i> +# disable fortify as it breaks wine +</I>><i> +# <A HREF="http://bugs.winehq.org/show_bug.cgi?id=24606#c22">http://bugs.winehq.org/show_bug.cgi?id=24606#c22</A> +</I>><i> +# <A HREF="http://bugs.winehq.org/show_bug.cgi?id=25073">http://bugs.winehq.org/show_bug.cgi?id=25073</A> +</I>><i> +export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno-error" +</I>><i> %configure2_5x --with-x \ +</I>><i> --with-pulse \ +</I>><i> %ifarch x86_64 +</I> +Strange, wine configure script already disables fortify since 1.3.6 (Oct +2010), so something weird must be going on: +<A HREF="http://source.winehq.org/git/wine.git/?a=commitdiff;h=105793bff75f6a869bd9ccfb390b2f88fa861235">http://source.winehq.org/git/wine.git/?a=commitdiff;h=105793bff75f6a869bd9ccfb390b2f88fa861235</A> + +... ok, it is actually because we use -Wp,-D_FORTIFY_SOURCE=2 instead of +-D_FORTIFY_SOURCE=2 and -U_FORTIFY_SOURCE=2 fails to override the +former. So I sent a patch to wine-patches@, no idea if they agree: +<A HREF="http://www.winehq.org/pipermail/wine-patches/2012-September/118257.html">http://www.winehq.org/pipermail/wine-patches/2012-September/118257.html</A> + +Also, a cleaner way to disable fortify is +%define _fortify_cflags %nil + +-- +Anssi Hannula +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="018941.html">[Mageia-dev] [changelog] [RPM] cauldron core/release perl-App-Module-Locate-0.500.0-1.mga3 +</A></li> + <LI>Next message: <A HREF="018954.html">[Mageia-dev] rpmrc [5221] build with -fPIC on x86_64 too (pok, mdv) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18953">[ date ]</a> + <a href="thread.html#18953">[ thread ]</a> + <a href="subject.html#18953">[ subject ]</a> + <a href="author.html#18953">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |