summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-30 20:31:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-30 20:31:49 (GMT)
commit23ffbc60311a23e7564c2810de04b61c8c152349 (patch)
tree7d26db0ca76b3e8890c767f7ffdeca9e495de7b1
parent75646b1ea4534d0c26917d7d701f84a474102dfc (diff)
complibs: update versions
GMP : 4.3.2, 5.0.1* CLooG/PPL: 0.15.8 0.15.9 libelf : 0.8.13 *: patch series added
-rw-r--r--config/companion_libs/cloog.in10
-rw-r--r--config/companion_libs/gmp.in10
-rw-r--r--config/companion_libs/libelf.in5
-rw-r--r--patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch43
-rw-r--r--patches/libelf/0.8.13/100-fix-64-bit-detection.patch24
5 files changed, 92 insertions, 0 deletions
diff --git a/config/companion_libs/cloog.in b/config/companion_libs/cloog.in
index 1786d81..35edfed 100644
--- a/config/companion_libs/cloog.in
+++ b/config/companion_libs/cloog.in
@@ -6,6 +6,14 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config CLOOG_V_0_15_9
+ bool
+ prompt "0.15.9"
+
+config CLOOG_V_0_15_8
+ bool
+ prompt "0.15.8"
+
config CLOOG_V_0_15_7
bool
prompt "0.15.7"
@@ -35,6 +43,8 @@ config CLOOG_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "0.15.9" if CLOOG_V_0_15_9
+ default "0.15.8" if CLOOG_V_0_15_8
default "0.15.7" if CLOOG_V_0_15_7
default "0.15.6" if CLOOG_V_0_15_6
default "0.15.5" if CLOOG_V_0_15_5
diff --git a/config/companion_libs/gmp.in b/config/companion_libs/gmp.in
index 6702492..900d342 100644
--- a/config/companion_libs/gmp.in
+++ b/config/companion_libs/gmp.in
@@ -6,6 +6,14 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config GMP_V_5_0_1
+ bool
+ prompt "5.0.1"
+
+config GMP_V_4_3_2
+ bool
+ prompt "4.3.2"
+
config GMP_V_4_3_1
bool
prompt "4.3.1"
@@ -30,6 +38,8 @@ config GMP_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "5.0.1" if GMP_V_5_0_1
+ default "4.3.2" if GMP_V_4_3_2
default "4.3.1" if GMP_V_4_3_1
default "4.3.0" if GMP_V_4_3_0
default "4.2.4" if GMP_V_4_2_4
diff --git a/config/companion_libs/libelf.in b/config/companion_libs/libelf.in
index 9cc76b8..04b83e0 100644
--- a/config/companion_libs/libelf.in
+++ b/config/companion_libs/libelf.in
@@ -6,6 +6,10 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBELF_V_0_8_13
+ bool
+ prompt "0.8.13"
+
config LIBELF_V_0_8_12
bool
prompt "0.8.12"
@@ -25,6 +29,7 @@ config LIBELF_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "0.8.13" if LIBELF_V_0_8_13
default "0.8.12" if LIBELF_V_0_8_12
default "0.8.11" if LIBELF_V_0_8_11
default "0.8.10" if LIBELF_V_0_8_10
diff --git a/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch b/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch
new file mode 100644
index 0000000..1683f08
--- /dev/null
+++ b/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch
@@ -0,0 +1,43 @@
+
+# HG changeset patch
+# User Torbjorn Granlund <tege@gmplib.org>
+# Date 1267122532 -3600
+# Node ID 794410151f5f966bcb5c3489b6441614990efe7c
+# Parent 948660e2e56d9cfaae035082b8fd473985505fb6
+Fix a test case to work for long long limbs.
+
+diff -r 948660e2e56d -r 794410151f5f ChangeLog
+--- a/ChangeLog Thu Feb 25 16:08:21 2010 +0100
++++ b/ChangeLog Thu Feb 25 19:28:52 2010 +0100
+@@ -1,5 +1,8 @@
+ 2010-02-25 Torbjorn Granlund <tege@gmplib.org>
+
++ * tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb
++ variables.
++
+ * tests/mpn/t-div.c: Cast a switch index to placate HP's cc.
+ * tests/mpn/t-bdiv.c: Likewise.
+
+diff -r 948660e2e56d -r 794410151f5f tests/mpz/t-perfpow.c
+--- a/tests/mpz/t-perfpow.c Thu Feb 25 16:08:21 2010 +0100
++++ b/tests/mpz/t-perfpow.c Thu Feb 25 19:28:52 2010 +0100
+@@ -2,7 +2,7 @@
+
+ Contributed to the GNU project by Torbjorn Granlund and Martin Boij.
+
+-Copyright 2008, 2009 Free Software Foundation, Inc.
++Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
+
+ This file is part of the GNU MP Library.
+
+@@ -109,7 +109,8 @@
+ {
+ mpz_t n, np, temp, primes[NRP];
+ int i, j, k, unique, destroy, res;
+- unsigned long int nrprimes, primebits, g, exp[NRP], e;
++ unsigned long int nrprimes, primebits;
++ mp_limb_t g, exp[NRP], e;
+ gmp_randstate_ptr rands;
+
+ rands = RANDS;
+
diff --git a/patches/libelf/0.8.13/100-fix-64-bit-detection.patch b/patches/libelf/0.8.13/100-fix-64-bit-detection.patch
new file mode 100644
index 0000000..7995443
--- /dev/null
+++ b/patches/libelf/0.8.13/100-fix-64-bit-detection.patch
@@ -0,0 +1,24 @@
+diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
+--- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
++++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200
+@@ -1595,7 +1595,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ if test "$cross_compiling" = yes; then
+- ac_cv_sizeof_long_long=0
++ ac_cv_sizeof_long_long=8
+ else
+ cat > conftest.$ac_ext <<EOF
+ #line 1602 "configure"
+diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
+--- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
++++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
+@@ -90,7 +90,7 @@
+ AC_CHECK_SIZEOF(short,2)
+ AC_CHECK_SIZEOF(int,4)
+ AC_CHECK_SIZEOF(long,4)
+-AC_CHECK_SIZEOF(long long,0)
++AC_CHECK_SIZEOF(long long,8)
+ # Windows port
+ AC_CHECK_SIZEOF(__int64, 0)
+