public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50139] New: in-tree GMP/PPL/CLooG is misconfigured
@ 2011-08-20 15:46 vanboxem.ruben at gmail dot com
  2011-08-21 10:49 ` [Bug bootstrap/50139] " vanboxem.ruben at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vanboxem.ruben at gmail dot com @ 2011-08-20 15:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139

             Bug #: 50139
           Summary: in-tree GMP/PPL/CLooG is misconfigured
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vanboxem.ruben@gmail.com


Created attachment 25062
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25062
Patch

When building the Graphite prereqs in-tree

mkdir $GCC_SRC/ppl
mkdir $GCC_SRC/cloog
ln -s $SRC/ppl-0.11.2/* $GCC_SRC/ppl
ln -s $SRC/cloog)0.16.3/* $GCC_SRC/cloog

All subdirectories are detected well, but as some may or may not know, GMP in
tree does not play well with PPL/CLooG in tree, and CLooG(-isl) does not work
well in-tree.

Attached is a patch to add the necessary paths in the various places, using
existing infrastructure.

Some notes before you ask yourself what I did:
 - PPL-0.11.2 has a configure option --with-gmp-build, but it does not seem to
work as MPFR/MPC's options do (ie only the linker uses it, the include path
still needed to be set by CPPFLAGS). My way is a bit more secure for older
versions of PPL as well.
 - CLooG has an half-documented feature (not in the online docs, but you get it
from "configure --help"): --with-gmp-builddir, which is equally broken, as the
C compiler test tries to link with gmp.
 - PPL also needs both the gmp source as gmp build path, because it checks for
gmpxx.h, which is not in the build directory, but gmpxx.h includes gmp.h, which
is only present in the build directory.

The 4.5 and 4.6 branches also work with the CLooG/PPL versions I used here (if
built out-of-tree) so a fix for those branches would be very helpful as well.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/50139] in-tree GMP/PPL/CLooG is misconfigured
  2011-08-20 15:46 [Bug bootstrap/50139] New: in-tree GMP/PPL/CLooG is misconfigured vanboxem.ruben at gmail dot com
@ 2011-08-21 10:49 ` vanboxem.ruben at gmail dot com
  2011-08-21 11:06 ` vanboxem.ruben at gmail dot com
  2014-12-30  4:41 ` nightstrike at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: vanboxem.ruben at gmail dot com @ 2011-08-21 10:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139

--- Comment #1 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 2011-08-21 10:47:56 UTC ---
Created attachment 25064
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25064
patch for 4.5 branch

Attached congruent patch for 4.5 branch


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/50139] in-tree GMP/PPL/CLooG is misconfigured
  2011-08-20 15:46 [Bug bootstrap/50139] New: in-tree GMP/PPL/CLooG is misconfigured vanboxem.ruben at gmail dot com
  2011-08-21 10:49 ` [Bug bootstrap/50139] " vanboxem.ruben at gmail dot com
@ 2011-08-21 11:06 ` vanboxem.ruben at gmail dot com
  2014-12-30  4:41 ` nightstrike at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: vanboxem.ruben at gmail dot com @ 2011-08-21 11:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139

--- Comment #2 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 2011-08-21 10:48:32 UTC ---
Created attachment 25065
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25065
Patch for 4.6 branch

Attached congruent patch for 4.6 branch.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/50139] in-tree GMP/PPL/CLooG is misconfigured
  2011-08-20 15:46 [Bug bootstrap/50139] New: in-tree GMP/PPL/CLooG is misconfigured vanboxem.ruben at gmail dot com
  2011-08-21 10:49 ` [Bug bootstrap/50139] " vanboxem.ruben at gmail dot com
  2011-08-21 11:06 ` vanboxem.ruben at gmail dot com
@ 2014-12-30  4:41 ` nightstrike at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: nightstrike at gmail dot com @ 2014-12-30  4:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139

--- Comment #3 from nightstrike <nightstrike at gmail dot com> ---
Both cloog and ppl have been removed from GCC in favor of just isl.

GCC 4.8 removes ppl in 2012:
https://gcc.gnu.org/ml/gcc-patches/2012-06/msg01470.html

GCC 5.0 removes cloog:
https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01167.html

There's other relevant posts, but you get the idea.  Anyway, this should
eventually be closed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-30  4:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-20 15:46 [Bug bootstrap/50139] New: in-tree GMP/PPL/CLooG is misconfigured vanboxem.ruben at gmail dot com
2011-08-21 10:49 ` [Bug bootstrap/50139] " vanboxem.ruben at gmail dot com
2011-08-21 11:06 ` vanboxem.ruben at gmail dot com
2014-12-30  4:41 ` nightstrike at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).