Bernhard Reutner-Fischer <rep.dot....@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

Reply via email to