From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018953.html | 129 ++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018953.html (limited to 'zarb-ml/mageia-dev/2012-September/018953.html') 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 @@ + + + + [Mageia-dev] wine [293158] disable 'fortify' to prevent crashes (mga#6723) + + + + + + + + + +

[Mageia-dev] wine [293158] disable 'fortify' to prevent crashes (mga#6723)

+ Anssi Hannula + anssi at mageia.org +
+ Wed Sep 26 20:23:50 CEST 2012 +

+
+ +
12.09.2012 22:13, root at mageia.org kirjoitti:
+>       Log Message
+> 
+> disable 'fortify' to prevent crashes (mga#6723)
+[...
+> Modified: cauldron/wine/current/SPECS/wine.spec
+> ===================================================================
+> --- cauldron/wine/current/SPECS/wine.spec	2012-09-12 19:02:56 UTC (rev 293157)
+> +++ cauldron/wine/current/SPECS/wine.spec	2012-09-12 19:13:38 UTC (rev 293158)
+> @@ -25,7 +25,7 @@
+>  Name:		wine
+>  Version:	1.5.12
+>  %define pre	0
+> -%define rel	1
+> +%define rel	2
+>  %if %pre
+>  Release:	%mkrel 0.%pre.%rel
+>  %define o_ver	%version-%pre
+> @@ -245,6 +245,10 @@
+>  
+>  %build
+>  autoreconf
+> +# disable fortify as it breaks wine
+> +# http://bugs.winehq.org/show_bug.cgi?id=24606#c22
+> +# http://bugs.winehq.org/show_bug.cgi?id=25073
+> +export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno-error"
+>  %configure2_5x	--with-x \
+>  		--with-pulse \
+>  %ifarch x86_64
+
+Strange, wine configure script already disables fortify since 1.3.6 (Oct
+2010), so something weird must be going on:
+http://source.winehq.org/git/wine.git/?a=commitdiff;h=105793bff75f6a869bd9ccfb390b2f88fa861235
+
+... 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:
+http://www.winehq.org/pipermail/wine-patches/2012-September/118257.html
+
+Also, a cleaner way to disable fortify is
+%define _fortify_cflags %nil
+
+-- 
+Anssi Hannula
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1