Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558032 - sys-devel/gcc-5.2.0[graphite] with dev-libs/isl-0.15 - error: isl_constraint has not been declared
Summary: sys-devel/gcc-5.2.0[graphite] with dev-libs/isl-0.15 - error: isl_constraint ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 552278
Blocks:
  Show dependency tree
 
Reported: 2015-08-17 18:22 UTC by Frank Peters
Modified: 2015-08-26 04:43 UTC (History)
1 user (show)

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


Attachments
gcc-5.2.0 with graphite build log (gcc-5.2.0-build.log,544.07 KB, text/plain)
2015-08-17 18:33 UTC, Frank Peters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Peters 2015-08-17 18:22:33 UTC
I was facing the predicament of being unable to update from gcc-4.9.3 to gcc-5.2.0, both with graphite enabled, because of the isl mismatch, i.e gcc-4.9.3 needs isl-0.12.2 while gcc-5.2.0 uses isl-0.15.

To get around this block I first built gcc-5.2.0 without graphite, USE="-graphite", and the build went OK.  Then I installed isl-0.15 and attempted to rebuild gcc-5.2.0 with graphite using gcc-5.2.0.  Bug report #552278 states that the source has been patched to allow building gcc-5.2.0 (and gcc-4,9,3) with isl-0.15.  However, the build fails.

As mentioned, bug #552278 indicates that this should not happen and I was advised to file a new report.

A complete build log is attached.


Reproducible: Always
Comment 1 Frank Peters 2015-08-17 18:33:26 UTC
Created attachment 409294 [details]
gcc-5.2.0 with graphite build log
Comment 2 SpanKY gentoo-dev 2015-08-24 23:34:26 UTC
hmm, looks like i queued the 5.2.0 changes, but never pushed them, and then i lost said changes in the cvs->git transition
Comment 4 Frank Peters 2015-08-26 03:59:02 UTC
It's not fixed yet.

Those patches, 74_all_gcc5_isl-dl.patch and 75_all_gcc5-isl-0.15.patch, do work, but they will NOT be applied with USE='vanilla'.  The gcc-5.2.0.ebuild calls toolchain_src_prepare and this routine will NOT install any patches in the patch tarball with USE='vanilla'.

Those patches should be placed in the files directory of the portage tree and the
source should be patched in the ebuild with:

epatch "${FILESDIR}"/all_gcc5_isl-dl.patch "${FILESDIR}"/all_gcc5-isl-0.15.patch

before toolchain_src_prepare is called.  Only in this way will the source be properly patched when USE='vanilla' is used.
Comment 5 SpanKY gentoo-dev 2015-08-26 04:43:38 UTC
(In reply to Frank Peters from comment #4)

WAI.  if you set USE=vanilla, you get the pieces.