This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for merging graphite branch (before tuplification)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Sebastian Pop <sebpop at gmail dot com>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>, Jakub Jelinek <jakub at redhat dot com>, David Edelsohn <edelsohn at gmail dot com>, "Harle, Christophe" <christophe dot harle at amd dot com>, Tobias Grosser <grosser at fim dot uni-passau dot de>, Konrad Trifunovic <konrad dot trifunovic at gmail dot com>, Albert Cohen <Albert dot Cohen at inria dot fr>, Roberto Bagnara <bagnara at cs dot unipr dot it>
- Date: Sun, 3 Aug 2008 18:23:00 +0000 (UTC)
- Subject: Re: patch for merging graphite branch (before tuplification)
- References: <cb9d34b20807251914jb7fb76q4452be18461d7464@mail.gmail.com> <84fc9c000807260228h12552595x17b2a7556d35913b@mail.gmail.com> <cb9d34b20808021726w3dcb5015o9b256ef393dba02c@mail.gmail.com>
On Sat, 2 Aug 2008, Sebastian Pop wrote:
> Hi,
>
> The graphite branch has been tuplified and the port to PPL passes the
> graphite testsuite. For building the graphite branch right now, here
> are the steps you'll have to go through:
>
> You have to get a copy of the release 0.9 of PPL from:
> http://www.cs.unipr.it/ppl/Download/
I see this is documented as needing (a) C++, (b) GCC 4.0.3 or later, (c)
GMP compiled with the C++ interface enabled. I believe we previously
reached a conclusion that if GCC is made to require C++ it would work with
any version of GCC 3.4 or later (and did not discuss the question of the
GMP C++ interface). Recall that right now the documented requirement is
that a cross-compiler (so all non-Ada front ends) can be built with GCC
2.95 or later; Ada requires 3.4 or later; and any ISO C compiler should
work for bootstrapping a native compiler.
At this point I think the policy questions regarding the build
requirements for graphite, even as an optional feature, need to be raised
on their own in a thread on the gcc list rather than buried in the patch
discussion.
I also think that the configuration machinery needs to be set up so that
if static versions of Cloog/PPL are being used then the compiler will also
be linked with static libgcc/libstdc++ (-static-libgcc
-Wl,-Bstatic,-lstdc++,-Bdynamic with the GNU linker, other options may be
needed for e.g. OS X), as stated in Ian's slides - even for an optional
feature using C++.
C++ also increases the importance of testing the libraries on all primary
and secondary host OSes.
--
Joseph S. Myers
joseph@codesourcery.com