Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548294 - dev-lang/perl-5.20.2 breaks with gcc-5
Summary: dev-lang/perl-5.20.2 breaks with gcc-5
Status: RESOLVED DUPLICATE of bug 548094
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 06:14 UTC by Martin Väth
Modified: 2015-05-01 06:20 UTC (History)
0 users

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


Attachments
Add option -P to cpp to fix compilation with gcc-5 (perl-gcc-5.patch,1.54 KB, patch)
2015-05-01 06:14 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2015-05-01 06:14:09 UTC
Created attachment 402366 [details, diff]
Add option -P to cpp to fix compilation with gcc-5

Since -P is not passed to the cpp preprocessor in perl-5.20.2, errno constants are calculated false with gcc-5, causing e.g. Socket.pm to fail to compile with use strict;

The attached fix is a backport of the upstream fix
https://github.com/Perl/perl5/commit/3bea78d24634e630b610f59957e7a019205a67b2
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-05-01 06:20:35 UTC
This is a duplicate of bug #548094 , can you append your patch/comments there? Thanks =)

*** This bug has been marked as a duplicate of bug 548094 ***