complibs: update versions
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Mar 30 22:31:49 2010 +0200 (2010-03-30)
changeset 18734477403726db
parent 1872 d7787259005e
child 1874 712cdb6504aa
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
config/companion_libs/cloog.in
config/companion_libs/gmp.in
config/companion_libs/libelf.in
patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch
patches/libelf/0.8.13/100-fix-64-bit-detection.patch
     1.1 --- a/config/companion_libs/cloog.in	Mon Mar 29 23:37:29 2010 +0200
     1.2 +++ b/config/companion_libs/cloog.in	Tue Mar 30 22:31:49 2010 +0200
     1.3 @@ -6,6 +6,14 @@
     1.4  # Don't remove next line
     1.5  # CT_INSERT_VERSION_BELOW
     1.6  
     1.7 +config CLOOG_V_0_15_9
     1.8 +    bool
     1.9 +    prompt "0.15.9"
    1.10 +
    1.11 +config CLOOG_V_0_15_8
    1.12 +    bool
    1.13 +    prompt "0.15.8"
    1.14 +
    1.15  config CLOOG_V_0_15_7
    1.16      bool
    1.17      prompt "0.15.7"
    1.18 @@ -35,6 +43,8 @@
    1.19      string
    1.20  # Don't remove next line
    1.21  # CT_INSERT_VERSION_STRING_BELOW
    1.22 +    default "0.15.9" if CLOOG_V_0_15_9
    1.23 +    default "0.15.8" if CLOOG_V_0_15_8
    1.24      default "0.15.7" if CLOOG_V_0_15_7
    1.25      default "0.15.6" if CLOOG_V_0_15_6
    1.26      default "0.15.5" if CLOOG_V_0_15_5
     2.1 --- a/config/companion_libs/gmp.in	Mon Mar 29 23:37:29 2010 +0200
     2.2 +++ b/config/companion_libs/gmp.in	Tue Mar 30 22:31:49 2010 +0200
     2.3 @@ -6,6 +6,14 @@
     2.4  # Don't remove next line
     2.5  # CT_INSERT_VERSION_BELOW
     2.6  
     2.7 +config GMP_V_5_0_1
     2.8 +    bool
     2.9 +    prompt "5.0.1"
    2.10 +
    2.11 +config GMP_V_4_3_2
    2.12 +    bool
    2.13 +    prompt "4.3.2"
    2.14 +
    2.15  config GMP_V_4_3_1
    2.16      bool
    2.17      prompt "4.3.1"
    2.18 @@ -30,6 +38,8 @@
    2.19      string
    2.20  # Don't remove next line
    2.21  # CT_INSERT_VERSION_STRING_BELOW
    2.22 +    default "5.0.1" if GMP_V_5_0_1
    2.23 +    default "4.3.2" if GMP_V_4_3_2
    2.24      default "4.3.1" if GMP_V_4_3_1
    2.25      default "4.3.0" if GMP_V_4_3_0
    2.26      default "4.2.4" if GMP_V_4_2_4
     3.1 --- a/config/companion_libs/libelf.in	Mon Mar 29 23:37:29 2010 +0200
     3.2 +++ b/config/companion_libs/libelf.in	Tue Mar 30 22:31:49 2010 +0200
     3.3 @@ -6,6 +6,10 @@
     3.4  # Don't remove next line
     3.5  # CT_INSERT_VERSION_BELOW
     3.6  
     3.7 +config LIBELF_V_0_8_13
     3.8 +    bool
     3.9 +    prompt "0.8.13"
    3.10 +
    3.11  config LIBELF_V_0_8_12
    3.12      bool
    3.13      prompt "0.8.12"
    3.14 @@ -25,6 +29,7 @@
    3.15      string
    3.16  # Don't remove next line
    3.17  # CT_INSERT_VERSION_STRING_BELOW
    3.18 +    default "0.8.13" if LIBELF_V_0_8_13
    3.19      default "0.8.12" if LIBELF_V_0_8_12
    3.20      default "0.8.11" if LIBELF_V_0_8_11
    3.21      default "0.8.10" if LIBELF_V_0_8_10
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/patches/gmp/5.0.1/100-fix-tests-ABI-long-long.patch	Tue Mar 30 22:31:49 2010 +0200
     4.3 @@ -0,0 +1,43 @@
     4.4 +
     4.5 +# HG changeset patch
     4.6 +# User Torbjorn Granlund <tege@gmplib.org>
     4.7 +# Date 1267122532 -3600
     4.8 +# Node ID 794410151f5f966bcb5c3489b6441614990efe7c
     4.9 +# Parent  948660e2e56d9cfaae035082b8fd473985505fb6
    4.10 +Fix a test case to work for long long limbs.
    4.11 +
    4.12 +diff -r 948660e2e56d -r 794410151f5f ChangeLog
    4.13 +--- a/ChangeLog	Thu Feb 25 16:08:21 2010 +0100
    4.14 ++++ b/ChangeLog	Thu Feb 25 19:28:52 2010 +0100
    4.15 +@@ -1,5 +1,8 @@
    4.16 + 2010-02-25  Torbjorn Granlund  <tege@gmplib.org>
    4.17 + 
    4.18 ++	* tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb
    4.19 ++	variables.
    4.20 ++
    4.21 + 	* tests/mpn/t-div.c: Cast a switch index to placate HP's cc.
    4.22 + 	* tests/mpn/t-bdiv.c: Likewise.
    4.23 + 
    4.24 +diff -r 948660e2e56d -r 794410151f5f tests/mpz/t-perfpow.c
    4.25 +--- a/tests/mpz/t-perfpow.c	Thu Feb 25 16:08:21 2010 +0100
    4.26 ++++ b/tests/mpz/t-perfpow.c	Thu Feb 25 19:28:52 2010 +0100
    4.27 +@@ -2,7 +2,7 @@
    4.28 + 
    4.29 +    Contributed to the GNU project by Torbjorn Granlund and Martin Boij.
    4.30 + 
    4.31 +-Copyright 2008, 2009 Free Software Foundation, Inc.
    4.32 ++Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
    4.33 + 
    4.34 + This file is part of the GNU MP Library.
    4.35 + 
    4.36 +@@ -109,7 +109,8 @@
    4.37 + {
    4.38 +   mpz_t n, np, temp, primes[NRP];
    4.39 +   int i, j, k, unique, destroy, res;
    4.40 +-  unsigned long int nrprimes, primebits, g, exp[NRP], e;
    4.41 ++  unsigned long int nrprimes, primebits;
    4.42 ++  mp_limb_t g, exp[NRP], e;
    4.43 +   gmp_randstate_ptr rands;
    4.44 + 
    4.45 +   rands = RANDS;
    4.46 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/patches/libelf/0.8.13/100-fix-64-bit-detection.patch	Tue Mar 30 22:31:49 2010 +0200
     5.3 @@ -0,0 +1,24 @@
     5.4 +diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
     5.5 +--- libelf-0.8.10.orig/configure	2007-09-07 14:08:06.000000000 +0200
     5.6 ++++ libelf-0.8.10/configure	2008-10-23 22:43:19.000000000 +0200
     5.7 +@@ -1595,7 +1595,7 @@
     5.8 +   echo $ac_n "(cached) $ac_c" 1>&6
     5.9 + else
    5.10 +   if test "$cross_compiling" = yes; then
    5.11 +-  ac_cv_sizeof_long_long=0
    5.12 ++  ac_cv_sizeof_long_long=8
    5.13 + else
    5.14 +   cat > conftest.$ac_ext <<EOF
    5.15 + #line 1602 "configure"
    5.16 +diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
    5.17 +--- libelf-0.8.10.orig/configure.in	2007-09-07 14:07:59.000000000 +0200
    5.18 ++++ libelf-0.8.10/configure.in	2008-10-23 22:43:10.000000000 +0200
    5.19 +@@ -90,7 +90,7 @@
    5.20 + AC_CHECK_SIZEOF(short,2)
    5.21 + AC_CHECK_SIZEOF(int,4)
    5.22 + AC_CHECK_SIZEOF(long,4)
    5.23 +-AC_CHECK_SIZEOF(long long,0)
    5.24 ++AC_CHECK_SIZEOF(long long,8)
    5.25 + # Windows port
    5.26 + AC_CHECK_SIZEOF(__int64, 0)
    5.27 +