Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583532 - dev-lang/perl-5.24.0 gcc6 patch
Summary: dev-lang/perl-5.24.0 gcc6 patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 23:29 UTC by Mike Lothian
Modified: 2017-02-21 18:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Perl gcc6 fix (0001-fix-symbol-detection-with-gcc-6-link-time-optimizati.patch,1.49 KB, patch)
2016-05-19 23:29 UTC, Mike Lothian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2016-05-19 23:29:39 UTC
Created attachment 434746 [details, diff]
Perl gcc6 fix

This patch is needed to compile perl with lto on gcc6

Taken from https://rt.perl.org/Public/Bug/Display.html?id=128131
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-05-21 20:26:35 UTC
There's no way we can test this since gcc6 is not in the Gentoo main tree yet.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-01-01 11:02:22 UTC
The patch is scheduled for 5.24.2; I'd suggest we add it in Gentoo already to 5.24.1 proper once that is released and bumped.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-02-21 18:06:35 UTC
Fixed in 5.22.3( final ) and 5.24.1-r1 

commit f7f55098218de72848fed8ab450b5d895efc02eb
Author: Kent Fredric <kentnl@gentoo.org>
Date:   Wed Feb 22 05:56:13 2017 +1300

    dev-lang/perl,virtual/perl-Module-CoreList: Bump to 5.22.3 Final
    
    - Fix bug with patching now-missing CPANPLUS code #608966
    - Update cross-perl to 1.1.4
    - Fix cross-compile bugs
    - Fix GCC6 + lto bugs #583532
    - Backport fixes from Compress-Raw-Zlib 2.074 for zlib 1.2.9+
      #606374
    
    Bug: https://bugs.gentoo.org/608966
    Bug: https://bugs.gentoo.org/583532
    Bug: https://bugs.gentoo.org/606374
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-lang/perl/perl-5.22.3.ebuild | 550 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 550 insertions(+)

commit e03cb8b9c2fee8ea8fbc7668e9b9b01d9fca059a
Author: Kent Fredric <kentnl@gentoo.org>
Date:   Tue Feb 21 15:14:57 2017 +1300

    dev-lang/perl: Update to patchelevel 3
    
    - Fix related to bug #608966 under crossdev where "touch" on a
      path would fail because the parent path did not exist
    - Fix patching failure under crossdev due to SHA1Sums changing
    - Upgrade perl-cross to 1.1.4
    - Fix makefile ordering issue when compiling unicore/ parts
      before Config.pm has been compiled
    - Ensure miniperl is built with the right target arch for
      bootstrap
    - Upgrade base.pm patchset to latest for testing
    - Fix compilation with GCC6 and -flto  #583532
    - Properly fix compilation against newer zlibs #606374 by
      backporting changes to ZLib.xs from Compress-Raw-Zlib 2.074
    
    Bug: https://bugs.gentoo.org/608966
    Bug: https://bugs.gentoo.org/583532
    Bug: https://bugs.gentoo.org/606374
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-lang/perl/perl-5.24.1-r1.ebuild | 559 ++++++++++++++++++++++++++++++++++++
 1 file changed, 559 insertions(+)