Date: Friday, April 24, 2015 @ 21:14:27 Author: anatolik Revision: 132200
upgpkg: arm-none-eabi-gcc 5.1.0-1 Modified: arm-none-eabi-gcc/trunk/PKGBUILD arm-none-eabi-gcc/trunk/enable-with-multilib-list-for-arm.patch -----------------------------------------+ PKGBUILD | 28 ++++++++++++---------------- enable-with-multilib-list-for-arm.patch | 30 +++++++++++++++--------------- 2 files changed, 27 insertions(+), 31 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-04-24 19:12:38 UTC (rev 132199) +++ PKGBUILD 2015-04-24 19:14:27 UTC (rev 132200) @@ -3,11 +3,10 @@ _target=arm-none-eabi pkgname=$_target-gcc -pkgver=4.9.2 -_islver=0.12.2 -_cloogver=0.18.1 -pkgrel=5 -_snapshot=4.9-20150128 +pkgver=5.1.0 +_islver=0.14.1 +pkgrel=1 +#_snapshot=5.1.0-RC-20150412 pkgdesc='The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target' arch=(i686 x86_64) url='http://gcc.gnu.org/' @@ -16,15 +15,13 @@ makedepends=(gmp mpfr $_target-newlib) optdepends=('arm-none-eabi-newlib: Standard C library optimized for embedded systems') options=(!emptydirs !strip) -source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-$pkgver.tar.bz2 - ftp://gcc.gnu.org/pub/gcc/snapshots/$_snapshot/gcc-$_snapshot.tar.bz2 +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-$pkgver.tar.bz2 + #ftp://gcc.gnu.org/pub/gcc/snapshots/$_snapshot/gcc-$_snapshot.tar.bz2 http://isl.gforge.inria.fr/isl-$_islver.tar.bz2 - http://www.bastoul.net/cloog/pages/download/cloog-$_cloogver.tar.gz enable-with-multilib-list-for-arm.patch) -sha256sums=('a6f8617b0cc3403ecc442476583ca8904f7008f31ef9862ebc02c6de5f0afcc9' - 'f4b3dbee9712850006e44f0db2103441ab3d13b406f77996d1df19ee89d11fb4' - '02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196' - '95a1ae356a6a4f25577bbaa6a83e00cc1ddcebd99e9d3b2bf2c81c5e3d495a77') +sha256sums=('b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad' + '1f20561843eb9f6ae2076800bc45f3680ff7696520257cd5734ccfb843464cae' + 'ee8c74097c1ff01918bda9acf9b45783fd3ba3a4c493e9e9255fa3c2130bf690') if [ -n "$_snapshot" ]; then _basedir=gcc-$_snapshot @@ -35,9 +32,8 @@ prepare() { cd $_basedir - # link isl/cloog for in-tree builds + # link isl for in-tree builds ln -s ../isl-$_islver isl - ln -s ../cloog-$_cloogver cloog echo $pkgver > gcc/BASE-VER @@ -78,10 +74,9 @@ --with-gmp \ --with-mpfr \ --with-mpc \ - --with-cloog \ --with-isl \ - --enable-cloog-backend=isl \ --with-libelf \ + --enable-gnu-indirect-function \ --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' \ --with-pkgversion='Arch Repository' \ --with-bugurl='https://bugs.archlinux.org/' \ @@ -128,4 +123,5 @@ # Remove files that conflict with host gcc package rm -r "$pkgdir"/usr/share/man/man7 rm -r "$pkgdir"/usr/share/info + rm "$pkgdir"/usr/lib/libcc1.* } Modified: enable-with-multilib-list-for-arm.patch =================================================================== --- enable-with-multilib-list-for-arm.patch 2015-04-24 19:12:38 UTC (rev 132199) +++ enable-with-multilib-list-for-arm.patch 2015-04-24 19:14:27 UTC (rev 132200) @@ -1,14 +1,14 @@ -commit f93e01ad27a03452914f69eb64df8d3b423d3ee9 +commit 605db6de62e8144a1b8f721c05f40d879f70625b Author: Anatol Pomozov <[email protected]> -Date: Thu Oct 30 14:29:08 2014 -0700 +Date: Fri Jan 30 06:23:17 2015 -0800 ARM patch https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00083/enable-with-multilib-list-for-arm.patch diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 9c67fe2..e791a6b 100644 +index 4ab7405..6e1ea2c 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in -@@ -527,6 +527,7 @@ lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt +@@ -535,6 +535,7 @@ lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt lang_specs_files=@lang_specs_files@ lang_tree_files=@lang_tree_files@ target_cpu_default=@target_cpu_default@ @@ -17,10 +17,10 @@ extra_modes_file=@extra_modes_file@ extra_opt_files=@extra_opt_files@ diff --git a/gcc/config.gcc b/gcc/config.gcc -index 10b0a6e..9022aa4 100644 +index cb08a5c..7bded02 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc -@@ -1043,7 +1043,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) +@@ -1072,7 +1072,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) case ${target} in arm*-*-eabi*) tm_file="$tm_file newlib-stdint.h" @@ -29,7 +29,7 @@ use_gcc_stdint=wrap ;; arm*-*-rtems*) -@@ -3578,42 +3578,6 @@ case "${target}" in +@@ -3684,42 +3684,6 @@ case "${target}" in exit 1 fi @@ -168,18 +168,18 @@ +MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16 +endif diff --git a/gcc/configure b/gcc/configure -index 4022332..e8a1bed 100755 +index 9523773..24952e3 100755 --- a/gcc/configure +++ b/gcc/configure -@@ -761,6 +761,7 @@ LN - LN_S - AWK - SET_MAKE +@@ -763,6 +763,7 @@ SET_MAKE + accel_dir_suffix + real_target_noncanonical + enable_as_accelerator +with_multilib_list REPORT_BUGS_TEXI REPORT_BUGS_TO PKGVERSION -@@ -7409,6 +7410,7 @@ else +@@ -7462,6 +7463,7 @@ else fi @@ -188,10 +188,10 @@ # Checks for other programs # ------------------------- diff --git a/gcc/configure.ac b/gcc/configure.ac -index 02bb306..772515d 100644 +index 68b0ee8..f8a1097 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac -@@ -887,6 +887,7 @@ AC_ARG_WITH(multilib-list, +@@ -925,6 +925,7 @@ AC_ARG_WITH(multilib-list, [AS_HELP_STRING([--with-multilib-list], [select multilibs (AArch64, SH and x86-64 only)])], :, with_multilib_list=default)
