Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406359 - toolchain.eclass and hardcoded cloog paths
Summary: toolchain.eclass and hardcoded cloog paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Whiteboard:
Keywords:
: 438624 (view as bug list)
Depends on: 434816
Blocks:
  Show dependency tree
 
Reported: 2012-02-29 20:46 UTC by SpanKY
Modified: 2015-03-17 05:17 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 SpanKY gentoo-dev 2012-02-29 20:46:23 UTC
toolchain.eclass does:
    confgcc+=" --with-cloog-include=/usr/include/cloog-ppl"
obviously that's no good

i don't suppose there's any way out of this ?  i don't suppose we could have cloog install into /usr/include/cloog/xxx instead of /usr/include/cloog-ppl/cloog/xxx ?  then we wouldn't have to force any paths.

also, seems like the default --with-cloog-libdir behavior is to do -L$with_cloog/lib and since our --with-cloog doesn't include a parameter, we always link with -L/lib ?
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2012-03-01 04:51:31 UTC
dev-libs/cloog installs into /usr/include/cloog.  It was supposed to become the default in 4.6, then again in 4.7, now maybe 4.8...  dev-libs/cloog-ppl was supposed to be a temporary fork but just won't die.  The upstream version will probably work with 4.6+, but not 4.4/4.5.
Comment 2 SpanKY gentoo-dev 2012-03-01 05:17:31 UTC
could you add some comments to the eclass documenting this ugliness ?

i guess we'll have to live with the -I stuff for now, but the -L/lib should get fixed (unless i read the configure scripts wrong)
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-09-12 12:03:12 UTC
(In reply to comment #1)
> dev-libs/cloog installs into /usr/include/cloog.  It was supposed to become
> the default in 4.6, then again in 4.7, now maybe 4.8...  
I think it finally happened, see $URL and bug 434816 (though I cannot reproduce it, i.e. current HEAD compiles fine for me with cloog-ppl)
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2012-09-13 05:56:21 UTC
Yep, when I get some time I need to update the eclass for cloog in 4.8 and slot ppl for older versions (the dlopen patch is ppl version specific).
Comment 5 SpanKY gentoo-dev 2012-10-17 19:45:28 UTC
*** Bug 438624 has been marked as a duplicate of this bug. ***
Comment 6 Anthony Basile gentoo-dev 2014-11-01 13:24:29 UTC
(In reply to Ryan Hill from comment #4)
> Yep, when I get some time I need to update the eclass for cloog in 4.8 and
> slot ppl for older versions (the dlopen patch is ppl version specific).

This is fixed.  Ryan did you forget to close this bug:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.569&r2=1.570

Unless you want to leave this bug open for pre 4.8?
Comment 7 SpanKY gentoo-dev 2014-11-13 05:56:41 UTC
i think we'll just drop graphite support in <gcc-4.8 once we finish stabilizing
Comment 8 SpanKY gentoo-dev 2015-03-17 05:17:41 UTC
dropped via bug 448024