Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 884999 Details for
Bug 1082957
perl does not build with GCC 4.9
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patches ported to 5.18.2
perl-5.18.2-Pass-fwrapv-to-stricter-GCC-4.9.patch (text/plain), 1.76 KB, created by
Petr Pisar
on 2014-04-10 15:12:47 UTC
(
hide
)
Description:
Upstream patches ported to 5.18.2
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2014-04-10 15:12:47 UTC
Size:
1.76 KB
patch
obsolete
>From a8d0bb2102bc09bfdc7e661fb159d9257474f168 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Thu, 10 Apr 2014 16:16:31 +0200 >Subject: [PATCH] Pass -fwrapv to stricter GCC 4.9 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This is port to 5.18.2 of the two upstream patches: > >commit 869747506fd0081f6c7eed149ec6f7adbcc4d5b1 >Author: H.Merijn Brand <h.m.brand@xs4all.nl> >Date: Wed Apr 9 11:16:55 2014 +0200 > > gcc 4.9 by default does some optimizations that break perl (#121505) > > Patch by Tony Cook > >commit 00051dd553979bd2a1dee100c324b59ee76a49e7 >Author: H.Merijn Brand <h.m.brand@xs4all.nl> >Date: Wed Apr 9 12:31:23 2014 +0200 > > -fwrapv is broken prior to gcc-4.3 (googled and patched by Zefram) > >Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com> >--- > Configure | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > >diff --git a/Configure b/Configure >index 37b49c8..47e7b8f 100755 >--- a/Configure >+++ b/Configure >@@ -4520,6 +4520,22 @@ case "$gccversion" in > $rm -f try try.* > esac > >+# gcc 4.9 by default does some optimizations that break perl. >+# see ticket 121505. >+# >+# The -fwrapv disables those optimizations (and probably others,) so >+# for gcc 4.9 (and later, since the optimizations probably won't go >+# away), add -fwrapv unless the user requests -fno-wrapv, which >+# disables -fwrapv, or if the user requests -fsanitize=undefined, >+# which turns the overflows -fwrapv ignores into runtime errors. >+case "$gccversion" in >+4.[3-9].*|4.[1-9][0-9]*|[5-9].*|[1-9][0-9]*) >+ case "$ccflags" in >+ *-fno-wrapv*|*-fsanitize=undefined*|*-fwrapv*) ;; >+ *) ccflags="$ccflags -fwrapv" ;; >+ esac >+esac >+ > : What should the include directory be ? > echo " " > $echo $n "Hmm... $c" >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1082957
: 884999