Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372513 - Why has GCC has its fortran keyword removed and intel's fortran compiler mandated on x86?
Summary: Why has GCC has its fortran keyword removed and intel's fortran compiler mand...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 21:31 UTC by Alex Buell
Modified: 2011-06-22 07:57 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 Alex Buell 2011-06-21 21:31:25 UTC
There are those who really don't want to have to rebuild their compilers (especially their cross compilers) again when keywords such as fortran gets removed. Any ideas why fortran was removed as a keyword and intel's ifc mandated for emerge? It would have been nice to have some notice of this happening, thanks.

Sorry if I am complaining but I'd like to know why this has to happen. 

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-06-22 05:04:44 UTC
Hi Alex, we reordered the dependency chain. We depend now on any fortran compiler not only on gcc[fortran].

Strange atrtifect is, taht Although gcc[fortran] is set as number one choice, portage requests ifort to be emerged. I will test that. meanwhile, just emerge gcc[fortran] and virtual/fortran and you should be fine.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-06-22 05:04:50 UTC
Hi Alex, we reordered the dependency chain. We depend now on any fortran compiler not only on gcc[fortran].

Strange atrtifect is, taht Although gcc[fortran] is set as number one choice, portage requests ifort to be emerged. I will test that. meanwhile, just emerge gcc[fortran] and virtual/fortran and you should be fine.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-06-22 05:38:00 UTC
My test show, that portage want's to emerge gcc[gfortran] and not ifc. So generally the dependencies are resolved as expected. I can't see what is wrong on your system. If you had gcc[gfortran] emerged before, nothing should change for you.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-06-22 05:44:21 UTC
Probably you add

sys-devel/gcc -fortran

to your /etc/portage/package.use
Comment 5 Alex Buell 2011-06-22 07:55:05 UTC
Yes, it still insists on installing ifort if sys-devel/gcc doesn't have fortran keyword set. 

This also effects cross compilers as well (crossdev will need to enable fortran keyword for compilers it builds)
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-06-22 07:57:36 UTC
I added fortran to default use again. Fixed now,