public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* in tree PPL/CLooG in combination with GMP/MPFR/MPC
@ 2011-08-23 20:12 Ruben Van Boxem
  0 siblings, 0 replies; only message in thread
From: Ruben Van Boxem @ 2011-08-23 20:12 UTC (permalink / raw)
  To: gcc; +Cc: Ralf.Wildenhues, NightStrike

Hi,

Lately, I've been trying to get a full libiconv/GMP/MPFR/MPC/PPL/CLooG
GCC build working.

From vanilla 4.5/4.6/trunk sources, I got the libiconv/GMP/MPFR/MPC
combination to work.

With the patches attached to:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50139
I got all the prerequisite libraries built (checked the "make" output)
for several host platforms (apple-darwin10, linux-gnu, and mingw32),
but the resulting GCC executables did not have graphite enabled.

I noticed in the cc1 link command that CLooG libs were missing (not
the PPL libraries though):
86_64-w64-mingw32-gcc   -D__USE_MINGW_ACCESS -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wc++-compat   -DHAVE_CONFIG_H -Wl,--stack,12582912 -o cc1.exe
c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o
c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o
c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o
c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o
c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o
c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o msformat-c.o \
  cc1-checksum.o main.o  libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lstdc++
-L/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./ppl/interfaces/C/.libs
-L/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./ppl/src/.libs
-lppl_c -lppl  -lgmpxx
-L/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./gmp/.libs
-L/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./mpfr/.libs
-L/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./mpc/src/.libs
-lmpc -lmpfr -lgmp  -lstdc++ -L../zlib -lz

I think there is a  because these graphite object files were built:
graphite.o
graphite-blocking.o
graphite-clast-to-gimple.o
graphite-cloog-util.o
graphite-dependences.o
graphite-flattening.o
graphite-interchange.o
graphite-poly.o
graphite-ppl.o
graphite-scop-detection.o
graphite-sese-to-poly.o

with the following command:
x86_64-w64-mingw32-gcc -c   -D__USE_MINGW_ACCESS -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wc++-compat   -DHAVE_CONFIG_H -I. -I.
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc/.
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc/../include
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc/../libcpp/include
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./gmp
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gmp
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./mpfr
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/mpfr
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/mpc/src
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc/../libdecnumber
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc-src/gcc/../libdecnumber/bid
-I../libdecnumber
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./ppl/src
-I/home/ruben/mingw-w64/toolchain/mingw64mingw64/gcc/./ppl/interfaces/C
/some/path/somefile.c -o somefile.o

I'm at a loss :(

I have patched a decent enable_graphite and clooglibs/clooginc in
toplevel configure, but gcc/configure is getting these variables as
empty, whatever I try.

Any assistance would be much appreciated.

Ruben

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-23 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 20:12 in tree PPL/CLooG in combination with GMP/MPFR/MPC Ruben Van Boxem

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).