This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, CFT] Fix bootstrap with in-tree ISL
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Tobias Grosser <tobias at grosser dot es>
- Date: Mon, 01 Jun 2015 12:08:18 +0200
- Subject: Re: [PATCH, CFT] Fix bootstrap with in-tree ISL
- Authentication-results: sourceware.org; auth=none
- References: <CAC1BbcRQUA7ZN6ohWJ_cqMENr2NfaxzPcewG77Ac_pToss1oLQ at mail dot gmail dot com>
Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> writes:
> When using an in-tree ISL gcc attempts to determine if it is recent
> enough and AFAIU fails to do so since the system's ISL (which we will not use)
> might be too old and the in-tree ISL is not yet built.
>
> This results in HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE being not
> set and thus compilation of graphite-isl-ast-to-gimple.c fails with
> "template with C linkage".
This test is also extremely fragile in other ways: I just tried to
bootstrap with a self-compiled (external to the tree) isl 0.14, while
configuring with --enable-default-pie. When configuring stage2 gcc, the
HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE test incorrectly fails since
libisl.a contains non-PIC code, so the link test fails ;-(
Again, the resulting failure ("template with C linkate") is hard to
understand. Perhaps it's time to require isl 0.13 or 0.14 and be done
with it?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University