Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547868 - sys-kernel/pf-sources-4.0+ requires gcc 4.9+
Summary: sys-kernel/pf-sources-4.0+ requires gcc 4.9+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 06:28 UTC by thorn
Modified: 2015-04-28 19:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thorn 2015-04-27 06:28:30 UTC
pf-sources include GCC optimizations patch and from pf version 3.19_p2 it will not work with gcc 4.8 as -march=names have changed in 4.9.

Or it may work with CFLAGS="-march=native" I'd guess.

And yes, please upgrade to 4.0-pf2.

Thanks

Reproducible: Always




https://pf.natalenko.name/forum/index.php?topic=290.0
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2015-04-27 20:36:53 UTC
Thanks. bumped and implemented the gcc check in 4.0_p2

+*pf-sources-4.0_p2 (27 Apr 2015)
+
+  27 Apr 2015; Markos Chandras <hwoarang@gentoo.org> +pf-sources-4.0_p2.ebuild:
+  Version bump. Check for active gcc >= 4.9. Bug #547868
+
Comment 2 jorgicio 2015-04-28 03:36:36 UTC
Well... by now, GCC >=4.9 in Gentoo is not stable yet, so it's needed to be unmasked before install that kernel. So... how about people who use the 4.8 GCC?
Comment 3 Jacob Godserv 2015-04-28 16:39:33 UTC
This resolution doesn't seem satisfactory to me. Shouldn't the ebuild should "DEPEND" on >=gcc-4.9 instead of doing a pre-merge check?
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2015-04-28 19:41:14 UTC
(In reply to Jacob Godserv from comment #3)
> This resolution doesn't seem satisfactory to me. Shouldn't the ebuild should
> "DEPEND" on >=gcc-4.9 instead of doing a pre-merge check?

No because even if you depend on gcc-4.9 you can still have 4.8 active. so the dependency is mostly pointless
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2015-04-28 19:41:57 UTC
(In reply to jorgicio from comment #2)
> Well... by now, GCC >=4.9 in Gentoo is not stable yet, so it's needed to be
> unmasked before install that kernel. So... how about people who use the 4.8
> GCC?

sorry can't help you. this is a ~testing package requiring a ~testing ebuild. You are running a mixed system so you need to unmask gcc yourself.