summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc10
-rw-r--r--util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch28
-rw-r--r--util/crossgcc/sum/elfutils-0.170.tar.bz2.cksum1
-rw-r--r--util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum1
4 files changed, 6 insertions, 34 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 01c73ccfab..78a10301e5 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -18,8 +18,8 @@
cd $(dirname $0)
-CROSSGCC_DATE="September 19th, 2017"
-CROSSGCC_VERSION="1.48"
+CROSSGCC_DATE="October 11th, 2017"
+CROSSGCC_VERSION="1.49"
CROSSGCC_COMMIT=$( git describe )
# default settings
@@ -38,7 +38,7 @@ THREADS=1
GMP_VERSION=6.1.2
MPFR_VERSION=3.1.5
MPC_VERSION=1.0.3
-LIBELF_VERSION=0.8.13
+LIBELF_VERSION=0.170
GCC_VERSION=6.3.0
GCC_AUTOCONF_VERSION=2.69
BINUTILS_VERSION=2.28
@@ -58,7 +58,7 @@ CMAKE_VERSION=3.9.0-rc3
GMP_ARCHIVE="https://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.xz"
MPFR_ARCHIVE="https://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz"
MPC_ARCHIVE="https://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
-LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
+LIBELF_ARCHIVE="https://sourceware.org/elfutils/ftp/${LIBELF_VERSION}/elfutils-${LIBELF_VERSION}.tar.bz2"
GCC_ARCHIVE="https://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
BINUTILS_ARCHIVE="https://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
GDB_ARCHIVE="https://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
@@ -82,7 +82,7 @@ ALL_ARCHIVES="$GMP_ARCHIVE $MPFR_ARCHIVE $MPC_ARCHIVE $LIBELF_ARCHIVE \
GMP_DIR="gmp-${GMP_VERSION}"
MPFR_DIR="mpfr-${MPFR_VERSION}"
MPC_DIR="mpc-${MPC_VERSION}"
-LIBELF_DIR="libelf-${LIBELF_VERSION}"
+LIBELF_DIR="elfutils-${LIBELF_VERSION}"
GCC_DIR="gcc-${GCC_VERSION}"
BINUTILS_DIR="binutils-${BINUTILS_VERSION}"
GDB_DIR="gdb-${GDB_VERSION}"
diff --git a/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch b/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch
deleted file mode 100644
index d80d1c4622..0000000000
--- a/util/crossgcc/patches/libelf-0.8.14_64bit_detection.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-libelf-0.8.13: Fix libelf 64bit detection
-
-Taken from crosstool-ng and and re-applied to 0.8.13
-
-diff -urN libelf-0.8.13.orig/configure libelf-0.8.13/configure
---- libelf-0.8.13.orig/configure 2008-05-23 01:18:03.000000000 -0700
-+++ libelf-0.8.13/configure 2017-07-27 12:41:43.417835628 -0700
-@@ -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 -urN libelf-0.8.13.orig/configure.in libelf-0.8.13/configure.in
---- libelf-0.8.13.orig/configure.in 2008-05-23 01:17:56.000000000 -0700
-+++ libelf-0.8.13/configure.in 2017-07-27 12:41:43.421835676 -0700
-@@ -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)
-
diff --git a/util/crossgcc/sum/elfutils-0.170.tar.bz2.cksum b/util/crossgcc/sum/elfutils-0.170.tar.bz2.cksum
new file mode 100644
index 0000000000..a0647e033f
--- /dev/null
+++ b/util/crossgcc/sum/elfutils-0.170.tar.bz2.cksum
@@ -0,0 +1 @@
+aff6feac0ff69eb7b240babdf2918f640eadb032 tarballs/elfutils-0.170.tar.bz2
diff --git a/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum b/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum
deleted file mode 100644
index daa27c684f..0000000000
--- a/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-c1d6ac5f182d19dd685c4dfd74eedbfe3992425d tarballs/libelf-0.8.13.tar.gz