gcc: rebuild against new ppl and cloog, enable ISL backend.

This commit is contained in:
Juan RP 2012-07-01 17:27:32 +02:00
parent b43a6bbbda
commit a7cbd7d912
10 changed files with 61 additions and 14 deletions

View File

@ -1,8 +1,8 @@
libc.so.6
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
libdl.so.2
libz.so.1
libcloog-isl.so.3
libppl_c.so.4

View File

@ -1,8 +1,8 @@
libc.so.6
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
libdl.so.2
libz.so.1
libcloog-isl.so.3
libppl_c.so.4

View File

@ -1,6 +1,4 @@
libc.so.6
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
@ -9,3 +7,5 @@ libz.so.1
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libcloog-isl.so.3
libppl_c.so.4

View File

@ -1,8 +1,8 @@
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
libdl.so.2
libz.so.1
libc.so.6
libcloog-isl.so.3
libppl_c.so.4

View File

@ -1,8 +1,8 @@
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
libdl.so.2
libz.so.1
libc.so.6
libcloog-isl.so.3
libppl_c.so.4

View File

@ -1,8 +1,8 @@
libc.so.6
libcloog.so.0
libppl_c.so.4
libmpc.so.2
libmpfr.so.4
libgmp.so.10
libdl.so.2
libz.so.1
libcloog-isl.so.3
libppl_c.so.4

View File

@ -0,0 +1,23 @@
--- configure 2011-12-18 20:03:44.000000000 +1000
+++ configure 2012-02-03 17:55:14.885990135 +1000
@@ -6049,8 +6049,8 @@
LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
if test "${cloog_org}" = yes ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
-$as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17 of CLooG" >&5
+$as_echo_n "checking for version 0.17 of CLooG... " >&6; }
if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
$as_echo_n "(cached) " >&6
else
@@ -6061,8 +6061,7 @@
main ()
{
#if CLOOG_VERSION_MAJOR != 0 \
- || CLOOG_VERSION_MINOR != 16 \
- || CLOOG_VERSION_REVISION < 1
+ || CLOOG_VERSION_MINOR != 17
choke me
#endif
;

View File

@ -0,0 +1,11 @@
--- libgo/runtime/print.c 2012-05-26 04:22:14.000000000 +1000
+++ libgo/runtime/print.c 2012-06-16 15:06:28.553138502 +1000
@@ -17,7 +17,8 @@
G* g = runtime_g();
if(g == nil || g->writebuf == nil) {
- runtime_write(2, v, n);
+ ssize_t bytesWritten = runtime_write(2, v, n);
+ (void)bytesWritten;
return;
}

View File

@ -0,0 +1,11 @@
--- configure.orig 2012-07-01 17:01:26.754771029 +0200
+++ configure 2012-07-01 17:02:05.402843729 +0200
@@ -5690,7 +5690,7 @@ int
main ()
{
- #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
+ #if PPL_VERSION_MAJOR > 2 || PPL_VERSION_MINOR > 20
choke me
#endif

View File

@ -2,10 +2,11 @@
pkgname=gcc
_majorver=4.7
version=${_majorver}.1
revision=1
revision=2
distfiles="http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
depends="binutils libgomp>=${_majorver} libitm>=${_majorver} libssp-devel>=${_majorver}"
makedepends="perl flex zlib-devel gmp-devel mpfr-devel mpc-devel cloog-ppl-devel libelf-devel"
makedepends="perl flex zlib-devel gmp-devel mpfr-devel mpc-devel
ppl-devel>=1.0 cloog-devel libelf-devel"
short_desc="The GNU C Compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gcc.gnu.org"
@ -51,6 +52,7 @@ do_configure() {
--disable-rpath --with-system-zlib --enable-shared --enable-lto \
--enable-linker-build-id --enable-gnu-unique-object \
--enable-checking=release --disable-libstdcxx-pch \
--with-ppl --enable-cloog-backend=isl --enable-libstdcxx-time \
${CONFIGURE_SHARED_ARGS}
}