Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366243 - Include tc-has-fortran() in toolchain-funcs.eclass
Summary: Include tc-has-fortran() in toolchain-funcs.eclass
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 339465 361591 368719
  Show dependency tree
 
Reported: 2011-05-06 17:00 UTC by Justin Lecher (RETIRED)
Modified: 2011-06-21 09:18 UTC (History)
0 users

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


Attachments
tc-has-fortran.check (tc-has-fortran.check,202 bytes, text/plain)
2011-05-06 17:01 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2011-05-06 17:00:39 UTC
Problem:

gcc:4.5[fortran]
gcc:4.6[-fortran]

and gcc:4.6 is the active compiler. If an ebuild would depend on gcc[fortran] to have a fortran compiler, it would still fail. Similar situation as with the openmp support. please include the function attached, for checking of a wotrking fortran compiler.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-05-06 17:01:33 UTC
Created attachment 272301 [details]
tc-has-fortran.check

tc-has-fortran.check
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-05-28 11:04:57 UTC
Any reaction here?
Comment 3 SpanKY gentoo-dev 2011-06-07 20:16:00 UTC
the same issue arises for all frontends as they all can be disabled.  i dont see how this is something that really needs "fixing".

if you want to put pretty user friendly polish on fortran and all of its crazy eccentricities (see also Bug 348964), then perhaps it better you write a fortran eclass of some sort and stick all the crazy you want in there.

i dont feel this exploding logic to try and detect user stupidness is appropriate for toolchain-funcs.eclass as it encourages adoption across the tree.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-06-21 09:18:00 UTC
Obsolete, now implemented in fortran 2 eclass