[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 12:40:11
  Author: felixonmars
Revision: 399707

upgpkg: gcc 10.2.0-4: Python 3.9 rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 12:38:11 UTC (rev 399706)
+++ PKGBUILD2020-11-09 12:40:11 UTC (rev 399707)
@@ -9,7 +9,7 @@
 pkgver=10.2.0
 _majorver=${pkgver%%.*}
 _islver=0.21
-pkgrel=3
+pkgrel=4
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-09-01 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, September 1, 2020 @ 18:46:48
  Author: bpiotrowski
Revision: 395103

10.2.0-2: linux-api-headers 5.8 rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-01 18:45:35 UTC (rev 395102)
+++ PKGBUILD2020-09-01 18:46:48 UTC (rev 395103)
@@ -9,7 +9,7 @@
 pkgver=10.2.0
 _majorver=${pkgver%%.*}
 _islver=0.21
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-08-09 Thread Bartłomiej Piotrowski via arch-commits
Date: Sunday, August 9, 2020 @ 17:18:45
  Author: bpiotrowski
Revision: 393481

10.2.0-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-09 17:18:13 UTC (rev 393480)
+++ PKGBUILD2020-08-09 17:18:45 UTC (rev 393481)
@@ -6,19 +6,19 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs gcc-d)
-pkgver=10.1.0
+pkgver=10.2.0
 _majorver=${pkgver%%.*}
 _islver=0.21
-pkgrel=2
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='https://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python 
git)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python 
git libxcrypt)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
-# _commit=6957d3e4eef1f4243eb23ff62aea06139ef4415a
+# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35
 # source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
 
source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
@@ -30,7 +30,7 @@
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2'
+sha256sums=('b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c'
 'SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-05-21 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 21, 2020 @ 18:37:48
  Author: foutrelis
Revision: 387366

upgpkg: gcc 10.1.0-2: binutils 2.34-4 rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-21 17:52:21 UTC (rev 387365)
+++ PKGBUILD2020-05-21 18:37:48 UTC (rev 387366)
@@ -9,7 +9,7 @@
 pkgver=10.1.0
 _majorver=${pkgver%%.*}
 _islver=0.21
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)


[arch-commits] Commit in gcc/trunk (PKGBUILD fs64270.patch)

2020-03-12 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, March 12, 2020 @ 21:17:26
  Author: bpiotrowski
Revision: 377438

9.3.0-1

Added:
  gcc/trunk/fs64270.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   24 +++-
 fs64270.patch |   38 ++
 2 files changed, 53 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-12 20:48:37 UTC (rev 377437)
+++ PKGBUILD2020-03-12 21:17:26 UTC (rev 377438)
@@ -6,10 +6,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs gcc-d)
-pkgver=9.2.1+20200130
+pkgver=9.3.0
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=2
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -18,25 +18,28 @@
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
-#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-_commit=6957d3e4eef1f4243eb23ff62aea06139ef4415a
-source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
+# _commit=6957d3e4eef1f4243eb23ff62aea06139ef4415a
+# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
 c89 c99
 gdc_phobos_path.patch
 gdc_artificial_decl.patch
-gdc_thunk_weak_ref.patch)
+gdc_thunk_weak_ref.patch
+fs64270.patch)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('SKIP'
+sha256sums=('71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1'
+'SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
 'c86372c207d174c0918d4aedf1cb79f7fc093649eb1ad8d9450dccc46849d308'
 '3862757491160700ac2fb723096f6f636f303206efd9537149ed348b57d1'
-'9699d7105375754f0dcf6abff87d09b270565bfc6578a13641770f3fc62d678a')
+'9699d7105375754f0dcf6abff87d09b270565bfc6578a13641770f3fc62d678a'
+'f45160f699501568ae9e81127562395dd95b5b4a8e4d55a1615fbb00f9e4deb2')
 
 prepare() {
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
@@ -58,8 +61,11 @@
   patch -p1 -i "$srcdir/gdc_phobos_path.patch"
   patch -p1 -i "$srcdir/gdc_artificial_decl.patch"
   patch -p1 -i "$srcdir/gdc_thunk_weak_ref.patch"
-  #sed -i "/GDCFLAGSX=/s/-Wall/-shared-libphobos -Wall/" libphobos/configure
 
+  # Turn off SSP for nostdlib|nodefaultlibs|ffreestanding
+  # https://bugs.archlinux.org/task/64270
+  patch -p1 -i "$srcdir/fs64270.patch"
+
   mkdir -p "$srcdir/gcc-build"
 }
 

Added: fs64270.patch
===
--- fs64270.patch   (rev 0)
+++ fs64270.patch   2020-03-12 21:17:26 UTC (rev 377438)
@@ -0,0 +1,38 @@
+Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding 
+Change the buffer size.
+
+--- a/gcc/gcc.c2017-07-04 09:15:57.740793000 +0200
 b/gcc/gcc.c2018-03-02 13:58:44.387741114 +0100
+@@ -857,6 +857,12 @@ proper position among the other output f
+ #define LINK_GCC_C_SEQUENCE_SPEC "%G %L %G"
+ #endif
+ 
++#ifdef ENABLE_DEFAULT_SSP
++#define NO_SSP_SPEC 
"%{nostdlib|nodefaultlibs|ffreestanding:-fno-stack-protector} "
++#else
++#define NO_SSP_SPEC ""
++#endif
++
+ #ifndef LINK_SSP_SPEC
+ #ifdef TARGET_LIBC_PROVIDES_SSP
+ #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
+@@ -1131,7 +1148,7 @@ static const char *cc1_options =
+  %{-version:--version}\
+  %{-help=*:--help=%*}\
+  %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\
+- %{fsyntax-only:-o %j} %{-param*}\
++ %{fsyntax-only:-o %j} %{-param*} " NO_SSP_SPEC "\
+  %{coverage:-fprofile-arcs -ftest-coverage}\
+  %{fprofile-arcs|fprofile-generate*|coverage:\
+%{!fprofile-update=singel:\
+--- a/gcc/params.def   2016-03-30 09:47:40.0 +0200
 b/gcc/params.def   2016-09-19 12:56:58.443179039 +0200
+@@ -673,7 +673,7 @@ DEFPARAM (PARAM_INTEGER_SHARE_LIMIT,
+ DEFPARAM (PARAM_SSP_BUFFER_SIZE,
+ "ssp-buffer-size",
+ "The lower bound for a buffer to be considered for stack smashing 
protection.",
+-8, 1, 0)
++4, 1, 0)
+ 
+ DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING,
+ "min-size-for-stack-sharing",


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-02-05 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, February 5, 2020 @ 14:53:55
  Author: bpiotrowski
Revision: 374672

9.2.1+20200130-2: Use $_libdir instead of hardcoding base ver

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-05 14:51:50 UTC (rev 374671)
+++ PKGBUILD2020-02-05 14:53:55 UTC (rev 374672)
@@ -9,7 +9,7 @@
 pkgver=9.2.1+20200130
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -148,7 +148,7 @@
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
 
   make -C $CHOST/libphobos DESTDIR="$pkgdir" install
-  rm -rf "$pkgdir"/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/d/
+  rm -rf "$pkgdir"/$_libdir/include/d/
   rm -f "$pkgdir"/usr/lib/libgphobos.spec
 
   for lib in libgomp \


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-02-04 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, February 5, 2020 @ 06:49:46
  Author: bpiotrowski
Revision: 374622

This turned out not to do what I wanted

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 --
 1 file changed, 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-05 06:14:56 UTC (rev 374621)
+++ PKGBUILD2020-02-05 06:49:46 UTC (rev 374622)
@@ -42,8 +42,6 @@
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
-  echo "Arch Linux $pkgver-$pkgrel" > DEV-PHASE
-
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2020-02-04 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, February 5, 2020 @ 06:14:43
  Author: bpiotrowski
Revision: 374620

9.2.1+20200130-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   41 +++--
 1 file changed, 11 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-05 06:13:51 UTC (rev 374619)
+++ PKGBUILD2020-02-05 06:14:43 UTC (rev 374620)
@@ -6,20 +6,21 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs gcc-d)
-pkgver=9.2.0
+pkgver=9.2.1+20200130
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=4
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='https://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python 
subversion)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python 
git)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-#source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
+_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
+#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+_commit=6957d3e4eef1f4243eb23ff62aea06139ef4415a
+source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
 c89 c99
 gdc_phobos_path.patch
@@ -29,8 +30,7 @@
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206'
-'SKIP'
+sha256sums=('SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
@@ -38,32 +38,12 @@
 '3862757491160700ac2fb723096f6f636f303206efd9537149ed348b57d1'
 '9699d7105375754f0dcf6abff87d09b270565bfc6578a13641770f3fc62d678a')
 
-_svnrev=264010
-_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
-_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
-
-snapshot() {
-  svn export -r${_svnrev} ${_svnurl} gcc-r${_svnrev}
-
-  local datestamp basever _pkgver
-  basever=$(< gcc-r${_svnrev}/gcc/BASE-VER)
-  datestamp=$(< gcc-r${_svnrev}/gcc/DATESTAMP)
-  _pkgver=${basever}-${datestamp}
-
-  mv gcc-r${_svnrev} gcc-${_pkgver}
-  tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
-  rm -rf gcc-${_pkgver}
-  gpg -b gcc-${_pkgver}.tar.xz
-  scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
-
-  echo
-  echo "pkgver=${_pkgver/-/+}"
-}
-
 prepare() {
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
+  echo "Arch Linux $pkgver-$pkgrel" > DEV-PHASE
+
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 
@@ -98,6 +78,7 @@
   --libexecdir=/usr/lib \
   --mandir=/usr/share/man \
   --infodir=/usr/share/info \
+  --with-pkgversion="Arch Linux $pkgver-$pkgrel" \
   --with-bugurl=https://bugs.archlinux.org/ \
   --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d \
   --enable-shared \


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2019-11-13 Thread Christian Hesse via arch-commits
Date: Wednesday, November 13, 2019 @ 12:20:10
  Author: eworm
Revision: 368099

base group removal

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 12:19:13 UTC (rev 368098)
+++ PKGBUILD2019-11-13 12:20:10 UTC (rev 368099)
@@ -143,7 +143,6 @@
 
 package_gcc-libs() {
   pkgdesc='Runtime libraries shipped by GCC'
-  groups=(base)
   depends=('glibc>=2.27')
   options+=(!strip)
   provides=($pkgname-multilib libgo.so libgfortran.so libgphobos.so


[arch-commits] Commit in gcc/trunk (PKGBUILD phobos_path.patch)

2019-10-24 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, October 24, 2019 @ 16:35:33
  Author: bpiotrowski
Revision: 365435

upgpkg: gcc 9.2.0-3

Added:
  gcc/trunk/phobos_path.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   65 +++-
 phobos_path.patch |   14 +++
 2 files changed, 68 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-24 16:30:50 UTC (rev 365434)
+++ PKGBUILD2019-10-24 16:35:33 UTC (rev 365435)
@@ -4,11 +4,11 @@
 # toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
 # NOTE: libtool requires rebuilt with each new gcc version
 
-pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
+pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs gcc-d)
 pkgver=9.2.0
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -20,6 +20,7 @@
 source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 #source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
+phobos_path.patch
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
@@ -28,6 +29,7 @@
 sha256sums=('ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206'
 'SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
+'c86372c207d174c0918d4aedf1cb79f7fc093649eb1ad8d9450dccc46849d308'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
@@ -69,6 +71,10 @@
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
+  # D hacks
+  patch -p1 -i "$srcdir/phobos_path.patch"
+  #sed -i "/GDCFLAGSX=/s/-Wall/-shared-libphobos -Wall/" libphobos/configure
+
   mkdir -p "$srcdir/gcc-build"
 }
 
@@ -86,7 +92,7 @@
   --mandir=/usr/share/man \
   --infodir=/usr/share/info \
   --with-bugurl=https://bugs.archlinux.org/ \
-  --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
+  --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d \
   --enable-shared \
   --enable-threads=posix \
   --with-system-zlib \
@@ -108,7 +114,8 @@
   --enable-checking=release \
   --enable-default-pie \
   --enable-default-ssp \
-  --enable-cet=auto
+  --enable-cet=auto \
+  gdc_include_dir=/usr/include/dlang/gdc
 
   make
 
@@ -119,6 +126,9 @@
 check() {
   cd gcc-build
 
+  # disable libphobos test to avoid segfaults and other unfunny ways to waste 
my time  
+  sed -i '/maybe-check-target-libphobos \\/d' Makefile 
+
   # do not abort on error as some are "expected"
   make -k check || true
   "$srcdir/gcc/contrib/test_summary"
@@ -129,9 +139,9 @@
   groups=(base)
   depends=('glibc>=2.27')
   options+=(!strip)
-  provides=($pkgname-multilib libgo.so libgfortran.so libubsan.so libasan.so
-libtsan.so liblsan.so)
-  replaces=($pkgname-multilib)
+  provides=($pkgname-multilib libgo.so libgfortran.so libgphobos.so
+libubsan.so libasan.so libtsan.so liblsan.so)
+  replaces=($pkgname-multilib libgphobos)
 
   cd gcc-build
   make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
@@ -152,6 +162,10 @@
   make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
 
+  make -C $CHOST/libphobos DESTDIR="$pkgdir" install
+  rm -rf "$pkgdir"/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/d/
+  rm -f "$pkgdir"/usr/lib/libgphobos.spec
+
   for lib in libgomp \
  libitm \
  libquadmath; do
@@ -225,8 +239,8 @@
   install -m644 libiberty/pic/libiberty.a "$pkgdir/usr/lib"
 
   make -C gcc DESTDIR="$pkgdir" install-man install-info
-  rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran}.1
-  rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
+  rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran,gdc}.1
+  rm 
"$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn,gdc}.info
 
   make -C libcpp DESTDIR="$pkgdir" install
   make -C gcc DESTDIR="$pkgdir" install-po
@@ -262,9 +276,9 @@
 
   cd gcc-build
   make -C $CHOST/libgfortran DESTDIR="$pkgdir" install-cafexeclibLTLIBRARIES \
-install-{toolexeclibDATA,nodist_fincludeHEADERS}
+install-{toolexeclibDATA,nodist_fincludeHEADERS,gfor_cHEADERS}
   make -C $CHOST/32/libgfortran DESTDIR=$pkgdir install-cafexeclibLTLIBRARIES \
-install-{toolexeclibDATA,nodist_fincludeHEADERS}
+install-{toolexeclibDATA,nodist_fincludeHEADERS,gfor_cHEADERS}
   make -C 

[arch-commits] Commit in gcc/trunk (PKGBUILD bz90397.patch bz90949.patch)

2019-09-30 Thread Allan McRae via arch-commits
Date: Monday, September 30, 2019 @ 12:08:09
  Author: allan
Revision: 363561

upstream update

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/bz90397.patch
  gcc/trunk/bz90949.patch

---+
 PKGBUILD  |   18 ++-
 bz90397.patch |   14 
 bz90949.patch |   88 
 3 files changed, 4 insertions(+), 116 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-30 12:07:35 UTC (rev 363560)
+++ PKGBUILD2019-09-30 12:08:09 UTC (rev 363561)
@@ -5,7 +5,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=9.1.0
+pkgver=9.2.0
 _majorver=${pkgver:0:1}
 _islver=0.21
 pkgrel=2
@@ -20,20 +20,16 @@
 source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 #source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
-c89 c99
-bz90397.patch
-bz90949.patch)
+c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0'
+sha256sums=('ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206'
 'SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
-'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
-'cc20d05bcc6cb35bf0944b391f0b0380af375f2a8a03ce1cd67835884bc41fac'
-'c860819e730faf1621e1286ebe3a0179df6e25182b81a9ca0a3db02633982a14')
+'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
 _svnrev=264010
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
@@ -61,12 +57,6 @@
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397
-  patch -p0 -i "$srcdir/bz90397.patch"
-
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 
-  patch -p0 -i "$srcdir/bz90949.patch"
-
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 

Deleted: bz90397.patch
===
--- bz90397.patch   2019-09-30 12:07:35 UTC (rev 363560)
+++ bz90397.patch   2019-09-30 12:08:09 UTC (rev 363561)
@@ -1,14 +0,0 @@
-Index: libstdc++-v3/include/std/variant
-===
 libstdc++-v3/include/std/variant   (revision 271082)
-+++ libstdc++-v3/include/std/variant   (revision 271083)
-@@ -1556,7 +1556,8 @@
- #endif
- 
-   template
--  friend constexpr decltype(auto) __detail::__variant::__get(_Vp&& __v);
-+  friend constexpr decltype(auto)
-+  __detail::__variant::__get(_Vp&& __v) noexcept;
- 
-   template
-   friend void* __detail::__variant::__get_storage(_Vp&& __v);

Deleted: bz90949.patch
===
--- bz90949.patch   2019-09-30 12:07:35 UTC (rev 363560)
+++ bz90949.patch   2019-09-30 12:08:09 UTC (rev 363561)
@@ -1,88 +0,0 @@
-Index: gcc/testsuite/gcc.c-torture/execute/pr90949.c
-===
 gcc/testsuite/gcc.c-torture/execute/pr90949.c  (nonexistent)
-+++ gcc/testsuite/gcc.c-torture/execute/pr90949.c  (revision 272555)
-@@ -0,0 +1,42 @@
-+void __attribute__ ((noipa, noinline)) my_puts (const char *str) { }
-+
-+void __attribute__ ((noipa, noinline)) my_free (void *p) { }
-+
-+
-+struct Node
-+{
-+  struct Node *child;
-+};
-+
-+struct Node space[2] = { };
-+
-+struct Node * __attribute__ ((noipa, noinline)) my_malloc (int bytes)
-+{
-+  return [0];
-+}
-+
-+void
-+walk (struct Node *module, int cleanup)
-+{
-+  if (module == 0)
-+{
-+  return;
-+}
-+  if (!cleanup)
-+{
-+  my_puts ("No cleanup");
-+}
-+  walk (module->child, cleanup);
-+  if (cleanup)
-+{
-+  my_free (module);
-+}
-+}
-+
-+int
-+main ()
-+{
-+  struct Node *node = my_malloc (sizeof (struct Node));
-+  node->child = 0;
-+  walk (node, 1);
-+}
-Index: gcc/tree-ssa-copy.c
-===
 gcc/tree-ssa-copy.c(revision 272554)
-+++ gcc/tree-ssa-copy.c(revision 272555)
-@@ -545,13 +545,12 @@
- duplicate_ssa_name_ptr_info (copy_of[i].value,
-  SSA_NAME_PTR_INFO (var));
- /* Points-to information is cfg insensitive,
--   but 

[arch-commits] Commit in gcc/trunk (PKGBUILD bz90397.patch bz90949.patch)

2019-06-22 Thread Bartłomiej Piotrowski via arch-commits
Date: Saturday, June 22, 2019 @ 21:16:32
  Author: bpiotrowski
Revision: 356789

9.1.0-2

- backport fixes for BZ#90397 and BZ#90949
- fix go provides version (FS#62862)

Added:
  gcc/trunk/bz90397.patch
  gcc/trunk/bz90949.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   18 ---
 bz90397.patch |   14 
 bz90949.patch |   88 
 3 files changed, 116 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-22 21:12:21 UTC (rev 356788)
+++ PKGBUILD2019-06-22 21:16:32 UTC (rev 356789)
@@ -8,7 +8,7 @@
 pkgver=9.1.0
 _majorver=${pkgver:0:1}
 _islver=0.21
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -20,7 +20,9 @@
 source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 #source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
-c89 c99)
+c89 c99
+bz90397.patch
+bz90949.patch)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
@@ -29,7 +31,9 @@
 'SKIP'
 '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
-'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
+'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
+'cc20d05bcc6cb35bf0944b391f0b0380af375f2a8a03ce1cd67835884bc41fac'
+'c860819e730faf1621e1286ebe3a0179df6e25182b81a9ca0a3db02633982a14')
 
 _svnrev=264010
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
@@ -57,6 +61,12 @@
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397
+  patch -p0 -i "$srcdir/bz90397.patch"
+
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 
+  patch -p0 -i "$srcdir/bz90949.patch"
+
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 
@@ -332,7 +342,7 @@
 package_gcc-go() {
   pkgdesc='Go front-end for GCC'
   depends=("gcc=$pkgver-$pkgrel")
-  provides=("go=1.10.1" $pkgname-multilib)
+  provides=("go=1.12.2" $pkgname-multilib)
   replaces=($pkgname-multilib)
   conflicts=(go)
 

Added: bz90397.patch
===
--- bz90397.patch   (rev 0)
+++ bz90397.patch   2019-06-22 21:16:32 UTC (rev 356789)
@@ -0,0 +1,14 @@
+Index: libstdc++-v3/include/std/variant
+===
+--- libstdc++-v3/include/std/variant   (revision 271082)
 libstdc++-v3/include/std/variant   (revision 271083)
+@@ -1556,7 +1556,8 @@
+ #endif
+ 
+   template
+-  friend constexpr decltype(auto) __detail::__variant::__get(_Vp&& __v);
++  friend constexpr decltype(auto)
++  __detail::__variant::__get(_Vp&& __v) noexcept;
+ 
+   template
+   friend void* __detail::__variant::__get_storage(_Vp&& __v);

Added: bz90949.patch
===
--- bz90949.patch   (rev 0)
+++ bz90949.patch   2019-06-22 21:16:32 UTC (rev 356789)
@@ -0,0 +1,88 @@
+Index: gcc/testsuite/gcc.c-torture/execute/pr90949.c
+===
+--- gcc/testsuite/gcc.c-torture/execute/pr90949.c  (nonexistent)
 gcc/testsuite/gcc.c-torture/execute/pr90949.c  (revision 272555)
+@@ -0,0 +1,42 @@
++void __attribute__ ((noipa, noinline)) my_puts (const char *str) { }
++
++void __attribute__ ((noipa, noinline)) my_free (void *p) { }
++
++
++struct Node
++{
++  struct Node *child;
++};
++
++struct Node space[2] = { };
++
++struct Node * __attribute__ ((noipa, noinline)) my_malloc (int bytes)
++{
++  return [0];
++}
++
++void
++walk (struct Node *module, int cleanup)
++{
++  if (module == 0)
++{
++  return;
++}
++  if (!cleanup)
++{
++  my_puts ("No cleanup");
++}
++  walk (module->child, cleanup);
++  if (cleanup)
++{
++  my_free (module);
++}
++}
++
++int
++main ()
++{
++  struct Node *node = my_malloc (sizeof (struct Node));
++  node->child = 0;
++  walk (node, 1);
++}
+Index: gcc/tree-ssa-copy.c
+===
+--- gcc/tree-ssa-copy.c(revision 272554)
 gcc/tree-ssa-copy.c(revision 272555)
+@@ -545,13 +545,12 @@
+ duplicate_ssa_name_ptr_info (copy_of[i].value,
+  SSA_NAME_PTR_INFO (var));
+ /* Points-to information is cfg 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2019-05-23 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, May 23, 2019 @ 11:03:32
  Author: bpiotrowski
Revision: 353907

9.1.0-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-23 11:03:23 UTC (rev 353906)
+++ PKGBUILD2019-05-23 11:03:32 UTC (rev 353907)
@@ -5,7 +5,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.3.0
+pkgver=9.1.0
 _majorver=${pkgver:0:1}
 _islver=0.21
 pkgrel=1
@@ -13,20 +13,21 @@
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='https://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python 
subversion)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
 
#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-https://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+#source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
+http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
+sha256sums=('79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0'
 'SKIP'
-'939f524d62ea7738c505aee4cb355107c57c3cc748fa90af2092cf9925687839'
+'777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
@@ -88,7 +89,6 @@
   --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
   --enable-shared \
   --enable-threads=posix \
-  --enable-libmpx \
   --with-system-zlib \
   --with-isl \
   --enable-__cxa_atexit \
@@ -151,8 +151,6 @@
 
   make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
-  make -C $CHOST/libmpx DESTDIR="$pkgdir" install
-  rm -f "$pkgdir/usr/lib/libmpx.spec"
 
   for lib in libgomp \
  libitm \
@@ -218,12 +216,10 @@
   make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/libsanitizer/lsan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
-  make -C $CHOST/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libgomp DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libsanitizer DESTDIR="$pkgdir" 
install-nodist_{saninclude,toolexeclib}HEADERS
   make -C $CHOST/32/libsanitizer/asan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
-  make -C $CHOST/32/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
 
   make -C libiberty DESTDIR="$pkgdir" install
   install -m644 libiberty/pic/libiberty.a "$pkgdir/usr/lib"
@@ -311,7 +307,7 @@
 
   cd "$srcdir"/gcc-build/$CHOST/32/libada
   make DESTDIR=${pkgdir} INSTALL="install" \
-INSTALL_DATA="install -m644" install-gnatlib
+INSTALL_DATA="install -m644" install-libada
 
   ln -s gcc "$pkgdir/usr/bin/gnatgcc"
 
@@ -380,8 +376,6 @@
   done
 
   make -C $CHOST/32/libobjc DESTDIR="$pkgdir" install-libs
-  make -C $CHOST/32/libmpx DESTDIR="$pkgdir" install
-  rm -f "$pkgdir/usr/lib32/libmpx.spec"
 
   # remove files provided by gcc-libs
   rm -rf "$pkgdir"/usr/lib


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2019-05-04 Thread Antonio Rojas via arch-commits
Date: Saturday, May 4, 2019 @ 19:01:01
  Author: arojas
Revision: 352494

https

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-04 19:00:15 UTC (rev 352493)
+++ PKGBUILD2019-05-04 19:01:01 UTC (rev 352494)
@@ -12,13 +12,13 @@
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
-url='http://gcc.gnu.org'
+url='https://gcc.gnu.org'
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
 
#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+https://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
@@ -26,7 +26,7 @@
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

 sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
 'SKIP'
-'d18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859'
+'939f524d62ea7738c505aee4cb355107c57c3cc748fa90af2092cf9925687839'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2019-04-17 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, April 17, 2019 @ 10:43:11
  Author: bpiotrowski
Revision: 350829

8.3.0-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-17 10:43:03 UTC (rev 350828)
+++ PKGBUILD2019-04-17 10:43:11 UTC (rev 350829)
@@ -7,7 +7,7 @@
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
 pkgver=8.3.0
 _majorver=${pkgver:0:1}
-_islver=0.20
+_islver=0.21
 pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
@@ -26,7 +26,7 @@
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

 sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
 'SKIP'
-'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2'
+'d18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2019-02-26 Thread Allan McRae via arch-commits
Date: Tuesday, February 26, 2019 @ 09:41:07
  Author: allan
Revision: 346819

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-26 09:35:30 UTC (rev 346818)
+++ PKGBUILD2019-02-26 09:41:07 UTC (rev 346819)
@@ -5,7 +5,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.2.1+20181127
+pkgver=8.3.0
 _majorver=${pkgver:0:1}
 _islver=0.20
 pkgrel=1
@@ -16,8 +16,8 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
@@ -24,7 +24,7 @@
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('6f64ffda2839e96a8551b767bf4f92be4e7a09377ea40058355b4eeb13bc3800'
+sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
 'SKIP'
 'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-11-29 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, November 29, 2018 @ 13:57:12
  Author: bpiotrowski
Revision: 340644

8.2.1+20181127-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-29 12:36:05 UTC (rev 340643)
+++ PKGBUILD2018-11-29 13:57:12 UTC (rev 340644)
@@ -5,9 +5,9 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.2.1+20180831
+pkgver=8.2.1+20181127
 _majorver=${pkgver:0:1}
-_islver=0.19
+_islver=0.20
 pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
@@ -24,9 +24,9 @@
   86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('725ec907fd7463568ec0c097802824b978a679523a2e3374bdc2e3d265cd2b6c'
+sha256sums=('6f64ffda2839e96a8551b767bf4f92be4e7a09377ea40058355b4eeb13bc3800'
 'SKIP'
-'d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8'
+'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-08-31 Thread Evangelos Foutras via arch-commits
Date: Friday, August 31, 2018 @ 14:25:29
  Author: foutrelis
Revision: 333167

upgpkg: gcc 8.2.1+20180831-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-31 12:06:52 UTC (rev 333166)
+++ PKGBUILD2018-08-31 14:25:29 UTC (rev 333167)
@@ -6,10 +6,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.2.0
+pkgver=8.2.1+20180831
 _majorver=${pkgver:0:1}
 _islver=0.19
-pkgrel=2
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -17,20 +17,21 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
+  86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080'
+sha256sums=('725ec907fd7463568ec0c097802824b978a679523a2e3374bdc2e3d265cd2b6c'
 'SKIP'
 'd59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
-_svnrev=260987
+_svnrev=264010
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-08-20 Thread Bartłomiej Piotrowski via arch-commits
Date: Monday, August 20, 2018 @ 07:17:11
  Author: bpiotrowski
Revision: 332680

gcc-go 8.2.0 supports Go 1.10.1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-20 07:15:52 UTC (rev 332679)
+++ PKGBUILD2018-08-20 07:17:11 UTC (rev 332680)
@@ -336,7 +336,7 @@
 package_gcc-go() {
   pkgdesc='Go front-end for GCC'
   depends=("gcc=$pkgver-$pkgrel")
-  provides=("go=1.8.1" $pkgname-multilib)
+  provides=("go=1.10.1" $pkgname-multilib)
   replaces=($pkgname-multilib)
   conflicts=(go)
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-08-02 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, August 2, 2018 @ 06:30:32
  Author: bpiotrowski
Revision: 330459

8.2.0-2

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-02 06:30:15 UTC (rev 330458)
+++ PKGBUILD2018-08-02 06:30:32 UTC (rev 330459)
@@ -6,10 +6,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.1.1+20180531
+pkgver=8.2.0
 _majorver=${pkgver:0:1}
 _islver=0.19
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -17,14 +17,14 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('a92eb923a4368548666acfc619074c76c4f6cdc34c9348f7e7aa56656aaee0d5'
+sha256sums=('196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080'
 'SKIP'
 'd59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
@@ -107,7 +107,8 @@
   --disable-werror \
   --enable-checking=release \
   --enable-default-pie \
-  --enable-default-ssp
+  --enable-default-ssp \
+  --enable-cet=auto
 
   make
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-06-01 Thread Bartłomiej Piotrowski via arch-commits
Date: Friday, June 1, 2018 @ 13:10:14
  Author: bpiotrowski
Revision: 325499

8.1.1+20180531-1: install lsan and tsan libraries

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 12:39:40 UTC (rev 325498)
+++ PKGBUILD2018-06-01 13:10:14 UTC (rev 325499)
@@ -6,9 +6,9 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=8.1.0
+pkgver=8.1.1+20180531
 _majorver=${pkgver:0:1}
-_islver=0.18
+_islver=0.19
 pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
@@ -17,20 +17,20 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
   33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

-sha256sums=('1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153'
+sha256sums=('a92eb923a4368548666acfc619074c76c4f6cdc34c9348f7e7aa56656aaee0d5'
 'SKIP'
-'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
+'d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
-_svnrev=259195
+_svnrev=260987
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
@@ -128,7 +128,8 @@
   groups=(base)
   depends=('glibc>=2.27')
   options+=(!strip)
-  provides=($pkgname-multilib libgo.so libgfortran.so libubsan.so libasan.so)
+  provides=($pkgname-multilib libgo.so libgfortran.so libubsan.so libasan.so
+libtsan.so liblsan.so)
   replaces=($pkgname-multilib)
 
   cd gcc-build
@@ -214,6 +215,8 @@
   make -C $CHOST/libquadmath DESTDIR="$pkgdir" 
install-nodist_libsubincludeHEADERS
   make -C $CHOST/libsanitizer DESTDIR="$pkgdir" 
install-nodist_{saninclude,toolexeclib}HEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
+  make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
+  make -C $CHOST/libsanitizer/lsan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libgomp DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS


[arch-commits] Commit in gcc/trunk (PKGBUILD bz84080.patch)

2018-05-02 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, May 2, 2018 @ 20:16:58
  Author: bpiotrowski
Revision: 323294

8.1.0-1

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/bz84080.patch

---+
 PKGBUILD  |   27 ++-
 bz84080.patch |   27 ---
 2 files changed, 10 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-02 19:53:08 UTC (rev 323293)
+++ PKGBUILD2018-05-02 20:16:58 UTC (rev 323294)
@@ -6,7 +6,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.3.1+20180406
+pkgver=8.1.0
 _majorver=${pkgver:0:1}
 _islver=0.18
 pkgrel=1
@@ -17,19 +17,18 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
-c89 c99
-bz84080.patch)
+c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
-  13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
-sha256sums=('41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00'
+  13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
+  33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek 

+sha256sums=('1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153'
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
-'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
-'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7')
+'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
 _svnrev=259195
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
@@ -57,9 +56,6 @@
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080
-  patch -p0 -i "$srcdir/bz84080.patch"
-
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 
@@ -132,7 +128,7 @@
   groups=(base)
   depends=('glibc>=2.27')
   options+=(!strip)
-  provides=($pkgname-multilib libgo.so libgfortran.so)
+  provides=($pkgname-multilib libgo.so libgfortran.so libubsan.so libasan.so)
   replaces=($pkgname-multilib)
 
   cd gcc-build
@@ -140,7 +136,6 @@
   rm -f "$pkgdir/$_libdir/libgcc_eh.a"
 
   for lib in libatomic \
- libcilkrts \
  libgfortran \
  libgo \
  libgomp \
@@ -214,7 +209,6 @@
   ln -s /${_libdir}/liblto_plugin.so \
 "$pkgdir/usr/lib/bfd-plugins/"
 
-  make -C $CHOST/libcilkrts DESTDIR="$pkgdir" 
install-nodist_{toolexeclib,cilkinclude}HEADERS
   make -C $CHOST/libgomp DESTDIR="$pkgdir" 
install-nodist_{libsubinclude,toolexeclib}HEADERS
   make -C $CHOST/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/libquadmath DESTDIR="$pkgdir" 
install-nodist_libsubincludeHEADERS
@@ -221,7 +215,6 @@
   make -C $CHOST/libsanitizer DESTDIR="$pkgdir" 
install-nodist_{saninclude,toolexeclib}HEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/libmpx DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
-  make -C $CHOST/32/libcilkrts DESTDIR="$pkgdir" 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libgomp DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
   make -C $CHOST/32/libsanitizer DESTDIR="$pkgdir" 
install-nodist_{saninclude,toolexeclib}HEADERS
@@ -361,6 +354,7 @@
 package_lib32-gcc-libs() {
   pkgdesc='32-bit runtime libraries shipped by GCC'
   depends=('lib32-glibc>=2.27')
+  provides=(libgo.so libgfortran.so libubsan.so libasan.so)
   groups=(multilib-devel)
   options=(!emptydirs !strip)
 
@@ -370,7 +364,6 @@
   rm -f "$pkgdir/$_libdir/32/libgcc_eh.a"
 
   for lib in libatomic \
- libcilkrts \
  libgfortran \
  libgo \
  libgomp \

Deleted: bz84080.patch
===
--- bz84080.patch   2018-05-02 19:53:08 UTC (rev 323293)
+++ bz84080.patch   2018-05-02 20:16:58 UTC (rev 323294)
@@ -1,27 +0,0 @@
-Index: gcc/testsuite/g++.dg/cpp1y/auto-fn47.C
-===
 gcc/testsuite/g++.dg/cpp1y/auto-fn47.C 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-04-10 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, April 10, 2018 @ 19:40:45
  Author: bpiotrowski
Revision: 321503

7.3.1+20180406-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-10 19:40:33 UTC (rev 321502)
+++ PKGBUILD2018-04-10 19:40:45 UTC (rev 321503)
@@ -6,10 +6,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.3.1+20180312
+pkgver=7.3.1+20180406
 _majorver=${pkgver:0:1}
 _islver=0.18
-pkgrel=2
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -17,14 +17,14 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
+#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
-#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99
 bz84080.patch)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
-sha256sums=('c52618f656f2102b3544419e7d0a8a4f4e6ff052783865202be73edf1a40e28b'
+sha256sums=('41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00'
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
@@ -31,7 +31,7 @@
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
 'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7')
 
-_svnrev=258469
+_svnrev=259195
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
@@ -45,6 +45,7 @@
 
   mv gcc-r${_svnrev} gcc-${_pkgver}
   tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
+  rm -rf gcc-${_pkgver}
   gpg -b gcc-${_pkgver}.tar.xz
   scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
 
@@ -129,7 +130,7 @@
 package_gcc-libs() {
   pkgdesc='Runtime libraries shipped by GCC'
   groups=(base)
-  depends=('glibc>=2.26')
+  depends=('glibc>=2.27')
   options+=(!strip)
   provides=($pkgname-multilib libgo.so libgfortran.so)
   replaces=($pkgname-multilib)
@@ -359,7 +360,7 @@
 
 package_lib32-gcc-libs() {
   pkgdesc='32-bit runtime libraries shipped by GCC'
-  depends=('lib32-glibc>=2.26')
+  depends=('lib32-glibc>=2.27')
   groups=(multilib-devel)
   options=(!emptydirs !strip)
 


[arch-commits] Commit in gcc/trunk (PKGBUILD bz84080.patch)

2018-03-20 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, March 20, 2018 @ 12:31:41
  Author: bpiotrowski
Revision: 319689

7.3.1+20180312-2: backport fix for BZ#84080

Added:
  gcc/trunk/bz84080.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   11 ---
 bz84080.patch |   27 +++
 2 files changed, 35 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-20 10:56:10 UTC (rev 319688)
+++ PKGBUILD2018-03-20 12:31:41 UTC (rev 319689)
@@ -9,7 +9,7 @@
 pkgver=7.3.1+20180312
 _majorver=${pkgver:0:1}
 _islver=0.18
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -20,7 +20,8 @@
 source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 #source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
-c89 c99)
+c89 c99
+bz84080.patch)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
 sha256sums=('c52618f656f2102b3544419e7d0a8a4f4e6ff052783865202be73edf1a40e28b'
@@ -27,7 +28,8 @@
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
-'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
+'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
+'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7')
 
 _svnrev=258469
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
@@ -54,6 +56,9 @@
   [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080
+  patch -p0 -i "$srcdir/bz84080.patch"
+
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
 

Added: bz84080.patch
===
--- bz84080.patch   (rev 0)
+++ bz84080.patch   2018-03-20 12:31:41 UTC (rev 319689)
@@ -0,0 +1,27 @@
+Index: gcc/testsuite/g++.dg/cpp1y/auto-fn47.C
+===
+--- gcc/testsuite/g++.dg/cpp1y/auto-fn47.C (nonexistent)
 gcc/testsuite/g++.dg/cpp1y/auto-fn47.C (revision 257630)
+@@ -0,0 +1,6 @@
++// PR c++/84080
++// { dg-do compile { target c++14 } }
++
++template  T foo();
++
++template <> auto foo<0>() { return 42; } // { dg-error "does not match" }
+Index: gcc/cp/pt.c
+===
+--- gcc/cp/pt.c(revision 257629)
 gcc/cp/pt.c(revision 257630)
+@@ -2203,6 +2203,11 @@
+  specialize TMPL will produce DECL.  */
+   continue;
+ 
++if (uses_template_parms (targs))
++  /* We deduced something involving 'auto', which isn't a valid
++ template argument.  */
++  continue;
++
+   /* Remove, from the set of candidates, all those functions
+  whose constraints are not satisfied. */
+   if (flag_concepts && !constraints_satisfied_p (fn, targs))


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-03-14 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, March 14, 2018 @ 08:49:15
  Author: bpiotrowski
Revision: 318954

7.3.1+20180312-1

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   20 
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-14 08:47:09 UTC (rev 318953)
+++ PKGBUILD2018-03-14 08:49:15 UTC (rev 318954)
@@ -6,7 +6,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.3.0
+pkgver=7.3.1+20180312
 _majorver=${pkgver:0:1}
 _islver=0.18
 pkgrel=1
@@ -14,22 +14,22 @@
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='http://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
   13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
-sha256sums=('832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c'
+sha256sums=('c52618f656f2102b3544419e7d0a8a4f4e6ff052783865202be73edf1a40e28b'
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
-_svnrev=256757
+_svnrev=258469
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
@@ -51,7 +51,7 @@
 }
 
 prepare() {
-  ln -s gcc-${pkgver/+/-} gcc
+  [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
   # link isl for in-tree build
@@ -126,7 +126,7 @@
   groups=(base)
   depends=('glibc>=2.26')
   options+=(!strip)
-  provides=($pkgname-multilib)
+  provides=($pkgname-multilib libgo.so libgfortran.so)
   replaces=($pkgname-multilib)
 
   cd gcc-build
@@ -245,6 +245,10 @@
   # remove files provided by lib32-gcc-libs
   rm -f "$pkgdir"/usr/lib32/lib{stdc++,gcc_s}.so
 
+  # byte-compile python libraries
+  python -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/"
+  python -O -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/"
+
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-01-27 Thread Bartłomiej Piotrowski via arch-commits
Date: Saturday, January 27, 2018 @ 11:33:37
  Author: bpiotrowski
Revision: 315490

upgpkg: gcc 7.3.0-1

new upstream release

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-27 09:58:43 UTC (rev 315489)
+++ PKGBUILD2018-01-27 11:33:37 UTC (rev 315490)
@@ -6,7 +6,7 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.2.1+20180116
+pkgver=7.3.0
 _majorver=${pkgver:0:1}
 _islver=0.18
 pkgrel=1
@@ -17,11 +17,13 @@
 makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
-validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # 
bpiotrow...@archlinux.org
-sha256sums=('7757097376a0766bbbeed8c90ee08cab93b33d89f3e72358c8bf984401bf69d9'
+validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
+  13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
+sha256sums=('832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c'
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
@@ -49,7 +51,7 @@
 }
 
 prepare() {
-  mv gcc-${pkgver/+/-} gcc
+  ln -s gcc-${pkgver/+/-} gcc
   cd gcc
 
   # link isl for in-tree build


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-01-17 Thread Jan Steffens via arch-commits
Date: Wednesday, January 17, 2018 @ 19:16:04
  Author: heftig
Revision: 315020

7.2.1+20180116-1: with mpfr 4.0.0

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-17 17:51:46 UTC (rev 315019)
+++ PKGBUILD2018-01-17 19:16:04 UTC (rev 315020)
@@ -6,10 +6,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.2.1+20171224
+pkgver=7.2.1+20180116
 _majorver=${pkgver:0:1}
 _islver=0.18
-pkgrel=2
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -21,13 +21,13 @@
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # 
bpiotrow...@archlinux.org
-sha256sums=('394c416a35dc608e5c9ea5ca902c5b08b51fcbc6b3b39ece05b8eea67033b4a8'
+sha256sums=('7757097376a0766bbbeed8c90ee08cab93b33d89f3e72358c8bf984401bf69d9'
 'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
-_svnrev=255990
+_svnrev=256757
 _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
@@ -49,6 +49,7 @@
 }
 
 prepare() {
+  mv gcc-${pkgver/+/-} gcc
   cd gcc
 
   # link isl for in-tree build


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2018-01-07 Thread Bartłomiej Piotrowski via arch-commits
Date: Sunday, January 7, 2018 @ 19:57:52
  Author: bpiotrowski
Revision: 314251

7.2.1+20171224-2: fix -flto (FS#56992)

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-07 19:57:43 UTC (rev 314250)
+++ PKGBUILD2018-01-07 19:57:52 UTC (rev 314251)
@@ -9,7 +9,7 @@
 pkgver=7.2.1+20171224
 _majorver=${pkgver:0:1}
 _islver=0.18
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -202,7 +202,7 @@
 
   make -C lto-plugin DESTDIR="$pkgdir" install
   install -dm755 "$pkgdir"/usr/lib/bfd-plugins/
-  ln -s /usr/lib/gcc/$CHOST/$pkgver/liblto_plugin.so \
+  ln -s /${_libdir}/liblto_plugin.so \
 "$pkgdir/usr/lib/bfd-plugins/"
 
   make -C $CHOST/libcilkrts DESTDIR="$pkgdir" 
install-nodist_{toolexeclib,cilkinclude}HEADERS


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-12-27 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, December 27, 2017 @ 19:51:33
  Author: bpiotrowski
Revision: 313710

Minor changes to snapshot function

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-27 19:44:16 UTC (rev 313709)
+++ PKGBUILD2017-12-27 19:51:33 UTC (rev 313710)
@@ -42,8 +42,9 @@
   mv gcc-r${_svnrev} gcc-${_pkgver}
   tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
   gpg -b gcc-${_pkgver}.tar.xz
-  #scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
+  scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
 
+  echo
   echo "pkgver=${_pkgver/-/+}"
 }
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-12-27 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, December 27, 2017 @ 19:44:16
  Author: bpiotrowski
Revision: 313709

Add helper function for tarball generation

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   18 ++
 1 file changed, 18 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-27 19:26:14 UTC (rev 313708)
+++ PKGBUILD2017-12-27 19:44:16 UTC (rev 313709)
@@ -27,8 +27,26 @@
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
+_svnrev=255990
+_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
+snapshot() {
+  svn export -r${_svnrev} ${_svnurl} gcc-r${_svnrev}
+
+  local datestamp basever _pkgver
+  basever=$(< gcc-r${_svnrev}/gcc/BASE-VER)
+  datestamp=$(< gcc-r${_svnrev}/gcc/DATESTAMP)
+  _pkgver=${basever}-${datestamp}
+
+  mv gcc-r${_svnrev} gcc-${_pkgver}
+  tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
+  gpg -b gcc-${_pkgver}.tar.xz
+  #scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
+
+  echo "pkgver=${_pkgver/-/+}"
+}
+
 prepare() {
   cd gcc
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-12-27 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, December 27, 2017 @ 19:25:54
  Author: bpiotrowski
Revision: 313707

7.2.1+20171224-1: sync with gcc-7-branch

Also start building and using our own source tarball as upstream's svntogit
falls behind sometimes.

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-27 16:42:43 UTC (rev 313706)
+++ PKGBUILD2017-12-27 19:25:54 UTC (rev 313707)
@@ -6,31 +6,30 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
-pkgver=7.2.1
-_pkgver=${pkgver:0:1}
+pkgver=7.2.1+20171224
+_majorver=${pkgver:0:1}
 _islver=0.18
-pkgrel=3
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='http://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-_commit=ddc276644272d8beda88c0daa17624f6675448ad
-#source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
-source=(https://github.com/gcc-mirror/gcc/archive/${_commit}.tar.gz
+source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
-sha256sums=('dd2b0526c3bdfe32aab96965965be5ffc411a0d2301a5319a0c59426f847c744'
+validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # 
bpiotrow...@archlinux.org
+sha256sums=('394c416a35dc608e5c9ea5ca902c5b08b51fcbc6b3b39ece05b8eea67033b4a8'
+'SKIP'
 '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
 '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
-_libdir=usr/lib/gcc/$CHOST/$pkgver
+_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 
 prepare() {
-  ln -s gcc-${_commit} gcc
   cd gcc
 
   # link isl for in-tree build
@@ -288,15 +287,15 @@
   ln -s gcc "$pkgdir/usr/bin/gnatgcc"
 
   # insist on dynamic linking, but keep static libraries because gnatmake 
complains
-  mv "$pkgdir"/${_libdir}/adalib/libgna{rl,t}-${_pkgver}.so "$pkgdir/usr/lib"
-  ln -s libgnarl-${_pkgver}.so "$pkgdir/usr/lib/libgnarl.so"
-  ln -s libgnat-${_pkgver}.so "$pkgdir/usr/lib/libgnat.so"
+  mv "$pkgdir"/${_libdir}/adalib/libgna{rl,t}-${_majorver}.so "$pkgdir/usr/lib"
+  ln -s libgnarl-${_majorver}.so "$pkgdir/usr/lib/libgnarl.so"
+  ln -s libgnat-${_majorver}.so "$pkgdir/usr/lib/libgnat.so"
   rm -f "$pkgdir"/${_libdir}/adalib/libgna{rl,t}.so
 
   install -d "$pkgdir/usr/lib32/"
-  mv "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}-${_pkgver}.so 
"$pkgdir/usr/lib32"
-  ln -s libgnarl-${_pkgver}.so "$pkgdir/usr/lib32/libgnarl.so"
-  ln -s libgnat-${_pkgver}.so "$pkgdir/usr/lib32/libgnat.so"
+  mv "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}-${_majorver}.so 
"$pkgdir/usr/lib32"
+  ln -s libgnarl-${_majorver}.so "$pkgdir/usr/lib32/libgnarl.so"
+  ln -s libgnat-${_majorver}.so "$pkgdir/usr/lib32/libgnat.so"
   rm -f "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}.so
 
   # Install Runtime Library Exception


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-12-27 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, December 27, 2017 @ 09:06:50
  Author: bpiotrowski
Revision: 313685

7.2.1-3: rebuild against linux-api-headers 4.14.8

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   22 ++
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-27 09:04:20 UTC (rev 313684)
+++ PKGBUILD2017-12-27 09:06:50 UTC (rev 313685)
@@ -9,26 +9,28 @@
 pkgver=7.2.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='http://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen git lib32-glibc)
+makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-_commit=bce1ab0478f96724828df51ccfd43197d917c572
-source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
+_commit=ddc276644272d8beda88c0daa17624f6675448ad
+#source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
+source=(https://github.com/gcc-mirror/gcc/archive/${_commit}.tar.gz
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
-md5sums=('SKIP'
- '11436d6b205e516635b666090b94ab32'
- '3d333df77302ed89e06a4a8539943b7d'
- 'da96f545b863e57c6ab2598c1ea9a740')
+sha256sums=('dd2b0526c3bdfe32aab96965965be5ffc411a0d2301a5319a0c59426f847c744'
+'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
+'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
+'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a')
 
 _libdir=usr/lib/gcc/$CHOST/$pkgver
 
 prepare() {
+  ln -s gcc-${_commit} gcc
   cd gcc
 
   # link isl for in-tree build
@@ -93,10 +95,6 @@
 check() {
   cd gcc-build
 
-  # increase stack size to prevent test failures
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
-  ulimit -s 32768
-
   # do not abort on error as some are "expected"
   make -k check || true
   "$srcdir/gcc/contrib/test_summary"


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-11-28 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, November 28, 2017 @ 21:38:11
  Author: bpiotrowski
Revision: 311128

7.2.1-2: fix issues related to multilib merge

- make lib32-gcc-libs an optional dependency of gcc
- remove conflicting libgo files from gcc-go
- restore 32-bit files for gcc-{ada,fortran,go}

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   34 --
 1 file changed, 24 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-28 19:19:26 UTC (rev 311127)
+++ PKGBUILD2017-11-28 21:38:11 UTC (rev 311128)
@@ -9,7 +9,7 @@
 pkgver=7.2.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
@@ -17,7 +17,7 @@
 makedepends=(binutils libmpc gcc-ada doxygen git lib32-glibc)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-_commit=aa909c285f8dc06238588cb2c045e73dc721ad9b
+_commit=bce1ab0478f96724828df51ccfd43197d917c572
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99)
@@ -130,7 +130,7 @@
   make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
   make -C $CHOST/libmpx DESTDIR="$pkgdir" install
-  rm "$pkgdir"/usr/lib/libmpx.spec
+  rm -f "$pkgdir/usr/lib/libmpx.spec"
 
   for lib in libgomp \
  libitm \
@@ -148,9 +148,9 @@
 
 package_gcc() {
   pkgdesc="The GNU Compiler Collection - C and C++ frontends"
-  depends=("gcc-libs=$pkgver-$pkgrel" "lib32-gcc-libs=$pkgver-$pkgrel"
-   'binutils>=2.28' libmpc)
+  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc)
   groups=('base-devel')
+  optdepends=('lib32-gcc-libs: for generating code for 32-bit ABI')
   provides=($pkgname-multilib)
   replaces=($pkgname-multilib)
   options+=(staticlibs)
@@ -241,6 +241,8 @@
   cd gcc-build
   make -C $CHOST/libgfortran DESTDIR="$pkgdir" install-cafexeclibLTLIBRARIES \
 install-{toolexeclibDATA,nodist_fincludeHEADERS}
+  make -C $CHOST/32/libgfortran DESTDIR=$pkgdir install-cafexeclibLTLIBRARIES \
+install-{toolexeclibDATA,nodist_fincludeHEADERS}
   make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_fincludeHEADERS
   make -C gcc DESTDIR="$pkgdir" fortran.install-{common,man,info}
   install -Dm755 gcc/f951 "$pkgdir/${_libdir}/f951"
@@ -281,6 +283,10 @@
   make DESTDIR="$pkgdir" ada.install-{common,info}
   install -m755 gnat1 "$pkgdir/${_libdir}"
 
+  cd "$srcdir"/gcc-build/$CHOST/32/libada
+  make DESTDIR=${pkgdir} INSTALL="install" \
+INSTALL_DATA="install -m644" install-gnatlib
+
   ln -s gcc "$pkgdir/usr/bin/gnatgcc"
 
   # insist on dynamic linking, but keep static libraries because gnatmake 
complains
@@ -289,6 +295,12 @@
   ln -s libgnat-${_pkgver}.so "$pkgdir/usr/lib/libgnat.so"
   rm -f "$pkgdir"/${_libdir}/adalib/libgna{rl,t}.so
 
+  install -d "$pkgdir/usr/lib32/"
+  mv "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}-${_pkgver}.so 
"$pkgdir/usr/lib32"
+  ln -s libgnarl-${_pkgver}.so "$pkgdir/usr/lib32/libgnarl.so"
+  ln -s libgnat-${_pkgver}.so "$pkgdir/usr/lib32/libgnat.so"
+  rm -f "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}.so
+
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
@@ -304,10 +316,11 @@
 
   cd gcc-build
   make -C $CHOST/libgo DESTDIR="$pkgdir" install-exec-am
+  make -C $CHOST/32/libgo DESTDIR="$pkgdir" install-exec-am
   make DESTDIR="$pkgdir" install-gotools
   make -C gcc DESTDIR="$pkgdir" go.install-{common,man,info}
 
-  rm -f "$pkgdir"/usr/lib/libgo.so*
+  rm -f "$pkgdir"/usr/lib{,32}/libgo.so*
   install -Dm755 gcc/go1 "$pkgdir/${_libdir}/go1"
 
   # Install Runtime Library Exception
@@ -319,12 +332,13 @@
 package_lib32-gcc-libs() {
   pkgdesc='32-bit runtime libraries shipped by GCC'
   depends=('lib32-glibc>=2.26')
+  groups=(multilib-devel)
   options=(!emptydirs !strip)
 
-  cd ${srcdir}/gcc-build
+  cd gcc-build
 
   make -C $CHOST/32/libgcc DESTDIR="$pkgdir" install-shared
-  rm "$pkgdir/$_libdir/32/libgcc_eh.a"
+  rm -f "$pkgdir/$_libdir/32/libgcc_eh.a"
 
   for lib in libatomic \
  libcilkrts \
@@ -341,10 +355,10 @@
 
   make -C $CHOST/32/libobjc DESTDIR="$pkgdir" install-libs
   make -C $CHOST/32/libmpx DESTDIR="$pkgdir" install
-  rm "$pkgdir/usr/lib32/libmpx.spec"
+  rm -f "$pkgdir/usr/lib32/libmpx.spec"
 
   # remove files provided by gcc-libs
-  rm -r "$pkgdir"/usr/lib
+  rm -rf "$pkgdir"/usr/lib
 
   # Install Runtime Library Exception
   install -Dm644 "$srcdir/gcc/COPYING.RUNTIME" \


[arch-commits] Commit in gcc/trunk (PKGBUILD PR82155.patch Revert-eeb6872bf.patch)

2017-11-26 Thread Bartłomiej Piotrowski via arch-commits
Date: Sunday, November 26, 2017 @ 21:23:21
  Author: bpiotrowski
Revision: 310965

7.2.1-1: enable multilib support

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/PR82155.patch
  gcc/trunk/Revert-eeb6872bf.patch

+
 PKGBUILD   |  116 +++--
 PR82155.patch  |  119 ---
 Revert-eeb6872bf.patch |   82 
 3 files changed, 81 insertions(+), 236 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 20:28:31 UTC (rev 310964)
+++ PKGBUILD2017-11-26 21:23:21 UTC (rev 310965)
@@ -5,30 +5,26 @@
 # toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
 # NOTE: libtool requires rebuilt with each new gcc version
 
-pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go)
-pkgver=7.2.0
+pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go lib32-gcc-libs)
+pkgver=7.2.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=3
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL LGPL FDL custom)
 url='http://gcc.gnu.org'
-makedepends=(binutils libmpc gcc-ada doxygen git)
+makedepends=(binutils libmpc gcc-ada doxygen git lib32-glibc)
 checkdepends=(dejagnu inetutils)
 options=(!emptydirs)
-_commit=1bd23ca8c30f4827c4bea23deedf7ca33a86ffb5
+_commit=aa909c285f8dc06238588cb2c045e73dc721ad9b
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
-c89 c99
-Revert-eeb6872bf.patch
-PR82155.patch)
+c89 c99)
 md5sums=('SKIP'
  '11436d6b205e516635b666090b94ab32'
  '3d333df77302ed89e06a4a8539943b7d'
- 'da96f545b863e57c6ab2598c1ea9a740'
- 'e4c9c8b498b04c0f51d219d025ca8407'
- 'e77419f7d25aad0980c765012dc8c417')
+ 'da96f545b863e57c6ab2598c1ea9a740')
 
 _libdir=usr/lib/gcc/$CHOST/$pkgver
 
@@ -42,17 +38,11 @@
   sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 
   # Arch Linux installs x86_64 libraries /lib
-  [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
+  sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
 
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717
-  git apply ../Revert-eeb6872bf.patch
-
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82155
-  patch -p1 -i ../PR82155.patch
-
   mkdir -p "$srcdir/gcc-build"
 }
 
@@ -88,7 +78,7 @@
   --enable-install-libiberty \
   --with-linker-hash-style=gnu \
   --enable-gnu-indirect-function \
-  --disable-multilib \
+  --enable-multilib \
   --disable-werror \
   --enable-checking=release \
   --enable-default-pie \
@@ -112,12 +102,13 @@
   "$srcdir/gcc/contrib/test_summary"
 }
 
-
 package_gcc-libs() {
   pkgdesc='Runtime libraries shipped by GCC'
-  groups=('base')
-  depends=('glibc>=2.25')
+  groups=(base)
+  depends=('glibc>=2.26')
   options+=(!strip)
+  provides=($pkgname-multilib)
+  replaces=($pkgname-multilib)
 
   cd gcc-build
   make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
@@ -130,16 +121,12 @@
  libgomp \
  libitm \
  libquadmath \
- libsanitizer/{a,l,ub}san \
+ libsanitizer/{a,l,ub,t}san \
  libstdc++-v3/src \
  libvtv; do
 make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES
   done
 
-  if [[ $CARCH == "x86_64" ]]; then
-make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" 
install-toolexeclibLTLIBRARIES
-  fi
-
   make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
   make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
   make -C $CHOST/libmpx DESTDIR="$pkgdir" install
@@ -151,6 +138,9 @@
 make -C $CHOST/$lib DESTDIR="$pkgdir" install-info
   done
 
+  # remove files provided by lib32-gcc-libs
+  rm -rf "$pkgdir"/usr/lib32/
+
   # Install Runtime Library Exception
   install -Dm644 "$srcdir/gcc/COPYING.RUNTIME" \
 "$pkgdir/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION"
@@ -158,8 +148,11 @@
 
 package_gcc() {
   pkgdesc="The GNU Compiler Collection - C and C++ frontends"
-  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' 'libmpc')
+  depends=("gcc-libs=$pkgver-$pkgrel" "lib32-gcc-libs=$pkgver-$pkgrel"
+   'binutils>=2.28' libmpc)
   groups=('base-devel')
+  provides=($pkgname-multilib)
+  replaces=($pkgname-multilib)
   options+=(staticlibs)
 
   cd gcc-build
@@ -171,18 +164,22 @@
   install -m755 -t "$pkgdir/${_libdir}/" gcc/{cc1,cc1plus,collect2,lto1}
 
   make -C $CHOST/libgcc DESTDIR="$pkgdir" install
-  rm "$pkgdir"/usr/lib/libgcc_s.so*
+  make -C $CHOST/32/libgcc DESTDIR="$pkgdir" install
+  rm -f "$pkgdir"/usr/lib{,32}/libgcc_s.so*
 
   make -C 

[arch-commits] Commit in gcc/trunk (PKGBUILD PR82155.patch)

2017-09-15 Thread Bartłomiej Piotrowski
Date: Friday, September 15, 2017 @ 13:48:03
  Author: bpiotrowski
Revision: 305601

7.2.0-3: backport patch that should fix ceph compilation

Added:
  gcc/trunk/PR82155.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   11 +++--
 PR82155.patch |  119 
 2 files changed, 127 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-15 13:43:39 UTC (rev 305600)
+++ PKGBUILD2017-09-15 13:48:03 UTC (rev 305601)
@@ -9,7 +9,7 @@
 pkgver=7.2.0
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=2
+pkgrel=3
 pkgdesc='The GNU Compiler Collection'
 arch=(i686 x86_64)
 license=(GPL LGPL FDL custom)
@@ -21,12 +21,14 @@
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 c89 c99
-Revert-eeb6872bf.patch)
+Revert-eeb6872bf.patch
+PR82155.patch)
 md5sums=('SKIP'
  '11436d6b205e516635b666090b94ab32'
  '3d333df77302ed89e06a4a8539943b7d'
  'da96f545b863e57c6ab2598c1ea9a740'
- 'e4c9c8b498b04c0f51d219d025ca8407')
+ 'e4c9c8b498b04c0f51d219d025ca8407'
+ 'e77419f7d25aad0980c765012dc8c417')
 
 _libdir=usr/lib/gcc/$CHOST/$pkgver
 
@@ -48,6 +50,9 @@
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717
   git apply ../Revert-eeb6872bf.patch
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82155
+  patch -p1 -i ../PR82155.patch
+
   mkdir -p "$srcdir/gcc-build"
 }
 

Added: PR82155.patch
===
--- PR82155.patch   (rev 0)
+++ PR82155.patch   2017-09-15 13:48:03 UTC (rev 305601)
@@ -0,0 +1,119 @@
+From: Pierre-Marie de Rodat 
+To: gcc-patches at gcc dot gnu dot org
+Cc: Pierre-Marie de Rodat 
+Subject: [PATCH] [PR82155] Fix crash in dwarf2out_abstract_function
+Date: Tue, 12 Sep 2017 08:00:03 +0200
+Message-Id: <20170912060003.32378-1-dero...@adacore.com>
+X-IsSubscribed: yes
+
+Hello,
+
+This patch is an attempt to fix the crash reported in PR82155.
+
+When generating a C++ class method for a class that is itself nested in
+a class method, dwarf2out_early_global_decl currently leaves the
+existing context DIE as it is if it already exists.  However, it is
+possible that this call happens at a point where this context DIE is
+just a declaration that is itself not located in its own context.
+
+>From there, if dwarf2out_early_global_decl is not called on any of the
+FUNCTION_DECL in the context chain, DIEs will be left badly scoped and
+some (such as the nested method) will be removed by the type pruning
+machinery.  As a consequence, dwarf2out_abstract_function will will
+crash when called on the corresponding DECL because it asserts that the
+DECL has a DIE.
+
+This patch fixes this crash making dwarf2out_early_global_decl process
+context DIEs the same way we process abstract origins for FUNCTION_DECL:
+if the corresponding DIE exists but is only a declaration, call
+dwarf2out_decl anyway on it so that it is turned into a more complete
+DIE and so that it is relocated in the proper context.
+
+Bootstrapped and regtested on x86_64-linux.  The crash this addresses is
+present both on trunk and on the gcc-7 branch: I suggest we commit this
+patch on both branches.  Ok to commit? Thank you in advance!
+
+gcc/
+
+   PR debug/82155
+   * dwarf2out.c (dwarf2out_early_global_decl): Call dwarf2out_decl
+   on the FUNCTION_DECL function context if it has a DIE that is a
+   declaration.
+
+gcc/testsuite/
+
+   * g++.dg/pr82155.C: New testcase.
+---
+ gcc/dwarf2out.c| 10 --
+ gcc/testsuite/g++.dg/pr82155.C | 36 
+ 2 files changed, 44 insertions(+), 2 deletions(-)
+ create mode 100644 gcc/testsuite/g++.dg/pr82155.C
+
+diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
+index 00d6d951ba3..4cfc9c186af 100644
+--- a/gcc/dwarf2out.c
 b/gcc/dwarf2out.c
+@@ -25500,10 +25500,16 @@ dwarf2out_early_global_decl (tree decl)
+so that all nested DIEs are generated at the proper scope in the
+first shot.  */
+ tree context = decl_function_context (decl);
+-if (context != NULL && lookup_decl_die (context) == NULL)
++if (context != NULL)
+   {
++dw_die_ref context_die = lookup_decl_die (context);
+ current_function_decl = context;
+-dwarf2out_decl (context);
++
++/* Avoid emitting DIEs multiple times, but still process CONTEXT
++   enough so that it lands in its own context.  This avoids type
++   pruning issues later on.  */
++if (context_die == NULL || is_declaration_die (context_die))
++  dwarf2out_decl (context);
+   }
+ 
+ /* Emit an abstract origin of a function first.  This happens
+diff --git 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-09-04 Thread Bartłomiej Piotrowski
Date: Monday, September 4, 2017 @ 06:32:55
  Author: bpiotrowski
Revision: 304640

Create correct directory for runtime exception symlink (not like it matters)

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-04 06:29:25 UTC (rev 304639)
+++ PKGBUILD2017-09-04 06:32:55 UTC (rev 304640)
@@ -218,7 +218,7 @@
   make -C $CHOST/libstdc++-v3/doc DESTDIR="$pkgdir" doc-install-man
 
   # Install Runtime Library Exception
-  install -d "$pkgdir/usr/share/licenses/gcc/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
 "$pkgdir/usr/share/licenses/$pkgname/"
 }
@@ -237,7 +237,7 @@
   ln -s gfortran "$pkgdir/usr/bin/f95"
 
   # Install Runtime Library Exception
-  install -d "$pkgdir/usr/share/licenses/gcc/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
 "$pkgdir/usr/share/licenses/$pkgname/"
 }
@@ -252,7 +252,7 @@
   install -m755 gcc/cc1obj{,plus} "$pkgdir/${_libdir}/"
 
   # Install Runtime Library Exception
-  install -d "$pkgdir/usr/share/licenses/gcc/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
 "$pkgdir/usr/share/licenses/$pkgname/"
 }
@@ -275,7 +275,7 @@
   rm -f "$pkgdir"/${_libdir}/adalib/libgna{rl,t}.so
 
   # Install Runtime Library Exception
-  install -d "$pkgdir/usr/share/licenses/gcc/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
 "$pkgdir/usr/share/licenses/$pkgname/"
 }
@@ -295,7 +295,7 @@
   install -Dm755 gcc/go1 "$pkgdir/${_libdir}/go1"
 
   # Install Runtime Library Exception
-  install -d "$pkgdir/usr/share/licenses/gcc/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
   ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
 "$pkgdir/usr/share/licenses/$pkgname/"
 }


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-09-04 Thread Bartłomiej Piotrowski
Date: Monday, September 4, 2017 @ 06:29:25
  Author: bpiotrowski
Revision: 304639

gcc-go: provide go package

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-04 06:15:18 UTC (rev 304638)
+++ PKGBUILD2017-09-04 06:29:25 UTC (rev 304639)
@@ -283,6 +283,7 @@
 package_gcc-go() {
   pkgdesc='Go front-end for GCC'
   depends=("gcc=$pkgver-$pkgrel")
+  provides=("go=1.8.1")
   conflicts=(go)
 
   cd gcc-build


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-08-19 Thread Bartłomiej Piotrowski
Date: Saturday, August 19, 2017 @ 22:15:03
  Author: bpiotrowski
Revision: 302917

7.2.0-2: properly symlink runtime library license exception;\

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-19 22:00:57 UTC (rev 302916)
+++ PKGBUILD2017-08-19 22:15:03 UTC (rev 302917)
@@ -9,7 +9,7 @@
 pkgver=7.2.0
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=1
+pkgrel=2
 pkgdesc='The GNU Compiler Collection'
 arch=(i686 x86_64)
 license=(GPL LGPL FDL custom)
@@ -219,7 +219,8 @@
 
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/gcc/"
-  ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION "$pkgdir/usr/share/licenses/gcc/"
+  ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+"$pkgdir/usr/share/licenses/$pkgname/"
 }
 
 package_gcc-fortran() {
@@ -237,7 +238,8 @@
 
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/gcc/"
-  ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION "$pkgdir/usr/share/licenses/gcc/"
+  ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+"$pkgdir/usr/share/licenses/$pkgname/"
 }
 
 package_gcc-objc() {
@@ -251,7 +253,8 @@
 
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/gcc/"
-  ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION "$pkgdir/usr/share/licenses/gcc/"
+  ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+"$pkgdir/usr/share/licenses/$pkgname/"
 }
 
 package_gcc-ada() {
@@ -273,7 +276,8 @@
 
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/gcc/"
-  ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION "$pkgdir/usr/share/licenses/gcc/"
+  ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+"$pkgdir/usr/share/licenses/$pkgname/"
 }
 
 package_gcc-go() {
@@ -291,5 +295,6 @@
 
   # Install Runtime Library Exception
   install -d "$pkgdir/usr/share/licenses/gcc/"
-  ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION "$pkgdir/usr/share/licenses/gcc/"
+  ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+"$pkgdir/usr/share/licenses/$pkgname/"
 }


[arch-commits] Commit in gcc/trunk (PKGBUILD c89 c99)

2017-08-17 Thread Bartłomiej Piotrowski
Date: Thursday, August 17, 2017 @ 10:45:54
  Author: bpiotrowski
Revision: 302330

7.2.0-1: new upstream release

Added:
  gcc/trunk/c89
  gcc/trunk/c99
Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |  282 +++--
 c89  |   10 ++
 c99  |   10 ++
 3 files changed, 145 insertions(+), 157 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-17 10:44:58 UTC (rev 302329)
+++ PKGBUILD2017-08-17 10:45:54 UTC (rev 302330)
@@ -1,33 +1,37 @@
 # $Id$
-# Maintainer: Allan McRae 
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
 
 # toolchain build order: 
linux-api-headers->glibc->binutils->gcc->binutils->glibc
 # NOTE: libtool requires rebuilt with each new gcc version
 
-pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=7.1.1
+pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go)
+pkgver=7.2.0
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=4
-_commit=d791474f3fc2133fa0c310e566988b0cbdff321e
-pkgdesc="The GNU Compiler Collection"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org;
-makedepends=('binutils>=2.28' 'libmpc' 'gcc-ada' 'doxygen' 'git')
-checkdepends=('dejagnu' 'inetutils')
-options=('!emptydirs')
+pkgrel=1
+pkgdesc='The GNU Compiler Collection'
+arch=(i686 x86_64)
+license=(GPL LGPL FDL custom)
+url='http://gcc.gnu.org'
+makedepends=(binutils libmpc gcc-ada doxygen git)
+checkdepends=(dejagnu inetutils)
+options=(!emptydirs)
+_commit=1bd23ca8c30f4827c4bea23deedf7ca33a86ffb5
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+c89 c99
 Revert-eeb6872bf.patch)
 md5sums=('SKIP'
  '11436d6b205e516635b666090b94ab32'
+ '3d333df77302ed89e06a4a8539943b7d'
+ 'da96f545b863e57c6ab2598c1ea9a740'
  'e4c9c8b498b04c0f51d219d025ca8407')
 
-_libdir="usr/lib/gcc/$CHOST/$pkgver"
+_libdir=usr/lib/gcc/$CHOST/$pkgver
 
 prepare() {
-  cd ${srcdir}/gcc
+  cd gcc
 
   # link isl for in-tree build
   ln -s ../isl-${_islver} isl
@@ -44,11 +48,11 @@
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717
   git apply ../Revert-eeb6872bf.patch
 
-  mkdir ${srcdir}/gcc-build
+  mkdir -p "$srcdir/gcc-build"
 }
 
 build() {
-  cd ${srcdir}/gcc-build
+  cd gcc-build
 
   # using -pipe causes spurious test-suite failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
@@ -55,7 +59,7 @@
   CFLAGS=${CFLAGS/-pipe/}
   CXXFLAGS=${CXXFLAGS/-pipe/}
 
-  ${srcdir}/gcc/configure --prefix=/usr \
+  "$srcdir/gcc/configure" --prefix=/usr \
   --libdir=/usr/lib \
   --libexecdir=/usr/lib \
   --mandir=/usr/share/man \
@@ -92,7 +96,7 @@
 }
 
 check() {
-  cd ${srcdir}/gcc-build
+  cd gcc-build
 
   # increase stack size to prevent test failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
@@ -100,22 +104,20 @@
 
   # do not abort on error as some are "expected"
   make -k check || true
-  ${srcdir}/gcc/contrib/test_summary
+  "$srcdir/gcc/contrib/test_summary"
 }
 
 
-package_gcc-libs()
-{
-  pkgdesc="Runtime libraries shipped by GCC"
+package_gcc-libs() {
+  pkgdesc='Runtime libraries shipped by GCC'
   groups=('base')
   depends=('glibc>=2.25')
-  options=('!emptydirs' '!strip')
+  options+=(!strip)
 
-  cd ${srcdir}/gcc-build
+  cd gcc-build
+  make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
+  rm -f "$pkgdir/$_libdir/libgcc_eh.a"
 
-  make -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
-  rm ${pkgdir}/${_libdir}/libgcc_eh.a
-
   for lib in libatomic \
  libcilkrts \
  libgfortran \
@@ -126,202 +128,168 @@
  libsanitizer/{a,l,ub}san \
  libstdc++-v3/src \
  libvtv; do
-make -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
+make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES
   done
 
-  [[ $CARCH == "x86_64" ]] && \
-make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} 
install-toolexeclibLTLIBRARIES
+  if [[ $CARCH == "x86_64" ]]; then
+make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" 
install-toolexeclibLTLIBRARIES
+  fi
 
-  make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs
+  make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
+  make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
+  make -C $CHOST/libmpx DESTDIR="$pkgdir" install
+  rm "$pkgdir"/usr/lib/libmpx.spec
 
-  make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
-
-  make -C $CHOST/libmpx DESTDIR=${pkgdir} install
-  rm ${pkgdir}/usr/lib/libmpx.spec
-
   for lib in libgomp \
  libitm \
  libquadmath; do
-make -C $CHOST/$lib DESTDIR=${pkgdir} install-info
+make -C $CHOST/$lib DESTDIR="$pkgdir" install-info
   done
 
   # Install Runtime Library Exception
-  install -Dm644 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-06-30 Thread Bartłomiej Piotrowski
Date: Friday, June 30, 2017 @ 13:34:07
  Author: bpiotrowski
Revision: 299432

7.1.1-4: enable SSP and PIE by default

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-30 12:38:02 UTC (rev 299431)
+++ PKGBUILD2017-06-30 13:34:07 UTC (rev 299432)
@@ -8,8 +8,8 @@
 pkgver=7.1.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=3
-_commit=81fc9125b24bba5f2761b7986ff4e3de14740291
+pkgrel=4
+_commit=d791474f3fc2133fa0c310e566988b0cbdff321e
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -81,7 +81,9 @@
   --enable-gnu-indirect-function \
   --disable-multilib \
   --disable-werror \
-  --enable-checking=release
+  --enable-checking=release \
+  --enable-default-pie \
+  --enable-default-ssp
 
   make
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-06-21 Thread Bartłomiej Piotrowski
Date: Wednesday, June 21, 2017 @ 12:17:41
  Author: bpiotrowski
Revision: 299124

7.1.1-3: bump to latest commit

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-21 12:02:25 UTC (rev 299123)
+++ PKGBUILD2017-06-21 12:17:41 UTC (rev 299124)
@@ -8,8 +8,8 @@
 pkgver=7.1.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=2
-_commit=754d7e56674dda4bd2d40e310d2093c2df970780
+pkgrel=3
+_commit=81fc9125b24bba5f2761b7986ff4e3de14740291
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -84,7 +84,7 @@
   --enable-checking=release
 
   make
-  
+
   # make documentation
   make -C $CHOST/libstdc++-v3/doc doc-man-doxygen
 }
@@ -110,10 +110,10 @@
   options=('!emptydirs' '!strip')
 
   cd ${srcdir}/gcc-build
-  
+
   make -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
   rm ${pkgdir}/${_libdir}/libgcc_eh.a
-  
+
   for lib in libatomic \
  libcilkrts \
  libgfortran \
@@ -165,7 +165,7 @@
 
   make -C $CHOST/libgcc DESTDIR=${pkgdir} install
   rm ${pkgdir}/usr/lib/libgcc_s.so*
-  
+
   make -C $CHOST/libstdc++-v3/src DESTDIR=${pkgdir} install
   make -C $CHOST/libstdc++-v3/include DESTDIR=${pkgdir} install
   make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
@@ -179,7 +179,7 @@
 
   make DESTDIR=${pkgdir} install-fixincludes
   make -C gcc DESTDIR=${pkgdir} install-mkheaders
-  
+
   make -C lto-plugin DESTDIR=${pkgdir} install
   install -dm755 ${pkgdir}/usr/lib/bfd-plugins/
   ln -s /usr/lib/gcc/$CHOST/${pkgver}/liblto_plugin.so \


[arch-commits] Commit in gcc/trunk (PKGBUILD Revert-eeb6872bf.patch)

2017-05-16 Thread Bartłomiej Piotrowski
Date: Tuesday, May 16, 2017 @ 08:05:23
  Author: bpiotrowski
Revision: 296170

upgpkg: gcc 7.1.1-2

bump commit and revert the change that breaks gcc-ar

Added:
  gcc/trunk/Revert-eeb6872bf.patch
Modified:
  gcc/trunk/PKGBUILD

+
 PKGBUILD   |   13 +--
 Revert-eeb6872bf.patch |   82 +++
 2 files changed, 91 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-16 07:42:22 UTC (rev 296169)
+++ PKGBUILD2017-05-16 08:05:23 UTC (rev 296170)
@@ -8,8 +8,8 @@
 pkgver=7.1.1
 _pkgver=${pkgver:0:1}
 _islver=0.18
-pkgrel=1
-_commit=04b544d5d1216dc3c7c8656573517563a54c
+pkgrel=2
+_commit=754d7e56674dda4bd2d40e310d2093c2df970780
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -18,9 +18,11 @@
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
-http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
+http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+Revert-eeb6872bf.patch)
 md5sums=('SKIP'
- '11436d6b205e516635b666090b94ab32')
+ '11436d6b205e516635b666090b94ab32'
+ 'e4c9c8b498b04c0f51d219d025ca8407')
 
 _libdir="usr/lib/gcc/$CHOST/$pkgver"
 
@@ -39,6 +41,9 @@
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717
+  git apply ../Revert-eeb6872bf.patch
+
   mkdir ${srcdir}/gcc-build
 }
 

Added: Revert-eeb6872bf.patch
===
--- Revert-eeb6872bf.patch  (rev 0)
+++ Revert-eeb6872bf.patch  2017-05-16 08:05:23 UTC (rev 296170)
@@ -0,0 +1,82 @@
+commit 43d83a70267a9e5c456d28de8e7348820446b712
+Author: Bartłomiej Piotrowski 
+Date:   Tue May 16 07:50:42 2017 +0200
+
+Revert "Prevent LTO wrappers to process a recursive execution"
+
+This reverts commit eeb6872bfdfd1e71b27de6f62a5f5c08a2efb015.
+
+diff --git a/gcc/file-find.c b/gcc/file-find.c
+index b072a4993d76..b5a1fe8494e8 100644
+--- a/gcc/file-find.c
 b/gcc/file-find.c
+@@ -208,38 +208,3 @@ prefix_from_string (const char *p, struct path_prefix 
*pprefix)
+ }
+   free (nstore);
+ }
+-
+-void
+-remove_prefix (const char *prefix, struct path_prefix *pprefix)
+-{
+-  struct prefix_list *remove, **prev, **remove_prev = NULL;
+-  int max_len = 0;
+-
+-  if (pprefix->plist)
+-{
+-  prev = >plist;
+-  for (struct prefix_list *pl = pprefix->plist; pl->next; pl = pl->next)
+-  {
+-if (strcmp (prefix, pl->prefix) == 0)
+-  {
+-remove = pl;
+-remove_prev = prev;
+-continue;
+-  }
+-
+-int l = strlen (pl->prefix);
+-if (l > max_len)
+-  max_len = l;
+-
+-prev = 
+-  }
+-
+-  if (remove_prev)
+-  {
+-*remove_prev = remove->next;
+-free (remove);
+-  }
+-
+-  pprefix->max_len = max_len;
+-}
+-}
+diff --git a/gcc/file-find.h b/gcc/file-find.h
+index 8f49a3af273e..407feba26e74 100644
+--- a/gcc/file-find.h
 b/gcc/file-find.h
+@@ -41,7 +41,6 @@ extern void find_file_set_debug (bool);
+ extern char *find_a_file (struct path_prefix *, const char *, int);
+ extern void add_prefix (struct path_prefix *, const char *);
+ extern void add_prefix_begin (struct path_prefix *, const char *);
+-extern void remove_prefix (const char *prefix, struct path_prefix *);
+ extern void prefix_from_env (const char *, struct path_prefix *);
+ extern void prefix_from_string (const char *, struct path_prefix *);
+ 
+diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c
+index 78d2fc1ad306..d5d80e042e5a 100644
+--- a/gcc/gcc-ar.c
 b/gcc/gcc-ar.c
+@@ -194,14 +194,6 @@ main (int ac, char **av)
+ #ifdef CROSS_DIRECTORY_STRUCTURE
+   real_exe_name = concat (target_machine, "-", PERSONALITY, NULL);
+ #endif
+-  /* Do not search original location in the same folder.  */
+-  char *exe_folder = lrealpath (av[0]);
+-  exe_folder[strlen (exe_folder) - strlen (lbasename (exe_folder))] = 
'\0';
+-  char *location = concat (exe_folder, PERSONALITY, NULL);
+-
+-  if (access (location, X_OK) == 0)
+-  remove_prefix (exe_folder, );
+-
+   exe_name = find_a_file (, real_exe_name, X_OK);
+   if (!exe_name)
+   {


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-05-10 Thread Bartłomiej Piotrowski
Date: Wednesday, May 10, 2017 @ 13:43:12
  Author: bpiotrowski
Revision: 295540

upgpkg: gcc 7.1.1-1

new upstream release

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-10 11:16:01 UTC (rev 295539)
+++ PKGBUILD2017-05-10 13:43:12 UTC (rev 295540)
@@ -5,11 +5,11 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=6.3.1
-_pkgver=6
-_islver=0.16.1
-pkgrel=2
-_commit=4fc407888a30c5d953816b05c8a8e98ec2ab3101
+pkgver=7.1.1
+_pkgver=${pkgver:0:1}
+_islver=0.18
+pkgrel=1
+_commit=04b544d5d1216dc3c7c8656573517563a54c
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -20,7 +20,7 @@
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
 md5sums=('SKIP'
- 'ac1f25a0677912952718a51f5bc20f32')
+ '11436d6b205e516635b666090b94ab32')
 
 _libdir="usr/lib/gcc/$CHOST/$pkgver"
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-03-05 Thread Allan McRae
Date: Monday, March 6, 2017 @ 05:48:14
  Author: allan
Revision: 290037

prepare update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-06 05:42:07 UTC (rev 290036)
+++ PKGBUILD2017-03-06 05:48:14 UTC (rev 290037)
@@ -8,13 +8,13 @@
 pkgver=6.3.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=1
-_commit=4ca53f06ff7d346ef8021a23108f23a5406a0417
+pkgrel=2
+_commit=4fc407888a30c5d953816b05c8a8e98ec2ab3101
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url="http://gcc.gnu.org;
-makedepends=('binutils>=2.26' 'libmpc' 'gcc-ada' 'doxygen' 'git')
+makedepends=('binutils>=2.28' 'libmpc' 'gcc-ada' 'doxygen' 'git')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
 source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
@@ -101,7 +101,7 @@
 {
   pkgdesc="Runtime libraries shipped by GCC"
   groups=('base')
-  depends=('glibc>=2.24')
+  depends=('glibc>=2.25')
   options=('!emptydirs' '!strip')
 
   cd ${srcdir}/gcc-build
@@ -146,7 +146,7 @@
 package_gcc()
 {
   pkgdesc="The GNU Compiler Collection - C and C++ frontends"
-  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.26' 'libmpc')
+  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' 'libmpc')
   groups=('base-devel')
   options=('staticlibs')
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2017-01-08 Thread Allan McRae
Date: Monday, January 9, 2017 @ 04:14:04
  Author: allan
Revision: 285558

prepare update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-09 03:36:41 UTC (rev 285557)
+++ PKGBUILD2017-01-09 04:14:04 UTC (rev 285558)
@@ -5,11 +5,11 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=6.2.1
+pkgver=6.3.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=1.90
-_commit=c2103c17
+pkgrel=1
+_commit=4ca53f06ff7d346ef8021a23108f23a5406a0417
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,7 +17,7 @@
 makedepends=('binutils>=2.26' 'libmpc' 'gcc-ada' 'doxygen' 'git')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-source=(git://gcc.gnu.org/git/gcc.git#commit=${_commit}
+source=(git+https://gcc.gnu.org/git/gcc.git#commit=${_commit}
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
 md5sums=('SKIP'
  'ac1f25a0677912952718a51f5bc20f32')
@@ -74,7 +74,6 @@
   --enable-install-libiberty \
   --with-linker-hash-style=gnu \
   --enable-gnu-indirect-function \
-  --enable-default-pie \
   --disable-multilib \
   --disable-werror \
   --enable-checking=release


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-10-31 Thread Allan McRae
Date: Monday, October 31, 2016 @ 12:14:46
  Author: allan
Revision: 279525

prepare PIE enabled toolchain

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   39 +--
 1 file changed, 25 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-31 09:37:32 UTC (rev 279524)
+++ PKGBUILD2016-10-31 12:14:46 UTC (rev 279525)
@@ -8,7 +8,7 @@
 pkgver=6.2.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=1
+pkgrel=1.90
 _commit=c2103c17
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -22,9 +22,6 @@
 md5sums=('SKIP'
  'ac1f25a0677912952718a51f5bc20f32')
 
-# gcc-6.0 forces a changed triplet - need to address in pacman/devtools
-[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
-
 _libdir="usr/lib/gcc/$CHOST/$pkgver"
 
 prepare() {
@@ -54,18 +51,32 @@
   CXXFLAGS=${CXXFLAGS/-pipe/}
 
   ${srcdir}/gcc/configure --prefix=/usr \
-  --libdir=/usr/lib --libexecdir=/usr/lib \
-  --mandir=/usr/share/man --infodir=/usr/share/info \
+  --libdir=/usr/lib \
+  --libexecdir=/usr/lib \
+  --mandir=/usr/share/man \
+  --infodir=/usr/share/info \
   --with-bugurl=https://bugs.archlinux.org/ \
   --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
-  --enable-shared --enable-threads=posix --enable-libmpx \
-  --with-system-zlib --with-isl --enable-__cxa_atexit \
-  --disable-libunwind-exceptions --enable-clocale=gnu \
-  --disable-libstdcxx-pch --disable-libssp \
-  --enable-gnu-unique-object --enable-linker-build-id \
-  --enable-lto --enable-plugin --enable-install-libiberty \
-  --with-linker-hash-style=gnu --enable-gnu-indirect-function \
-  --disable-multilib --disable-werror \
+  --enable-shared \
+  --enable-threads=posix \
+  --enable-libmpx \
+  --with-system-zlib \
+  --with-isl \
+  --enable-__cxa_atexit \
+  --disable-libunwind-exceptions \
+  --enable-clocale=gnu \
+  --disable-libstdcxx-pch \
+  --disable-libssp \
+  --enable-gnu-unique-object \
+  --enable-linker-build-id \
+  --enable-lto \
+  --enable-plugin \
+  --enable-install-libiberty \
+  --with-linker-hash-style=gnu \
+  --enable-gnu-indirect-function \
+  --enable-default-pie \
+  --disable-multilib \
+  --disable-werror \
   --enable-checking=release
 
   make


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-08-30 Thread Allan McRae
Date: Tuesday, August 30, 2016 @ 08:19:44
  Author: allan
Revision: 274832

prepare 6.2 version bump

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-30 07:22:49 UTC (rev 274831)
+++ PKGBUILD2016-08-30 08:19:44 UTC (rev 274832)
@@ -5,11 +5,11 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=6.1.1
+pkgver=6.2.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=5
-_commit=c8454ab1
+pkgrel=1
+_commit=c2103c17
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-08-06 Thread Allan McRae
Date: Saturday, August 6, 2016 @ 12:49:35
  Author: allan
Revision: 273400

upgpkg: gcc 6.1.1-5

binutils-2.27 toolchain rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-06 12:49:14 UTC (rev 273399)
+++ PKGBUILD2016-08-06 12:49:35 UTC (rev 273400)
@@ -8,7 +8,7 @@
 pkgver=6.1.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=4
+pkgrel=5
 _commit=c8454ab1
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-08-01 Thread Allan McRae
Date: Tuesday, August 2, 2016 @ 05:20:41
  Author: allan
Revision: 272801

prepare glibc-2.24 toolchain rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-02 05:17:13 UTC (rev 272800)
+++ PKGBUILD2016-08-02 05:20:41 UTC (rev 272801)
@@ -8,8 +8,8 @@
 pkgver=6.1.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=3
-_commit=1bbd3999
+pkgrel=4
+_commit=c8454ab1
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -91,7 +91,7 @@
 {
   pkgdesc="Runtime libraries shipped by GCC"
   groups=('base')
-  depends=('glibc>=2.23')
+  depends=('glibc>=2.24')
   options=('!emptydirs' '!strip')
 
   cd ${srcdir}/gcc-build


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-07-06 Thread Allan McRae
Date: Thursday, July 7, 2016 @ 04:15:39
  Author: allan
Revision: 271107

get me some of those good backports

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-07 01:45:11 UTC (rev 271106)
+++ PKGBUILD2016-07-07 04:15:39 UTC (rev 271107)
@@ -8,8 +8,8 @@
 pkgver=6.1.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=2
-_commit=36375203
+pkgrel=3
+_commit=1bbd3999
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-06-03 Thread Allan McRae
Date: Friday, June 3, 2016 @ 14:14:29
  Author: allan
Revision: 268870

upgpkg: gcc 6.1.1-2

new snapshot from gcc-6 branch

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-03 12:09:28 UTC (rev 268869)
+++ PKGBUILD2016-06-03 12:14:29 UTC (rev 268870)
@@ -8,8 +8,8 @@
 pkgver=6.1.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=1
-_commit=80f78834
+pkgrel=2
+_commit=36375203
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-05-01 Thread Allan McRae
Date: Monday, May 2, 2016 @ 06:44:28
  Author: allan
Revision: 266745

add makedepends, fix CARCH handling

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-02 02:31:08 UTC (rev 266744)
+++ PKGBUILD2016-05-02 04:44:28 UTC (rev 266745)
@@ -14,7 +14,7 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url="http://gcc.gnu.org;
-makedepends=('binutils>=2.26' 'libmpc' 'gcc-ada' 'doxygen')
+makedepends=('binutils>=2.26' 'libmpc' 'gcc-ada' 'doxygen' 'git')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
 source=(git://gcc.gnu.org/git/gcc.git#commit=${_commit}
@@ -23,7 +23,7 @@
  'ac1f25a0677912952718a51f5bc20f32')
 
 # gcc-6.0 forces a changed triplet - need to address in pacman/devtools
-CHOST=x86_64-pc-linux-gnu
+[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
 
 _libdir="usr/lib/gcc/$CHOST/$pkgver"
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2016-02-19 Thread Allan McRae
Date: Saturday, February 20, 2016 @ 00:28:29
  Author: allan
Revision: 260023

upgpkg: gcc 5.3.0-5

glibc-2.23 + binutils-2.26 rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-19 23:24:46 UTC (rev 260022)
+++ PKGBUILD2016-02-19 23:28:29 UTC (rev 260023)
@@ -8,13 +8,13 @@
 pkgver=5.3.0
 _pkgver=5
 _islver=0.15
-pkgrel=4
+pkgrel=5
 _snapshot=5-20160209
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url="http://gcc.gnu.org;
-makedepends=('binutils>=2.25' 'libmpc' 'gcc-ada' 'doxygen')
+makedepends=('binutils>=2.26' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
 source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
@@ -101,7 +101,7 @@
 {
   pkgdesc="Runtime libraries shipped by GCC"
   groups=('base')
-  depends=('glibc>=2.22')
+  depends=('glibc>=2.23')
   options=('!emptydirs' '!strip')
   install=gcc-libs.install
 
@@ -147,7 +147,7 @@
 package_gcc()
 {
   pkgdesc="The GNU Compiler Collection - C and C++ frontends"
-  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.25' 'libmpc')
+  depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.26' 'libmpc')
   groups=('base-devel')
   options=('staticlibs')
   install=gcc.install


[arch-commits] Commit in gcc/trunk (PKGBUILD Unlink-the-response-file.patch)

2016-02-10 Thread Allan McRae
Date: Thursday, February 11, 2016 @ 00:53:21
  Author: allan
Revision: 259050

new snapshot - fixes FS#47874, FS#48054

Added:
  gcc/trunk/Unlink-the-response-file.patch
Modified:
  gcc/trunk/PKGBUILD

+
 PKGBUILD   |   19 -
 Unlink-the-response-file.patch |   54 +++
 2 files changed, 66 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-10 23:39:36 UTC (rev 259049)
+++ PKGBUILD2016-02-10 23:53:21 UTC (rev 259050)
@@ -8,8 +8,8 @@
 pkgver=5.3.0
 _pkgver=5
 _islver=0.15
-pkgrel=3
-#_snapshot=5-20150623
+pkgrel=4
+_snapshot=5-20160209
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,11 +17,13 @@
 makedepends=('binutils>=2.25' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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)
-md5sums=('c9616fd448f980259c31de613e575719'
- '8428efbbc6f6e2810ce5c1ba73ecf98c')
+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
+Unlink-the-response-file.patch)
+md5sums=('499161c65b639aa5c12a14944582b7ec'
+ '8428efbbc6f6e2810ce5c1ba73ecf98c'
+ '1f4d4ef71004261376d26d5ba6a84499')
 
 if [ -n "${_snapshot}" ]; then
   _basedir=gcc-${_snapshot}
@@ -48,6 +50,9 @@
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
+  # https://bugs.archlinux.org/task/47874 - commit f591a95d
+  patch -p1 -i $srcdir/Unlink-the-response-file.patch
+
   mkdir ${srcdir}/gcc-build
 }
 

Added: Unlink-the-response-file.patch
===
--- Unlink-the-response-file.patch  (rev 0)
+++ Unlink-the-response-file.patch  2016-02-10 23:53:21 UTC (rev 259050)
@@ -0,0 +1,54 @@
+From f591a95d1532ac7791c146a8e55ba3a32b3e476f Mon Sep 17 00:00:00 2001
+From: ebotcazou 
+Date: Tue, 23 Jun 2015 20:48:07 +
+Subject: [PATCH]   * collect-utils.c (collect_wait): Unlink the
+ response file hereinstead of...   (do_wait): ...here. 
+ (utils_cleanup): ...and here.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224858 
138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog   |  7 +++
+ gcc/collect-utils.c | 14 ++
+ 2 files changed, 13 insertions(+), 8 deletions(-)
+
+diff --git a/gcc/collect-utils.c b/gcc/collect-utils.c
+index 6bbe9eb..517a075 100644
+--- a/gcc/collect-utils.c
 b/gcc/collect-utils.c
+@@ -68,6 +68,12 @@ collect_wait (const char *prog, struct pex_obj *pex)
+ fatal_error (input_location, "can't get program status: %m");
+   pex_free (pex);
+ 
++  if (response_file && !save_temps)
++{
++  unlink (response_file);
++  response_file = NULL;
++}
++
+   if (status)
+ {
+   if (WIFSIGNALED (status))
+@@ -90,12 +96,6 @@ do_wait (const char *prog, struct pex_obj *pex)
+   int ret = collect_wait (prog, pex);
+   if (ret != 0)
+ fatal_error (input_location, "%s returned %d exit status", prog, ret);
+-
+-  if (response_file && !save_temps)
+-{
+-  unlink (response_file);
+-  response_file = NULL;
+-}
+ }
+ 
+ 
+@@ -224,7 +224,5 @@ utils_cleanup (bool from_signal)
+  calls to maybe_unlink fails. */
+   cleanup_done = true;
+ 
+-  if (response_file)
+-maybe_unlink (response_file);
+   tool_cleanup (from_signal);
+ }
+-- 
+2.7.1
+


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-12-16 Thread Allan McRae
Date: Wednesday, December 16, 2015 @ 09:30:56
  Author: allan
Revision: 256464

move libgo.so to gcc-libs

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-16 08:24:29 UTC (rev 256463)
+++ PKGBUILD2015-12-16 08:30:56 UTC (rev 256464)
@@ -8,7 +8,7 @@
 pkgver=5.3.0
 _pkgver=5
 _islver=0.15
-pkgrel=2
+pkgrel=3
 #_snapshot=5-20150623
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -108,6 +108,7 @@
   for lib in libatomic \
  libcilkrts \
  libgfortran \
+ libgo \
  libgomp \
  libitm \
  libquadmath \
@@ -307,6 +308,7 @@
 
   cd ${srcdir}/gcc-build
   make -C $CHOST/libgo DESTDIR=$pkgdir install-exec-am
+  rm ${pkgdir}/usr/lib/libgo.so*
   make -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
   install -Dm755 gcc/go1 $pkgdir/${_libdir}/go1
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-12-09 Thread Evangelos Foutras
Date: Wednesday, December 9, 2015 @ 20:12:48
  Author: foutrelis
Revision: 255024

upgpkg: gcc 5.3.0-2

Rebuild with doxygen 1.8.10-4 to fix libstdc++ man pages.

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-09 16:40:48 UTC (rev 255023)
+++ PKGBUILD2015-12-09 19:12:48 UTC (rev 255024)
@@ -8,7 +8,7 @@
 pkgver=5.3.0
 _pkgver=5
 _islver=0.15
-pkgrel=1
+pkgrel=2
 #_snapshot=5-20150623
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-12-05 Thread Allan McRae
Date: Saturday, December 5, 2015 @ 12:52:12
  Author: allan
Revision: 252376

upgpkg: gcc 5.3.0-1

upstream update, switch to new C++ ABI

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-05 09:24:21 UTC (rev 252375)
+++ PKGBUILD2015-12-05 11:52:12 UTC (rev 252376)
@@ -72,8 +72,7 @@
   --enable-lto --enable-plugin --enable-install-libiberty \
   --with-linker-hash-style=gnu --enable-gnu-indirect-function \
   --disable-multilib --disable-werror \
-  --enable-checking=release \
-  --with-default-libstdcxx-abi=gcc4-compatible
+  --enable-checking=release
 
   make
   


[arch-commits] Commit in gcc/trunk (PKGBUILD pr66035.patch)

2015-12-04 Thread Allan McRae
Date: Saturday, December 5, 2015 @ 08:00:44
  Author: allan
Revision: 252371

upstream update, use latest ISL

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/pr66035.patch

---+
 PKGBUILD  |   17 ++---
 pr66035.patch |   48 
 2 files changed, 6 insertions(+), 59 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-05 06:22:53 UTC (rev 252370)
+++ PKGBUILD2015-12-05 07:00:44 UTC (rev 252371)
@@ -5,10 +5,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=5.2.0
+pkgver=5.3.0
 _pkgver=5
-_islver=0.14.1
-pkgrel=2
+_islver=0.15
+pkgrel=1
 #_snapshot=5-20150623
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -19,11 +19,9 @@
 options=('!emptydirs')
 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
-pr66035.patch)
-md5sums=('a51bcfeb3da7dd4c623e27207ed43467'
- '118d1a379abf7606a3334c98a8411c79'
- '5b980076cd5fcbc3aff6014f306282dd')
+http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
+md5sums=('c9616fd448f980259c31de613e575719'
+ '8428efbbc6f6e2810ce5c1ba73ecf98c')
 
 if [ -n "${_snapshot}" ]; then
   _basedir=gcc-${_snapshot}
@@ -50,9 +48,6 @@
   # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
 
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66035
-  patch -p1 -i ${srcdir}/pr66035.patch
-
   mkdir ${srcdir}/gcc-build
 }
 

Deleted: pr66035.patch
===
--- pr66035.patch   2015-12-05 06:22:53 UTC (rev 252370)
+++ pr66035.patch   2015-12-05 07:00:44 UTC (rev 252371)
@@ -1,48 +0,0 @@
 a/gcc/fortran/trans-expr.c 
-+++ a/gcc/fortran/trans-expr.c 
-@@ -6897,6 +6897,30 @@ alloc_scalar_allocatable_for_subcomponent_assignment 
(stmtblock_t *block,
-  TREE_TYPE (tmp), tmp,
-  fold_convert (TREE_TYPE (tmp), size));
- }
-+  else if (cm->ts.type == BT_CLASS)
-+{
-+  gcc_assert (expr2->ts.type == BT_CLASS || expr2->ts.type == BT_DERIVED);
-+  if (expr2->ts.type == BT_DERIVED)
-+  {
-+tmp = gfc_get_symbol_decl (gfc_find_vtab (>ts));
-+tmp = gfc_build_addr_expr (NULL_TREE, tmp);
-+size = fold_convert (size_type_node, gfc_vptr_size_get (tmp));
-+  }
-+  else
-+  {
-+gfc_expr *e2vtab;
-+gfc_se se;
-+e2vtab = gfc_find_and_cut_at_last_class_ref (expr2);
-+gfc_add_vptr_component (e2vtab);
-+gfc_add_size_component (e2vtab);
-+gfc_init_se (, NULL);
-+gfc_conv_expr (, e2vtab);
-+gfc_add_block_to_block (block, );
-+size = fold_convert (size_type_node, se.expr);
-+gfc_free_expr (e2vtab);
-+  }
-+  size_in_bytes = size;
-+}
-   else
- {
-   /* Otherwise use the length in bytes of the rhs.  */
-@@ -7068,6 +7092,14 @@ gfc_trans_subcomponent_assign (tree dest, gfc_component 
* cm, gfc_expr * expr,
- tmp = gfc_build_memcpy_call (tmp, se.expr, size);
- gfc_add_expr_to_block (, tmp);
-   }
-+  else if (cm->ts.type == BT_CLASS && expr->ts.type == BT_CLASS)
-+  {
-+tmp = gfc_copy_class_to_class (se.expr, dest, integer_one_node,
-+ CLASS_DATA (cm)->attr.unlimited_polymorphic);
-+gfc_add_expr_to_block (, tmp);
-+gfc_add_modify (, gfc_class_vptr_get (dest),
-+gfc_class_vptr_get (se.expr));
-+  }
-   else
-   gfc_add_modify (, tmp,
-   fold_convert (TREE_TYPE (tmp), se.expr));


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-08-05 Thread Allan McRae
Date: Thursday, August 6, 2015 @ 06:27:46
  Author: allan
Revision: 243063

upgpkg: gcc 5.2.0-2

glibc-2.22 toolchain rebuild

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-06 04:27:19 UTC (rev 243062)
+++ PKGBUILD2015-08-06 04:27:46 UTC (rev 243063)
@@ -8,7 +8,7 @@
 pkgver=5.2.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=1
+pkgrel=2
 #_snapshot=5-20150623
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -102,7 +102,7 @@
 {
   pkgdesc=Runtime libraries shipped by GCC
   groups=('base')
-  depends=('glibc=2.21')
+  depends=('glibc=2.22')
   options=('!emptydirs' '!strip')
   install=gcc-libs.install
 


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-07-18 Thread Allan McRae
Date: Saturday, July 18, 2015 @ 09:09:48
  Author: allan
Revision: 242337

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   24 +++-
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-18 06:43:35 UTC (rev 242336)
+++ PKGBUILD2015-07-18 07:09:48 UTC (rev 242337)
@@ -5,11 +5,11 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=5.1.0
+pkgver=5.2.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=5
-_snapshot=5-20150623
+pkgrel=1
+#_snapshot=5-20150623
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,16 +17,12 @@
 makedepends=('binutils=2.25' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
-pr65882.patch
-pr66647.patch
 pr66035.patch)
-md5sums=('69432bf92cb6cdc8399c1bfc28c4f801'
+md5sums=('a51bcfeb3da7dd4c623e27207ed43467'
  '118d1a379abf7606a3334c98a8411c79'
- 'f64c1781d8bcac1ea168c2b7091ca2bd'
- '720df658a726b6e0e541c58296bd5672'
  '5b980076cd5fcbc3aff6014f306282dd')
 
 if [ -n ${_snapshot} ]; then
@@ -54,12 +50,6 @@
   # hack! - some configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882
-  patch -p0 -i ${srcdir}/pr65882.patch
-
-  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66647
-  patch -p0 -i ${srcdir}/pr66647.patch
-
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66035
   patch -p1 -i ${srcdir}/pr66035.patch
 
@@ -88,7 +78,7 @@
   --with-linker-hash-style=gnu --enable-gnu-indirect-function \
   --disable-multilib --disable-werror \
   --enable-checking=release \
-  --with-default-libstdcxx-abi=c++98
+  --with-default-libstdcxx-abi=gcc4-compatible
 
   make
   


[arch-commits] Commit in gcc/trunk (PKGBUILD pr65882.patch pr66647.patch)

2015-06-24 Thread Evangelos Foutras
Date: Thursday, June 25, 2015 @ 05:37:12
  Author: foutrelis
Revision: 241262

upgpkg: gcc 5.1.0-5

New snapshot, plus an ICE fix.

Added:
  gcc/trunk/pr66647.patch
Modified:
  gcc/trunk/PKGBUILD
  gcc/trunk/pr65882.patch

---+
 PKGBUILD  |   17 +---
 pr65882.patch |  106 ++--
 pr66647.patch |   87 +
 3 files changed, 171 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-24 22:02:33 UTC (rev 241261)
+++ PKGBUILD2015-06-25 03:37:12 UTC (rev 241262)
@@ -8,8 +8,8 @@
 pkgver=5.1.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=4
-_snapshot=5-20150519
+pkgrel=5
+_snapshot=5-20150623
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -21,10 +21,12 @@
 
ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 pr65882.patch
+pr66647.patch
 pr66035.patch)
-md5sums=('84f261b2f23e154ec6d9bd4149851a21'
+md5sums=('69432bf92cb6cdc8399c1bfc28c4f801'
  '118d1a379abf7606a3334c98a8411c79'
- '9a9cc98e916fd37c7b3dad50f29d2f48'
+ 'f64c1781d8bcac1ea168c2b7091ca2bd'
+ '720df658a726b6e0e541c58296bd5672'
  '5b980076cd5fcbc3aff6014f306282dd')
 
 if [ -n ${_snapshot} ]; then
@@ -52,9 +54,12 @@
   # hack! - some configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
-  # https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01558.html
-  patch -p1 -i ${srcdir}/pr65882.patch
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882
+  patch -p0 -i ${srcdir}/pr65882.patch
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66647
+  patch -p0 -i ${srcdir}/pr66647.patch
+
   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66035
   patch -p1 -i ${srcdir}/pr66035.patch
 

Modified: pr65882.patch
===
--- pr65882.patch   2015-06-24 22:02:33 UTC (rev 241261)
+++ pr65882.patch   2015-06-25 03:37:12 UTC (rev 241262)
@@ -1,36 +1,7 @@
-diff --git a/gcc/cp/call.c b/gcc/cp/call.c
-index 7bdf236..689d542 100644
 a/gcc/cp/call.c
-+++ b/gcc/cp/call.c
-@@ -5677,8 +5677,9 @@ build_new_op_1 (location_t loc, enum tree_code code, int 
flags, tree arg1,
- case TRUTH_ORIF_EXPR:
- case TRUTH_AND_EXPR:
- case TRUTH_OR_EXPR:
--  warn_logical_operator (loc, code, boolean_type_node,
--   code_orig_arg1, arg1, code_orig_arg2, arg2);
-+  if (complain  tf_warning)
-+  warn_logical_operator (loc, code, boolean_type_node,
-+ code_orig_arg1, arg1, code_orig_arg2, arg2);
-   /* Fall through.  */
- case GT_EXPR:
- case LT_EXPR:
-@@ -5686,8 +5687,9 @@ build_new_op_1 (location_t loc, enum tree_code code, int 
flags, tree arg1,
- case LE_EXPR:
- case EQ_EXPR:
- case NE_EXPR:
--  if ((code_orig_arg1 == BOOLEAN_TYPE)
--^ (code_orig_arg2 == BOOLEAN_TYPE))
-+  if ((complain  tf_warning)
-+ ((code_orig_arg1 == BOOLEAN_TYPE)
-+^ (code_orig_arg2 == BOOLEAN_TYPE)))
-   maybe_warn_bool_compare (loc, code, arg1, arg2);
-   /* Fall through.  */
- case PLUS_EXPR:
-diff --git a/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C 
b/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C
-new file mode 100644
-index 000..5655eb4
 /dev/null
-+++ b/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C
+Index: gcc/testsuite/g++.dg/diagnostic/inhibit-warn-1.C
+===
+--- gcc/testsuite/g++.dg/diagnostic/inhibit-warn-1.C   (revision 0)
 gcc/testsuite/g++.dg/diagnostic/inhibit-warn-1.C   (revision 224864)
 @@ -0,0 +1,32 @@
 +// PR c++/65882
 +// { dg-do compile { target c++11 } }
@@ -64,3 +35,72 @@
 +{
 +  fooint();
 +}
+Index: gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C
+===
+--- gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C   (revision 0)
 gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C   (revision 224864)
+@@ -0,0 +1,36 @@
++// PR c++/65882
++// PR c++/66467
++// { dg-do compile }
++
++template bool
++struct A
++{
++  typedef int type;
++};
++
++struct B
++{
++  static const int value = 0;
++};
++
++template class
++struct C
++{
++  typedef int type;
++};
++
++template class
++struct F : B {};
++
++class D
++{
++  template class Expr
++  typename AFtypename CExpr::type::value || B::value::type
++  operator=(Expr); // { dg-message declared }
++};
++
++void fn1()
++{
++  D opt;
++  opt = 0; // { dg-error private }
++}
+Index: gcc/cp/call.c
+===
+--- gcc/cp/call.c  (revision 224863)
 gcc/cp/call.c  (revision 

[arch-commits] Commit in gcc/trunk (PKGBUILD pr65873.patch pr66035.patch)

2015-05-21 Thread Allan McRae
Date: Thursday, May 21, 2015 @ 14:13:20
  Author: allan
Revision: 239610

upgpkg: gcc 5.1.0-4

new snapshot, remove patch applied upstream and add a new one...

Added:
  gcc/trunk/pr66035.patch
Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/pr65873.patch

---+
 PKGBUILD  |   14 +++---
 pr65873.patch |   17 -
 pr66035.patch |   48 
 3 files changed, 55 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-21 12:12:04 UTC (rev 239609)
+++ PKGBUILD2015-05-21 12:13:20 UTC (rev 239610)
@@ -8,8 +8,8 @@
 pkgver=5.1.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=3
-_snapshot=5-20150505
+pkgrel=4
+_snapshot=5-20150519
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -21,11 +21,11 @@
 
ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 pr65882.patch
-pr65873.patch)
-md5sums=('8acc1b53380be0dd56e67990ba1fc06e'
+pr66035.patch)
+md5sums=('84f261b2f23e154ec6d9bd4149851a21'
  '118d1a379abf7606a3334c98a8411c79'
  '9a9cc98e916fd37c7b3dad50f29d2f48'
- 'cad91055efb6e20919fb81aff1600d8e')
+ '5b980076cd5fcbc3aff6014f306282dd')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -55,8 +55,8 @@
   # https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01558.html
   patch -p1 -i ${srcdir}/pr65882.patch
 
-  # commit a64b35493
-  patch -p1 -i ${srcdir}/pr65873.patch
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66035
+  patch -p1 -i ${srcdir}/pr66035.patch
 
   mkdir ${srcdir}/gcc-build
 }

Deleted: pr65873.patch
===
--- pr65873.patch   2015-05-21 12:12:04 UTC (rev 239609)
+++ pr65873.patch   2015-05-21 12:13:20 UTC (rev 239610)
@@ -1,17 +0,0 @@
-diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
-index 565c5e3..1427761 100644
 a/gcc/ipa-inline.c
-+++ b/gcc/ipa-inline.c
-@@ -439,9 +439,6 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
-  == !opt_for_fn (callee-decl, optimize) || !always_inline))
- || check_match (flag_wrapv)
- || check_match (flag_trapv)
--/* Strictly speaking only when the callee contains memory
--   accesses that are not using alias-set zero anyway.  */
--|| check_maybe_down (flag_strict_aliasing)
- /* Strictly speaking only when the callee uses FP math.  */
- || check_maybe_up (flag_rounding_math)
- || check_maybe_up (flag_trapping_math)
--- 
-2.3.6
-

Added: pr66035.patch
===
--- pr66035.patch   (rev 0)
+++ pr66035.patch   2015-05-21 12:13:20 UTC (rev 239610)
@@ -0,0 +1,48 @@
+--- a/gcc/fortran/trans-expr.c 
 a/gcc/fortran/trans-expr.c 
+@@ -6897,6 +6897,30 @@ alloc_scalar_allocatable_for_subcomponent_assignment 
(stmtblock_t *block,
+  TREE_TYPE (tmp), tmp,
+  fold_convert (TREE_TYPE (tmp), size));
+ }
++  else if (cm-ts.type == BT_CLASS)
++{
++  gcc_assert (expr2-ts.type == BT_CLASS || expr2-ts.type == BT_DERIVED);
++  if (expr2-ts.type == BT_DERIVED)
++  {
++tmp = gfc_get_symbol_decl (gfc_find_vtab (expr2-ts));
++tmp = gfc_build_addr_expr (NULL_TREE, tmp);
++size = fold_convert (size_type_node, gfc_vptr_size_get (tmp));
++  }
++  else
++  {
++gfc_expr *e2vtab;
++gfc_se se;
++e2vtab = gfc_find_and_cut_at_last_class_ref (expr2);
++gfc_add_vptr_component (e2vtab);
++gfc_add_size_component (e2vtab);
++gfc_init_se (se, NULL);
++gfc_conv_expr (se, e2vtab);
++gfc_add_block_to_block (block, se.pre);
++size = fold_convert (size_type_node, se.expr);
++gfc_free_expr (e2vtab);
++  }
++  size_in_bytes = size;
++}
+   else
+ {
+   /* Otherwise use the length in bytes of the rhs.  */
+@@ -7068,6 +7092,14 @@ gfc_trans_subcomponent_assign (tree dest, gfc_component 
* cm, gfc_expr * expr,
+ tmp = gfc_build_memcpy_call (tmp, se.expr, size);
+ gfc_add_expr_to_block (block, tmp);
+   }
++  else if (cm-ts.type == BT_CLASS  expr-ts.type == BT_CLASS)
++  {
++tmp = gfc_copy_class_to_class (se.expr, dest, integer_one_node,
++ CLASS_DATA (cm)-attr.unlimited_polymorphic);
++gfc_add_expr_to_block (block, tmp);
++gfc_add_modify (block, gfc_class_vptr_get (dest),
++gfc_class_vptr_get (se.expr));
++  }
+   else
+   gfc_add_modify (block, tmp,
+   fold_convert (TREE_TYPE (tmp), se.expr));


[arch-commits] Commit in gcc/trunk (PKGBUILD pr65822.patch pr65882.patch)

2015-05-06 Thread Allan McRae
Date: Wednesday, May 6, 2015 @ 09:50:00
  Author: allan
Revision: 238535

upgpkg: gcc 5.1.0-3

new snapshot

Added:
  gcc/trunk/pr65882.patch
(from rev 238529, gcc/trunk/pr65822.patch)
Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/pr65822.patch

---+
 PKGBUILD  |   15 
 pr65822.patch |   66 
 pr65882.patch |   66 
 3 files changed, 71 insertions(+), 76 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-06 07:01:31 UTC (rev 238534)
+++ PKGBUILD2015-05-06 07:50:00 UTC (rev 238535)
@@ -8,8 +8,8 @@
 pkgver=5.1.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=2
-_snapshot=5-20150428
+pkgrel=3
+_snapshot=5-20150505
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -20,12 +20,10 @@
 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
-pr65801.patch
-pr65822.patch
+pr65882.patch
 pr65873.patch)
-md5sums=('6068bb8e23caa1172a127026e05ed311'
+md5sums=('8acc1b53380be0dd56e67990ba1fc06e'
  '118d1a379abf7606a3334c98a8411c79'
- '0e0ab8f824573f51733aaeee84254df6'
  '9a9cc98e916fd37c7b3dad50f29d2f48'
  'cad91055efb6e20919fb81aff1600d8e')
 
@@ -54,11 +52,8 @@
   # hack! - some configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
-  # commit 346ee8b5
-  patch -p1 -i ${srcdir}/pr65801.patch
-
   # https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01558.html
-  patch -p1 -i ${srcdir}/pr65822.patch
+  patch -p1 -i ${srcdir}/pr65882.patch
 
   # commit a64b35493
   patch -p1 -i ${srcdir}/pr65873.patch

Deleted: pr65822.patch
===
--- pr65822.patch   2015-05-06 07:01:31 UTC (rev 238534)
+++ pr65822.patch   2015-05-06 07:50:00 UTC (rev 238535)
@@ -1,66 +0,0 @@
-diff --git a/gcc/cp/call.c b/gcc/cp/call.c
-index 7bdf236..689d542 100644
 a/gcc/cp/call.c
-+++ b/gcc/cp/call.c
-@@ -5677,8 +5677,9 @@ build_new_op_1 (location_t loc, enum tree_code code, int 
flags, tree arg1,
- case TRUTH_ORIF_EXPR:
- case TRUTH_AND_EXPR:
- case TRUTH_OR_EXPR:
--  warn_logical_operator (loc, code, boolean_type_node,
--   code_orig_arg1, arg1, code_orig_arg2, arg2);
-+  if (complain  tf_warning)
-+  warn_logical_operator (loc, code, boolean_type_node,
-+ code_orig_arg1, arg1, code_orig_arg2, arg2);
-   /* Fall through.  */
- case GT_EXPR:
- case LT_EXPR:
-@@ -5686,8 +5687,9 @@ build_new_op_1 (location_t loc, enum tree_code code, int 
flags, tree arg1,
- case LE_EXPR:
- case EQ_EXPR:
- case NE_EXPR:
--  if ((code_orig_arg1 == BOOLEAN_TYPE)
--^ (code_orig_arg2 == BOOLEAN_TYPE))
-+  if ((complain  tf_warning)
-+ ((code_orig_arg1 == BOOLEAN_TYPE)
-+^ (code_orig_arg2 == BOOLEAN_TYPE)))
-   maybe_warn_bool_compare (loc, code, arg1, arg2);
-   /* Fall through.  */
- case PLUS_EXPR:
-diff --git a/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C 
b/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C
-new file mode 100644
-index 000..5655eb4
 /dev/null
-+++ b/gcc/testsuite/g++.dg/diagnostic/inhibit-warn.C
-@@ -0,0 +1,32 @@
-+// PR c++/65882
-+// { dg-do compile { target c++11 } }
-+// { dg-options -Wbool-compare }
-+
-+// Check that we don't ICE because of reentering error reporting routines 
while
-+// evaluating template parameters
-+
-+templatetypename
-+struct type_function {
-+  static constexpr bool value = false;
-+};
-+
-+templatebool
-+struct dependent_type {
-+  typedef int type;
-+};
-+
-+templatetypename T
-+typename dependent_type(5  type_functionT::value)::type
-+bar();
-+
-+templatetypename T
-+typename dependent_type(5  type_functionT::value)::type
-+foo()
-+{
-+  return barint();
-+}
-+
-+int main()
-+{
-+  fooint();
-+}

Copied: gcc/trunk/pr65882.patch (from rev 238529, gcc/trunk/pr65822.patch)
===
--- pr65882.patch   (rev 0)
+++ pr65882.patch   2015-05-06 07:50:00 UTC (rev 238535)
@@ -0,0 +1,66 @@
+diff --git a/gcc/cp/call.c b/gcc/cp/call.c
+index 7bdf236..689d542 100644
+--- a/gcc/cp/call.c
 b/gcc/cp/call.c
+@@ -5677,8 +5677,9 @@ build_new_op_1 (location_t loc, enum tree_code code, int 
flags, tree arg1,
+ case TRUTH_ORIF_EXPR:
+ case TRUTH_AND_EXPR:
+ case TRUTH_OR_EXPR:
+-  warn_logical_operator (loc, code, boolean_type_node,
+-   code_orig_arg1, arg1, code_orig_arg2, arg2);
++  if (complain  tf_warning)
++  

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-05-03 Thread Allan McRae
Date: Sunday, May 3, 2015 @ 09:30:27
  Author: allan
Revision: 238378

more adjustments

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-03 06:36:25 UTC (rev 238377)
+++ PKGBUILD2015-05-03 07:30:27 UTC (rev 238378)
@@ -127,7 +127,6 @@
  libgomp \
  libitm \
  libquadmath \
- libmpx \
  libsanitizer/{a,l,ub}san \
  libstdc++-v3/src \
  libvtv; do
@@ -141,6 +140,9 @@
 
   make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
 
+  make -C $CHOST/libmpx DESTDIR=${pkgdir} install
+  rm ${pkgdir}/usr/lib/libmpx.spec
+
   for lib in libgomp \
  libitm \
  libquadmath; do
@@ -186,8 +188,9 @@
   make -C gcc DESTDIR=${pkgdir} install-mkheaders
   
   make -C lto-plugin DESTDIR=${pkgdir} install
-  install -Dm755 ${pkgdir}/usr/lib/bfd-plugins/
-  ln -s /usr/lib/gcc/$CHOST/${pkgver}/liblto_plugin.so 
${pkgdir}/usr/lib/bfd-plugins/
+  install -dm755 ${pkgdir}/usr/lib/bfd-plugins/
+  ln -s /usr/lib/gcc/$CHOST/${pkgver}/liblto_plugin.so \
+${pkgdir}/usr/lib/bfd-plugins/
 
   make -C $CHOST/libcilkrts DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS \
 install-nodist_cilkincludeHEADERS
@@ -197,6 +200,7 @@
   make -C $CHOST/libquadmath DESTDIR=${pkgdir} 
install-nodist_libsubincludeHEADERS
   make -C $CHOST/libsanitizer DESTDIR=${pkgdir} 
install-nodist_{saninclude,toolexeclib}HEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
+  make -C $CHOST/libmpx DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
 
   make -C libiberty DESTDIR=${pkgdir} install
   # install PIC version of libiberty


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-05-03 Thread Allan McRae
Date: Sunday, May 3, 2015 @ 12:51:52
  Author: allan
Revision: 238379

upgpkg: gcc 5.1.0-2

fix a few bugs, enable libmpx, make lto usage easier

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-03 07:30:27 UTC (rev 238378)
+++ PKGBUILD2015-05-03 10:51:52 UTC (rev 238379)
@@ -8,7 +8,7 @@
 pkgver=5.1.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=1
+pkgrel=2
 _snapshot=5-20150428
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-05-02 Thread Allan McRae
Date: Sunday, May 3, 2015 @ 07:13:15
  Author: allan
Revision: 238374

new upstream snapshop + additional patches

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-03 03:09:44 UTC (rev 238373)
+++ PKGBUILD2015-05-03 05:13:15 UTC (rev 238374)
@@ -186,6 +186,7 @@
   make -C gcc DESTDIR=${pkgdir} install-mkheaders
   
   make -C lto-plugin DESTDIR=${pkgdir} install
+  install -Dm755 ${pkgdir}/usr/lib/bfd-plugins/
   ln -s /usr/lib/gcc/$CHOST/${pkgver}/liblto_plugin.so 
${pkgdir}/usr/lib/bfd-plugins/
 
   make -C $CHOST/libcilkrts DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS \
@@ -312,6 +313,7 @@
 {
   pkgdesc=Go front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
+  conflicts=('go')
   options=('!emptydirs')
   install=gcc-go.install
 
@@ -322,10 +324,6 @@
 
   make DESTDIR=${pkgdir} install-gotools
 
-  # fix conflicts with go package
-  mv ${pkgdir}/usr/bin/{,gcc-}go
-  mv ${pkgdir}/usr/bin/{,gcc-}gofmt
-
   # Install Runtime Library Exception
   install -d ${pkgdir}/usr/share/licenses/gcc-go/
   ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION 
${pkgdir}/usr/share/licenses/gcc-go/


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-04-22 Thread Allan McRae
Date: Thursday, April 23, 2015 @ 07:20:51
  Author: allan
Revision: 237946

upgpkg: gcc 5.1.0-1

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-23 05:20:15 UTC (rev 237945)
+++ PKGBUILD2015-04-23 05:20:51 UTC (rev 237946)
@@ -8,8 +8,8 @@
 pkgver=5.1.0
 _pkgver=5
 _islver=0.14.1
-pkgrel=0
-_snapshot=5.1.0-RC-20150412
+pkgrel=1
+#_snapshot=5.1.0-RC-20150412
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,10 +17,10 @@
 makedepends=('binutils=2.25' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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)
-md5sums=('37cdc2eb0adf92e421c0841748ac1471'
+md5sums=('d5525b1127d07d215960e6051c5da35e'
  '118d1a379abf7606a3334c98a8411c79')
 
 if [ -n ${_snapshot} ]; then
@@ -238,7 +238,7 @@
   install=gcc-fortran.install
 
   cd ${srcdir}/gcc-build
-  make -C $CHOST/libgfortran DESTDIR=$pkgdir 
install-{{caf,my}execlibLTLIBRARIES} \
+  make -C $CHOST/libgfortran DESTDIR=$pkgdir 
install-{caf,my}execlibLTLIBRARIES \
 install-{toolexeclibDATA,nodist_fincludeHEADERS}
   make -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
   make -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
@@ -302,7 +302,7 @@
   make -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
   install -Dm755 gcc/go1 $pkgdir/${_libdir}/go1
 
-  make install-gotools
+  make DESTDIR=${pkgdir} install-gotools
 
   # Install Runtime Library Exception
   install -d ${pkgdir}/usr/share/licenses/gcc-go/


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-04-15 Thread Allan McRae
Date: Wednesday, April 15, 2015 @ 11:59:06
  Author: allan
Revision: 236643

prepare gcc-5 release update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   51 +++
 1 file changed, 23 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-15 07:56:51 UTC (rev 236642)
+++ PKGBUILD2015-04-15 09:59:06 UTC (rev 236643)
@@ -5,12 +5,11 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.9.2
-_pkgver=4.9
-_islver=0.12.2
-_cloogver=0.18.1
-pkgrel=4
-_snapshot=4.9-20150304
+pkgver=5.1.0
+_pkgver=5
+_islver=0.14.1
+pkgrel=0
+_snapshot=5.1.0-RC-20150412
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -20,11 +19,9 @@
 options=('!emptydirs')
 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)
-md5sums=('863bb9d2a9551c9b7447cfc8b7cc7498'
- 'e039bfcfb6c2ab039b8ee69bf883e824'
- 'e34fca0540d840e5d0f6427e98c92252')
+http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
+md5sums=('37cdc2eb0adf92e421c0841748ac1471'
+ '118d1a379abf7606a3334c98a8411c79')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -37,9 +34,8 @@
 prepare() {
   cd ${srcdir}/${_basedir}
 
-  # link isl/cloog for in-tree builds
+  # link isl for in-tree build
   ln -s ../isl-${_islver} isl
-  ln -s ../cloog-${_cloogver} cloog
 
   # Do not run fixincludes
   sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
@@ -69,20 +65,15 @@
   --with-bugurl=https://bugs.archlinux.org/ \
   --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
   --enable-shared --enable-threads=posix \
-  --with-system-zlib --enable-__cxa_atexit \
+  --with-system-zlib --with-isl --enable-__cxa_atexit \
   --disable-libunwind-exceptions --enable-clocale=gnu \
   --disable-libstdcxx-pch --disable-libssp \
   --enable-gnu-unique-object --enable-linker-build-id \
-  --enable-cloog-backend=isl \
   --enable-lto --enable-plugin --enable-install-libiberty \
-  --with-linker-hash-style=gnu \
+  --with-linker-hash-style=gnu --enable-gnu-indirect-function \
   --disable-multilib --disable-werror \
-  --enable-checking=release
-  
-# gcc-5.0 changes
-#  --with-default-libstdcxx-abi=c++98- before gcc-5.0 c++ rebuild
-#  --enable-gnu-indirect-function
-#  --with-isl- cloog no longer needed
+  --enable-checking=release \
+  --with-default-libstdcxx-abi=c++98
 
   make
   
@@ -106,7 +97,7 @@
 {
   pkgdesc=Runtime libraries shipped by GCC
   groups=('base')
-  depends=('glibc=2.20')
+  depends=('glibc=2.21')
   options=('!emptydirs' '!strip')
   install=gcc-libs.install
 
@@ -131,7 +122,7 @@
 make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} 
install-toolexeclibLTLIBRARIES
 
   make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs
-  
+
   make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
 
   for lib in libgomp \
@@ -148,7 +139,7 @@
 package_gcc()
 {
   pkgdesc=The GNU Compiler Collection - C and C++ frontends
-  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.24' 'libmpc')
+  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.25' 'libmpc')
   groups=('base-devel')
   options=('staticlibs')
   install=gcc.install
@@ -158,7 +149,7 @@
   make -C gcc DESTDIR=${pkgdir} install-driver install-cpp install-gcc-ar \
 c++.install-common install-headers install-plugin install-lto-wrapper
 
-  install -m755 gcc/gcov $pkgdir/usr/bin/
+  install -m755 -t $pkgdir/usr/bin/ gcc/gcov{,-tool}
   install -m755 -t $pkgdir/${_libdir}/ gcc/{cc1,cc1plus,collect2,lto1}
 
   make -C $CHOST/libgcc DESTDIR=${pkgdir} install
@@ -169,6 +160,7 @@
   make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
   make -C $CHOST/libstdc++-v3/python DESTDIR=${pkgdir} install
 
+  make DESTDIR=${pkgdir} install-libcc1
   install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
   mv $pkgdir/usr/lib/libstdc++.so.6.*-gdb.py \
 $pkgdir/usr/share/gdb/auto-load/usr/lib/
@@ -184,7 +176,7 @@
 install-nodist_libsubincludeHEADERS
   make -C $CHOST/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
   make -C $CHOST/libquadmath DESTDIR=${pkgdir} 
install-nodist_libsubincludeHEADERS
-  make -C $CHOST/libsanitizer DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
+  make -C $CHOST/libsanitizer DESTDIR=${pkgdir} 
install-nodist_{saninclude,toolexeclib}HEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
 
   make -C libiberty DESTDIR=${pkgdir} install
@@ -246,7 +238,8 @@
   install=gcc-fortran.install
 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-03-05 Thread Allan McRae
Date: Friday, March 6, 2015 @ 04:42:13
  Author: allan
Revision: 232910

upgpkg: gcc 4.9.2-4

new upstream shapshot, fixes FS#44043

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-05 22:32:03 UTC (rev 232909)
+++ PKGBUILD2015-03-06 03:42:13 UTC (rev 232910)
@@ -9,8 +9,8 @@
 _pkgver=4.9
 _islver=0.12.2
 _cloogver=0.18.1
-pkgrel=3
-_snapshot=4.9-20150204
+pkgrel=4
+_snapshot=4.9-20150304
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -21,12 +21,10 @@
 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
-gcc-4.8-filename-output.patch)
-md5sums=('5a59c19c4ff7acd3db7f8d94843f7f85'
+http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz)
+md5sums=('863bb9d2a9551c9b7447cfc8b7cc7498'
  'e039bfcfb6c2ab039b8ee69bf883e824'
- 'e34fca0540d840e5d0f6427e98c92252'
- '6810bb9b2252f03e6c98d9a671d94589')
+ 'e34fca0540d840e5d0f6427e98c92252')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -54,10 +52,6 @@
   # hack! - some configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
-  # https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=9140d56f
-  patch -p1 -i ${srcdir}/gcc-4.8-filename-output.patch
-
   mkdir ${srcdir}/gcc-build
 }
 
@@ -84,6 +78,12 @@
   --with-linker-hash-style=gnu \
   --disable-multilib --disable-werror \
   --enable-checking=release
+  
+# gcc-5.0 changes
+#  --with-default-libstdcxx-abi=c++98- before gcc-5.0 c++ rebuild
+#  --enable-gnu-indirect-function
+#  --with-isl- cloog no longer needed
+
   make
   
   # make documentation


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2015-02-07 Thread Allan McRae
Date: Saturday, February 7, 2015 @ 10:48:08
  Author: allan
Revision: 231094

upgpkg: gcc 4.9.2-3

glibc-2.21 toolchain rebuild, new upstream snapshot

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-07 09:44:42 UTC (rev 231093)
+++ PKGBUILD2015-02-07 09:48:08 UTC (rev 231094)
@@ -9,8 +9,8 @@
 _pkgver=4.9
 _islver=0.12.2
 _cloogver=0.18.1
-pkgrel=2
-_snapshot=4.9-20141224
+pkgrel=3
+_snapshot=4.9-20150204
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -23,7 +23,7 @@
 http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
 http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz
 gcc-4.8-filename-output.patch)
-md5sums=('064bc3224ed492c1b2751c313f8278b0'
+md5sums=('5a59c19c4ff7acd3db7f8d94843f7f85'
  'e039bfcfb6c2ab039b8ee69bf883e824'
  'e34fca0540d840e5d0f6427e98c92252'
  '6810bb9b2252f03e6c98d9a671d94589')


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-12-26 Thread Allan McRae
Date: Saturday, December 27, 2014 @ 04:05:18
  Author: allan
Revision: 228069

upgpkg: gcc 4.9.2-2

binutils-2.25 rebuild, new upstream snapshot

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   18 --
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-27 02:56:15 UTC (rev 228068)
+++ PKGBUILD2014-12-27 03:05:18 UTC (rev 228069)
@@ -9,21 +9,21 @@
 _pkgver=4.9
 _islver=0.12.2
 _cloogver=0.18.1
-pkgrel=1
-#_snapshot=4.9-20140903
+pkgrel=2
+_snapshot=4.9-20141224
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url=http://gcc.gnu.org;
-makedepends=('binutils=2.24' 'libmpc' 'gcc-ada' 'doxygen')
+makedepends=('binutils=2.25' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
 gcc-4.8-filename-output.patch)
-md5sums=('4df8ee253b7f3863ad0b86359cd39c43'
+md5sums=('064bc3224ed492c1b2751c313f8278b0'
  'e039bfcfb6c2ab039b8ee69bf883e824'
  'e34fca0540d840e5d0f6427e98c92252'
  '6810bb9b2252f03e6c98d9a671d94589')
@@ -242,7 +242,7 @@
 {
   pkgdesc=Fortran front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
-  options=('staticlibs' '!emptydirs')
+  options=('!emptydirs')
   install=gcc-fortran.install
 
   cd ${srcdir}/gcc-build
@@ -301,7 +301,7 @@
 {
   pkgdesc=Go front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
-  options=('staticlibs' '!emptydirs')
+  options=('!emptydirs')
   install=gcc-go.install
 
   cd ${srcdir}/gcc-build
@@ -309,8 +309,6 @@
   make -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
   install -Dm755 gcc/go1 $pkgdir/${_libdir}/go1
 
-  rm $pkgdir/usr/lib/libgo.a
-
   # Install Runtime Library Exception
   install -d ${pkgdir}/usr/share/licenses/gcc-go/
   ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION 
${pkgdir}/usr/share/licenses/gcc-go/


[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.8-filename-output.patch)

2014-11-02 Thread Allan McRae
Date: Monday, November 3, 2014 @ 03:19:50
  Author: allan
Revision: 225557

upgpkg: gcc 4.9.2-1

upstream update, build isl and cloog in source tree

Modified:
  gcc/trunk/PKGBUILD
  gcc/trunk/gcc-4.8-filename-output.patch

---+
 PKGBUILD  |   40 ++--
 gcc-4.8-filename-output.patch |   16 
 2 files changed, 30 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-02 22:10:21 UTC (rev 225556)
+++ PKGBUILD2014-11-03 02:19:50 UTC (rev 225557)
@@ -5,24 +5,28 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.9.1
+pkgver=4.9.2
 _pkgver=4.9
-pkgrel=2
-_snapshot=4.9-20140903
+_islver=0.12.2
+_cloogver=0.18.1
+pkgrel=1
+#_snapshot=4.9-20140903
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url=http://gcc.gnu.org;
-makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
+makedepends=('binutils=2.24' 'libmpc' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
-gcc-4.8-filename-output.patch
-gcc-4.9-isl-0.13-hack.patch)
-md5sums=('24dfd67139fda4746d2deff18182611d'
- '40cb437805e2f7a006aa0d0c3098ab0f'
- 'f26ae06b9cbc8abe86f5ee4dc5737da8')
+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
+gcc-4.8-filename-output.patch)
+md5sums=('4df8ee253b7f3863ad0b86359cd39c43'
+ 'e039bfcfb6c2ab039b8ee69bf883e824'
+ 'e34fca0540d840e5d0f6427e98c92252'
+ '6810bb9b2252f03e6c98d9a671d94589')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -35,6 +39,10 @@
 prepare() {
   cd ${srcdir}/${_basedir}
 
+  # link isl/cloog for in-tree builds
+  ln -s ../isl-${_islver} isl
+  ln -s ../cloog-${_cloogver} cloog
+
   # Do not run fixincludes
   sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 
@@ -47,12 +55,9 @@
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
-  patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
+  # https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=9140d56f
+  patch -p1 -i ${srcdir}/gcc-4.8-filename-output.patch
 
-  # isl-0.13 support - mostly header includes and a function rename
-  # (which does not seem right but causes no testsuite failures...)
-  patch -p1 -i ${srcdir}/gcc-4.9-isl-0.13-hack.patch
-
   mkdir ${srcdir}/gcc-build
 }
 
@@ -75,7 +80,6 @@
   --disable-libstdcxx-pch --disable-libssp \
   --enable-gnu-unique-object --enable-linker-build-id \
   --enable-cloog-backend=isl \
-  --disable-isl-version-check --disable-cloog-version-check \
   --enable-lto --enable-plugin --enable-install-libiberty \
   --with-linker-hash-style=gnu \
   --disable-multilib --disable-werror \
@@ -144,7 +148,7 @@
 package_gcc()
 {
   pkgdesc=The GNU Compiler Collection - C and C++ frontends
-  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.24' 'libmpc' 'cloog')
+  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.24' 'libmpc')
   groups=('base-devel')
   options=('staticlibs')
   install=gcc.install

Modified: gcc-4.8-filename-output.patch
===
--- gcc-4.8-filename-output.patch   2014-11-02 22:10:21 UTC (rev 225556)
+++ gcc-4.8-filename-output.patch   2014-11-03 02:19:50 UTC (rev 225557)
@@ -1,12 +1,14 @@
 gcc/c-family/c-opts.c   (revision 200330)
-+++ gcc/c-family/c-opts.c   (working copy)
-@@ -1338,10 +1338,14 @@ c_finish_options (void)
-
- /* Give CPP the next file given by -include, if any.  */
+diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c
+index 968b703..3f8e6e6 100644
+--- a/gcc/c-family/c-opts.c
 b/gcc/c-family/c-opts.c
+@@ -1438,6 +1438,12 @@ c_finish_options (void)
  static void
  push_command_line_include (void)
  {
-+  // This can happen if disabled by -imacros for example.
++  /* This can happen if disabled by -imacros for example.
++ Punt so that we don't set command-line as the filename for
++ the header.  */
 +  if (include_cursor  deferred_count)
 +return;
 +
@@ -13,5 +15,3 @@
if (!done_preinclude)
  {
done_preinclude = true;
-   if (flag_hosted  std_inc  !cpp_opts-preprocessed)
-{


[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-09-08 Thread Allan McRae
Date: Monday, September 8, 2014 @ 08:14:47
  Author: allan
Revision: 221109

upgpkg: gcc 4.9.1-2

glibc-2.20 toolchain build, new upstream snapshot, do not strip gcc-libs

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-08 04:06:01 UTC (rev 221108)
+++ PKGBUILD2014-09-08 06:14:47 UTC (rev 221109)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.1
 _pkgver=4.9
-pkgrel=1
-#_snapshot=4.9-20140604
+pkgrel=2
+_snapshot=4.9-20140903
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,11 +16,11 @@
 makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
 gcc-4.8-filename-output.patch
 gcc-4.9-isl-0.13-hack.patch)
-md5sums=('fddf71348546af523353bd43d34919c1'
+md5sums=('24dfd67139fda4746d2deff18182611d'
  '40cb437805e2f7a006aa0d0c3098ab0f'
  'f26ae06b9cbc8abe86f5ee4dc5737da8')
 
@@ -102,8 +102,8 @@
 {
   pkgdesc=Runtime libraries shipped by GCC
   groups=('base')
-  depends=('glibc=2.19')
-  options=('!emptydirs')
+  depends=('glibc=2.20')
+  options=('!emptydirs' '!strip')
   install=gcc-libs.install
 
   cd ${srcdir}/gcc-build



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-07-17 Thread Allan McRae
Date: Thursday, July 17, 2014 @ 23:47:05
  Author: allan
Revision: 216962

upgpkg: gcc 4.9.1-1

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-17 20:52:07 UTC (rev 216961)
+++ PKGBUILD2014-07-17 21:47:05 UTC (rev 216962)
@@ -5,10 +5,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.9.0
+pkgver=4.9.1
 _pkgver=4.9
-pkgrel=5
-_snapshot=4.9-20140604
+pkgrel=1
+#_snapshot=4.9-20140604
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,11 +16,11 @@
 makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
 gcc-4.8-filename-output.patch
 gcc-4.9-isl-0.13-hack.patch)
-md5sums=('57aa4ff81c56262dc89994853c4d0149'
+md5sums=('fddf71348546af523353bd43d34919c1'
  '40cb437805e2f7a006aa0d0c3098ab0f'
  'f26ae06b9cbc8abe86f5ee4dc5737da8')
 



[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.9-isl-0.13-hack.patch)

2014-06-25 Thread Allan McRae
Date: Wednesday, June 25, 2014 @ 14:14:48
  Author: allan
Revision: 215433

upgpkg: gcc 4.9.0-5

fix graphite with isl-0.13 compatibility hack

Added:
  gcc/trunk/gcc-4.9-isl-0.13-hack.patch
Modified:
  gcc/trunk/PKGBUILD

-+
 PKGBUILD|   15 ++--
 gcc-4.9-isl-0.13-hack.patch |   71 ++
 2 files changed, 82 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-24 22:02:44 UTC (rev 215432)
+++ PKGBUILD2014-06-25 12:14:48 UTC (rev 215433)
@@ -7,7 +7,7 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.0
 _pkgver=4.9
-pkgrel=4
+pkgrel=5
 _snapshot=4.9-20140604
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -18,9 +18,11 @@
 options=('!emptydirs')
 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
-gcc-4.8-filename-output.patch)
+gcc-4.8-filename-output.patch
+gcc-4.9-isl-0.13-hack.patch)
 md5sums=('57aa4ff81c56262dc89994853c4d0149'
- '40cb437805e2f7a006aa0d0c3098ab0f')
+ '40cb437805e2f7a006aa0d0c3098ab0f'
+ 'f26ae06b9cbc8abe86f5ee4dc5737da8')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -47,6 +49,10 @@
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
   patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
 
+  # isl-0.13 support - mostly header includes and a function rename
+  # (which does not seem right but causes no testsuite failures...)
+  patch -p1 -i ${srcdir}/gcc-4.9-isl-0.13-hack.patch
+
   mkdir ${srcdir}/gcc-build
 }
 
@@ -68,7 +74,8 @@
   --disable-libunwind-exceptions --enable-clocale=gnu \
   --disable-libstdcxx-pch --disable-libssp \
   --enable-gnu-unique-object --enable-linker-build-id \
-  --enable-cloog-backend=isl --disable-cloog-version-check \
+  --enable-cloog-backend=isl \
+  --disable-isl-version-check --disable-cloog-version-check \
   --enable-lto --enable-plugin --enable-install-libiberty \
   --with-linker-hash-style=gnu \
   --disable-multilib --disable-werror \

Added: gcc-4.9-isl-0.13-hack.patch
===
--- gcc-4.9-isl-0.13-hack.patch (rev 0)
+++ gcc-4.9-isl-0.13-hack.patch 2014-06-25 12:14:48 UTC (rev 215433)
@@ -0,0 +1,71 @@
+diff -Naur gcc-4.9-20140604-old/gcc/graphite-clast-to-gimple.c 
gcc-4.9-20140604/gcc/graphite-clast-to-gimple.c
+--- gcc-4.9-20140604-old/gcc/graphite-clast-to-gimple.c2014-03-03 
21:39:22.0 +1000
 gcc-4.9-20140604/gcc/graphite-clast-to-gimple.c2014-06-25 
15:07:57.958697105 +1000
+@@ -28,6 +28,8 @@
+ #include isl/constraint.h
+ #include isl/ilp.h
+ #include isl/aff.h
++#include isl/deprecated/int.h
++#include isl/deprecated/ilp_int.h
+ #include cloog/cloog.h
+ #include cloog/isl/domain.h
+ #endif
+diff -Naur gcc-4.9-20140604-old/gcc/graphite-interchange.c 
gcc-4.9-20140604/gcc/graphite-interchange.c
+--- gcc-4.9-20140604-old/gcc/graphite-interchange.c2014-01-03 
08:23:26.0 +1000
 gcc-4.9-20140604/gcc/graphite-interchange.c2014-06-25 
15:10:06.882899243 +1000
+@@ -29,6 +29,9 @@
+ #include isl/map.h
+ #include isl/union_map.h
+ #include isl/ilp.h
++#include isl/deprecated/int.h
++#include isl/deprecated/ilp_int.h
++#include isl/deprecated/constraint_int.h
+ #include cloog/cloog.h
+ #include cloog/isl/domain.h
+ #endif
+diff -Naur gcc-4.9-20140604-old/gcc/graphite-optimize-isl.c 
gcc-4.9-20140604/gcc/graphite-optimize-isl.c
+--- gcc-4.9-20140604-old/gcc/graphite-optimize-isl.c   2014-01-03 
08:23:26.0 +1000
 gcc-4.9-20140604/gcc/graphite-optimize-isl.c   2014-06-25 
15:16:57.038386166 +1000
+@@ -28,6 +28,8 @@
+ #include isl/band.h
+ #include isl/aff.h
+ #include isl/options.h
++#include isl/deprecated/int.h
++#include isl/deprecated/aff_int.h
+ #endif
+ 
+ #include system.h
+@@ -373,7 +375,7 @@
+   {
+ for (i = ScheduleDimensions - 1 ;  i = 0 ; i--)
+   {
+-if (isl_band_member_is_zero_distance (Band, i))
++if (isl_band_member_is_coincident (Band, i))
+   {
+ isl_map *TileMap;
+ isl_union_map *TileUMap;
+diff -Naur gcc-4.9-20140604-old/gcc/graphite-poly.c 
gcc-4.9-20140604/gcc/graphite-poly.c
+--- gcc-4.9-20140604-old/gcc/graphite-poly.c   2014-01-03 08:23:26.0 
+1000
 gcc-4.9-20140604/gcc/graphite-poly.c   2014-06-25 15:18:01.207157796 
+1000
+@@ -28,6 +28,8 @@
+ #include isl/constraint.h
+ #include isl/ilp.h
+ #include isl/aff.h
++#include isl/deprecated/int.h
++#include isl/deprecated/ilp_int.h
+ #include cloog/cloog.h
+ #include cloog/isl/domain.h
+ #endif
+diff -Naur gcc-4.9-20140604-old/gcc/graphite-sese-to-poly.c 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-06-05 Thread Allan McRae
Date: Thursday, June 5, 2014 @ 23:36:51
  Author: allan
Revision: 214316

upgpkg: gcc 4.9.0-4

isl rebuild, new snapshot

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-05 21:01:46 UTC (rev 214315)
+++ PKGBUILD2014-06-05 21:36:51 UTC (rev 214316)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.0
 _pkgver=4.9
-pkgrel=3
-_snapshot=4.9-20140521
+pkgrel=4
+_snapshot=4.9-20140604
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -19,7 +19,7 @@
 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
 gcc-4.8-filename-output.patch)
-md5sums=('cd3cbe93ebc7207bf65d30e3c9a74a26'
+md5sums=('57aa4ff81c56262dc89994853c4d0149'
  '40cb437805e2f7a006aa0d0c3098ab0f')
 
 if [ -n ${_snapshot} ]; then



[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.9-tree-ssa-threadedge.patch)

2014-05-22 Thread Allan McRae
Date: Friday, May 23, 2014 @ 01:00:14
  Author: allan
Revision: 213398

upgpkg: gcc 4.9.0-3

new upstream snapshot, remove merged patch

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/gcc-4.9-tree-ssa-threadedge.patch

---+
 PKGBUILD  |   15 --
 gcc-4.9-tree-ssa-threadedge.patch |   38 
 2 files changed, 5 insertions(+), 48 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-22 20:52:19 UTC (rev 213397)
+++ PKGBUILD2014-05-22 23:00:14 UTC (rev 213398)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.0
 _pkgver=4.9
-pkgrel=2
-_snapshot=4.9-20140507
+pkgrel=3
+_snapshot=4.9-20140521
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -18,11 +18,9 @@
 options=('!emptydirs')
 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
-gcc-4.8-filename-output.patch
-   gcc-4.9-tree-ssa-threadedge.patch)
-md5sums=('47dc2b91d2876daff53c20c30164c38f'
- '40cb437805e2f7a006aa0d0c3098ab0f'
- '311ece7f5446d550e84e28692d2fb823')
+gcc-4.8-filename-output.patch)
+md5sums=('cd3cbe93ebc7207bf65d30e3c9a74a26'
+ '40cb437805e2f7a006aa0d0c3098ab0f')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -49,9 +47,6 @@
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
   patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
 
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902
-  patch -p1 -i ${srcdir}/gcc-4.9-tree-ssa-threadedge.patch
-
   mkdir ${srcdir}/gcc-build
 }
 

Deleted: gcc-4.9-tree-ssa-threadedge.patch
===
--- gcc-4.9-tree-ssa-threadedge.patch   2014-05-22 20:52:19 UTC (rev 213397)
+++ gcc-4.9-tree-ssa-threadedge.patch   2014-05-22 23:00:14 UTC (rev 213398)
@@ -1,38 +0,0 @@
 trunk/gcc/tree-ssa-threadedge.c2014/04/23 17:53:56 209715
-+++ trunk/gcc/tree-ssa-threadedge.c2014/04/23 18:04:46 209716
-@@ -387,7 +387,34 @@
-(gimple_code (stmt) != GIMPLE_CALL
-   || gimple_call_lhs (stmt) == NULL_TREE
-   || TREE_CODE (gimple_call_lhs (stmt)) != SSA_NAME))
--  continue;
-+  {
-+/* STMT might still have DEFS and we need to invalidate any known
-+   equivalences for them.
-+
-+   Consider if STMT is a GIMPLE_ASM with one or more outputs that
-+   feeds a conditional inside a loop.  We might derive an equivalence
-+   due to the conditional.  */
-+tree op;
-+ssa_op_iter iter;
-+
-+if (backedge_seen)
-+  FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_DEF)
-+{
-+  /* This call only invalidates equivalences created by
-+ PHI nodes.  This is by design to keep the cost of
-+ of invalidation reasonable.  */
-+  invalidate_equivalences (op, stack, src_map, dst_map);
-+
-+  /* However, conditionals can imply values for real
-+ operands as well.  And those won't be recorded in the
-+ maps.  In fact, those equivalences may be recorded totally
-+ outside the threading code.  We can just create a new
-+ temporary NULL equivalence here.  */
-+  record_temporary_equivalence (op, NULL_TREE, stack);
-+}
-+
-+continue;
-+  }
- 
-   /* The result of __builtin_object_size depends on all the arguments
-of a phi node. Temporarily using only one edge produces invalid



[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.9-tree-ssa-threadedge.patch)

2014-05-08 Thread Allan McRae
Date: Thursday, May 8, 2014 @ 12:28:23
  Author: allan
Revision: 212122

upgpkg: gcc 4.9.0-2

new upstream snapshot plus patch

Added:
  gcc/trunk/gcc-4.9-tree-ssa-threadedge.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   19 +++---
 gcc-4.9-tree-ssa-threadedge.patch |   38 
 2 files changed, 50 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-08 08:56:17 UTC (rev 212121)
+++ PKGBUILD2014-05-08 10:28:23 UTC (rev 212122)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.0
 _pkgver=4.9
-pkgrel=1
-#_snapshot=4.9.0-RC-20140411
+pkgrel=2
+_snapshot=4.9-20140507
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,11 +16,13 @@
 makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
-gcc-4.8-filename-output.patch)
-md5sums=('9709b49ae0e904cbb0a6a1b62853b556'
- '40cb437805e2f7a006aa0d0c3098ab0f')
+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
+gcc-4.8-filename-output.patch
+   gcc-4.9-tree-ssa-threadedge.patch)
+md5sums=('47dc2b91d2876daff53c20c30164c38f'
+ '40cb437805e2f7a006aa0d0c3098ab0f'
+ '311ece7f5446d550e84e28692d2fb823')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -47,6 +49,9 @@
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
   patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
 
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60902
+  patch -p1 -i ${srcdir}/gcc-4.9-tree-ssa-threadedge.patch
+
   mkdir ${srcdir}/gcc-build
 }
 

Added: gcc-4.9-tree-ssa-threadedge.patch
===
--- gcc-4.9-tree-ssa-threadedge.patch   (rev 0)
+++ gcc-4.9-tree-ssa-threadedge.patch   2014-05-08 10:28:23 UTC (rev 212122)
@@ -0,0 +1,38 @@
+--- trunk/gcc/tree-ssa-threadedge.c2014/04/23 17:53:56 209715
 trunk/gcc/tree-ssa-threadedge.c2014/04/23 18:04:46 209716
+@@ -387,7 +387,34 @@
+(gimple_code (stmt) != GIMPLE_CALL
+   || gimple_call_lhs (stmt) == NULL_TREE
+   || TREE_CODE (gimple_call_lhs (stmt)) != SSA_NAME))
+-  continue;
++  {
++/* STMT might still have DEFS and we need to invalidate any known
++   equivalences for them.
++
++   Consider if STMT is a GIMPLE_ASM with one or more outputs that
++   feeds a conditional inside a loop.  We might derive an equivalence
++   due to the conditional.  */
++tree op;
++ssa_op_iter iter;
++
++if (backedge_seen)
++  FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_DEF)
++{
++  /* This call only invalidates equivalences created by
++ PHI nodes.  This is by design to keep the cost of
++ of invalidation reasonable.  */
++  invalidate_equivalences (op, stack, src_map, dst_map);
++
++  /* However, conditionals can imply values for real
++ operands as well.  And those won't be recorded in the
++ maps.  In fact, those equivalences may be recorded totally
++ outside the threading code.  We can just create a new
++ temporary NULL equivalence here.  */
++  record_temporary_equivalence (op, NULL_TREE, stack);
++}
++
++continue;
++  }
+ 
+   /* The result of __builtin_object_size depends on all the arguments
+of a phi node. Temporarily using only one edge produces invalid



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-05-02 Thread Allan McRae
Date: Friday, May 2, 2014 @ 12:58:38
  Author: allan
Revision: 211969

install PIC version of libiberty

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-02 10:40:55 UTC (rev 211968)
+++ PKGBUILD2014-05-02 10:58:38 UTC (rev 211969)
@@ -177,6 +177,8 @@
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
 
   make -C libiberty DESTDIR=${pkgdir} install
+  # install PIC version of libiberty
+  install -m644 ${srcdir}/gcc-build/libiberty/pic/libiberty.a ${pkgdir}/usr/lib
 
   make -C gcc DESTDIR=${pkgdir} install-man install-info
   rm ${pkgdir}/usr/share/man/man1/{gccgo,gfortran}.1
@@ -185,7 +187,7 @@
   make -C libcpp DESTDIR=${pkgdir} install
   make -C gcc DESTDIR=${pkgdir} install-po
 
-  # many packages expect this symlinks
+  # many packages expect this symlink
   ln -s gcc ${pkgdir}/usr/bin/cc
 
   # POSIX conformance launcher scripts for c89 and c99



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-04-22 Thread Allan McRae
Date: Wednesday, April 23, 2014 @ 04:22:34
  Author: allan
Revision: 211672

upgpkg: gcc 4.9.0-1

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-23 02:19:02 UTC (rev 211671)
+++ PKGBUILD2014-04-23 02:22:34 UTC (rev 211672)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.9.0
 _pkgver=4.9
-pkgrel=0
-_snapshot=4.9.0-RC-20140411
+pkgrel=1
+#_snapshot=4.9.0-RC-20140411
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,10 +16,10 @@
 makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
 gcc-4.8-filename-output.patch)
-md5sums=('12f7fe4678c6e52ee97cf30819f2377b'
+md5sums=('9709b49ae0e904cbb0a6a1b62853b556'
  '40cb437805e2f7a006aa0d0c3098ab0f')
 
 if [ -n ${_snapshot} ]; then



[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.8-lambda-ICE.patch)

2014-04-12 Thread Allan McRae
Date: Sunday, April 13, 2014 @ 04:17:07
  Author: allan
Revision: 210250

prepare for gcc-4.9 update

Modified:
  gcc/trunk/PKGBUILD
Deleted:
  gcc/trunk/gcc-4.8-lambda-ICE.patch

--+
 PKGBUILD |   38 --
 gcc-4.8-lambda-ICE.patch |   35 ---
 2 files changed, 16 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-12 19:38:15 UTC (rev 210249)
+++ PKGBUILD2014-04-13 02:17:07 UTC (rev 210250)
@@ -5,10 +5,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.8.2
-_pkgver=4.8
-pkgrel=8
-_snapshot=4.8-20140206
+pkgver=4.9.0
+_pkgver=4.9
+pkgrel=0
+_snapshot=4.9.0-RC-20140411
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -18,11 +18,9 @@
 options=('!emptydirs')
 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
-gcc-4.8-filename-output.patch
-gcc-4.8-lambda-ICE.patch)
-md5sums=('9d35549404a2326540fb88301ebd1977'
- '40cb437805e2f7a006aa0d0c3098ab0f'
- '6eb6e080dbf7bc6825f53a0aaa6c4ef9')
+gcc-4.8-filename-output.patch)
+md5sums=('12f7fe4678c6e52ee97cf30819f2377b'
+ '40cb437805e2f7a006aa0d0c3098ab0f')
 
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
@@ -48,14 +46,7 @@
 
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
   patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
-  
-  # http://gcc.gnu.org/bugzilla//show_bug.cgi?id=56710 - commit 3d1f8279
-  patch -p1 -i ${srcdir}/gcc-4.8-lambda-ICE.patch
 
-  # installing libiberty headers is broken
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780#c6
-  sed -i 's#@target_header_dir@#libiberty#' libiberty/Makefile.in
-
   mkdir ${srcdir}/gcc-build
 }
 
@@ -113,14 +104,15 @@
   make -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
   rm ${pkgdir}/${_libdir}/libgcc_eh.a
   
-  for lib in libmudflap \
+  for lib in libatomic \
+ libcilkrts \
+ libgfortran \
  libgomp \
  libitm \
- libatomic \
+ libquadmath \
+ libsanitizer/{a,l,ub}san \
  libstdc++-v3/src \
- libquadmath \
- libgfortran \
- libsanitizer/asan; do
+ libvtv; do
 make -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
   done
 
@@ -175,11 +167,13 @@
   make -C gcc DESTDIR=${pkgdir} install-mkheaders
   make -C lto-plugin DESTDIR=${pkgdir} install
 
+  make -C $CHOST/libcilkrts DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS \
+install-nodist_cilkincludeHEADERS
   make -C $CHOST/libgomp DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS \
 install-nodist_libsubincludeHEADERS
   make -C $CHOST/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
-  make -C $CHOST/libmudflap DESTDIR=${pkgdir} 
install-nobase_libsubincludeHEADERS
   make -C $CHOST/libquadmath DESTDIR=${pkgdir} 
install-nodist_libsubincludeHEADERS
+  make -C $CHOST/libsanitizer DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
 
   make -C libiberty DESTDIR=${pkgdir} install

Deleted: gcc-4.8-lambda-ICE.patch
===
--- gcc-4.8-lambda-ICE.patch2014-04-12 19:38:15 UTC (rev 210249)
+++ gcc-4.8-lambda-ICE.patch2014-04-13 02:17:07 UTC (rev 210250)
@@ -1,35 +0,0 @@
-diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
-index 0b8e2f7..ad1c209 100644
 a/gcc/cp/semantics.c
-+++ b/gcc/cp/semantics.c
-@@ -2719,8 +2719,10 @@ finish_member_declaration (tree decl)
- /*friend_p=*/0);
-   }
- }
--  /* Enter the DECL into the scope of the class.  */
--  else if (pushdecl_class_level (decl))
-+  /* Enter the DECL into the scope of the class, if the class
-+ isn't a closure (whose fields are supposed to be unnamed).  */
-+  else if (CLASSTYPE_LAMBDA_EXPR (current_class_type)
-+ || pushdecl_class_level (decl))
- {
-   if (TREE_CODE (decl) == USING_DECL)
-   {
-diff --git a/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-names1.C 
b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-names1.C
-new file mode 100644
-index 000..df2b037
 /dev/null
-+++ b/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-names1.C
-@@ -0,0 +1,9 @@
-+// PR c++/56710
-+// { dg-options -std=c++11 -Wall }
-+
-+int main()
-+{
-+int t = 0;
-+return []() - int {int __t; __t = t; return __t; }();
-+return [t]() - int {int __t; __t = t; return __t; }();
-+}
--- 
-1.8.4.2
-



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2014-02-07 Thread Allan McRae
Date: Friday, February 7, 2014 @ 23:45:27
  Author: allan
Revision: 205573

upgpkg: gcc 4.8.2-8

glibc-2.19 rebuild, use latest snapshot, keep gcc-ada static libraries because 
gnatmake expects them even if unused...

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-07 22:41:34 UTC (rev 205572)
+++ PKGBUILD2014-02-07 22:45:27 UTC (rev 205573)
@@ -7,13 +7,13 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
 _pkgver=4.8
-pkgrel=7
-_snapshot=4.8-20131219
+pkgrel=8
+_snapshot=4.8-20140206
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url=http://gcc.gnu.org;
-makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
+makedepends=('binutils=2.24' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
 source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
@@ -20,11 +20,10 @@
 
ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
 gcc-4.8-filename-output.patch
 gcc-4.8-lambda-ICE.patch)
-md5sums=('666ef08f87649f941bc5512e13a88fdc'
+md5sums=('9d35549404a2326540fb88301ebd1977'
  '40cb437805e2f7a006aa0d0c3098ab0f'
  '6eb6e080dbf7bc6825f53a0aaa6c4ef9')
 
-
 if [ -n ${_snapshot} ]; then
   _basedir=gcc-${_snapshot}
 else
@@ -105,7 +104,7 @@
 {
   pkgdesc=Runtime libraries shipped by GCC
   groups=('base')
-  depends=('glibc=2.17')
+  depends=('glibc=2.19')
   options=('!emptydirs')
   install=gcc-libs.install
 
@@ -146,7 +145,7 @@
 package_gcc()
 {
   pkgdesc=The GNU Compiler Collection - C and C++ frontends
-  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.23' 'libmpc' 'cloog')
+  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.24' 'libmpc' 'cloog')
   groups=('base-devel')
   options=('staticlibs')
   install=gcc.install
@@ -280,11 +279,11 @@
 
   ln -s gcc ${pkgdir}/usr/bin/gnatgcc
 
-  # insist on dynamic linking
+  # insist on dynamic linking, but keep static libraries because gnatmake 
complains
   mv ${pkgdir}/${_libdir}/adalib/libgna{rl,t}-${_pkgver}.so ${pkgdir}/usr/lib
   ln -s libgnarl-${_pkgver}.so ${pkgdir}/usr/lib/libgnarl.so
   ln -s libgnat-${_pkgver}.so ${pkgdir}/usr/lib/libgnat.so
-  rm ${pkgdir}/${_libdir}/adalib/libgna{rl,t}.*
+  rm ${pkgdir}/${_libdir}/adalib/libgna{rl,t}.so
 
   # Install Runtime Library Exception
   install -d ${pkgdir}/usr/share/licenses/gcc-ada/



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-12-23 Thread Allan McRae
Date: Monday, December 23, 2013 @ 16:16:00
  Author: allan
Revision: 202653

upgpkg: gcc 4.8.2-7

new upstream snapshot, fixes FS#38179 and FS#38208

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-23 08:42:02 UTC (rev 202652)
+++ PKGBUILD2013-12-23 15:16:00 UTC (rev 202653)
@@ -7,8 +7,8 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
 _pkgver=4.8
-pkgrel=6
-#_snapshot=4.8-20130725
+pkgrel=7
+_snapshot=4.8-20131219
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,11 +16,11 @@
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!emptydirs')
-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
 gcc-4.8-filename-output.patch
 gcc-4.8-lambda-ICE.patch)
-md5sums=('a3d7d63b9cb6b6ea049469a0c4a43c9d'
+md5sums=('666ef08f87649f941bc5512e13a88fdc'
  '40cb437805e2f7a006aa0d0c3098ab0f'
  '6eb6e080dbf7bc6825f53a0aaa6c4ef9')
 
@@ -168,7 +168,8 @@
   make -C $CHOST/libstdc++-v3/python DESTDIR=${pkgdir} install
 
   install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
-  mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.18-gdb.py
+  mv $pkgdir/usr/lib/libstdc++.so.6.*-gdb.py \
+$pkgdir/usr/share/gdb/auto-load/usr/lib/
   rm ${pkgdir}/usr/lib/libstdc++.so*
 
   make DESTDIR=${pkgdir} install-fixincludes



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-12-11 Thread Allan McRae
Date: Wednesday, December 11, 2013 @ 14:50:54
  Author: allan
Revision: 201425

upgpkg: gcc 4.8.2-6

binutils-2.24 toolchain build, move libiberty from binutils to gcc

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-11 13:49:35 UTC (rev 201424)
+++ PKGBUILD2013-12-11 13:50:54 UTC (rev 201425)
@@ -7,7 +7,7 @@
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
 _pkgver=4.8
-pkgrel=5
+pkgrel=6
 #_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -52,7 +52,11 @@
   
   # http://gcc.gnu.org/bugzilla//show_bug.cgi?id=56710 - commit 3d1f8279
   patch -p1 -i ${srcdir}/gcc-4.8-lambda-ICE.patch
-  
+
+  # installing libiberty headers is broken
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780#c6
+  sed -i 's#@target_header_dir@#libiberty#' libiberty/Makefile.in
+
   mkdir ${srcdir}/gcc-build
 }
 
@@ -75,7 +79,7 @@
   --disable-libstdcxx-pch --disable-libssp \
   --enable-gnu-unique-object --enable-linker-build-id \
   --enable-cloog-backend=isl --disable-cloog-version-check \
-  --enable-lto --enable-plugin \
+  --enable-lto --enable-plugin --enable-install-libiberty \
   --with-linker-hash-style=gnu \
   --disable-multilib --disable-werror \
   --enable-checking=release
@@ -178,6 +182,8 @@
   make -C $CHOST/libquadmath DESTDIR=${pkgdir} 
install-nodist_libsubincludeHEADERS
   make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} 
install-nodist_toolexeclibHEADERS
 
+  make -C libiberty DESTDIR=${pkgdir} install
+
   make -C gcc DESTDIR=${pkgdir} install-man install-info
   rm ${pkgdir}/usr/share/man/man1/{gccgo,gfortran}.1
   rm ${pkgdir}/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-11-27 Thread Allan McRae
Date: Wednesday, November 27, 2013 @ 23:14:15
  Author: allan
Revision: 200397

major PKGBUILD clean-up, move libatomic to gcc-libs, make gcc-ada link shared

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |  174 -
 1 file changed, 94 insertions(+), 80 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-27 20:54:58 UTC (rev 200396)
+++ PKGBUILD2013-11-27 22:14:15 UTC (rev 200397)
@@ -6,7 +6,8 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
-pkgrel=4
+_pkgver=4.8
+pkgrel=5
 #_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -30,6 +31,8 @@
   _basedir=gcc-${pkgver}
 fi
 
+_libdir=usr/lib/gcc/$CHOST/$pkgver
+
 prepare() {
   cd ${srcdir}/${_basedir}
 
@@ -69,19 +72,17 @@
   --enable-shared --enable-threads=posix \
   --with-system-zlib --enable-__cxa_atexit \
   --disable-libunwind-exceptions --enable-clocale=gnu \
-  --disable-libstdcxx-pch \
+  --disable-libstdcxx-pch --disable-libssp \
   --enable-gnu-unique-object --enable-linker-build-id \
   --enable-cloog-backend=isl --disable-cloog-version-check \
-  --enable-lto --enable-gold --enable-ld=default \
-  --enable-plugin --with-plugin-ld=ld.gold \
-  --with-linker-hash-style=gnu --disable-install-libiberty \
-  --disable-multilib --disable-libssp --disable-werror \
+  --enable-lto --enable-plugin \
+  --with-linker-hash-style=gnu \
+  --disable-multilib --disable-werror \
   --enable-checking=release
   make
   
   # make documentation
-  cd $CHOST/libstdc++-v3
-  make doc-man-doxygen
+  make -C $CHOST/libstdc++-v3/doc doc-man-doxygen
 }
 
 check() {
@@ -101,31 +102,38 @@
   pkgdesc=Runtime libraries shipped by GCC
   groups=('base')
   depends=('glibc=2.17')
+  options=('!emptydirs')
   install=gcc-libs.install
 
   cd ${srcdir}/gcc-build
-  make -j1 -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
-  for lib in libmudflap libgomp libstdc++-v3/src libitm libsanitizer/asan; do
-make -j1 -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
+  
+  make -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
+  rm ${pkgdir}/${_libdir}/libgcc_eh.a
+  
+  for lib in libmudflap \
+ libgomp \
+ libitm \
+ libatomic \
+ libstdc++-v3/src \
+ libquadmath \
+ libgfortran \
+ libsanitizer/asan; do
+make -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
   done
 
   [[ $CARCH == x86_64 ]]  \
-make -j1 -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} 
install-toolexeclibLTLIBRARIES
+make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} 
install-toolexeclibLTLIBRARIES
+
+  make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs
   
-  make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
-  make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info
-  make -j1 -C $CHOST/libitm DESTDIR=${pkgdir} install-info
+  make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
 
-  make -j1 DESTDIR=${pkgdir} install-target-libquadmath  
-  make -j1 DESTDIR=${pkgdir} install-target-libgfortran
-  make -j1 DESTDIR=${pkgdir} install-target-libobjc
+  for lib in libgomp \
+ libitm \
+ libquadmath; do
+make -C $CHOST/$lib DESTDIR=${pkgdir} install-info
+  done
 
-  # remove unnecessary files installed by 
install-target-{libquadmath,libgfortran,libobjc}
-  rm -r ${pkgdir}/usr/lib/{gcc/,libgfortran.spec}
-
-  # remove static libraries
-  find ${pkgdir} -name *.a -delete
-  
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
 ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
@@ -140,29 +148,43 @@
   install=gcc.install
 
   cd ${srcdir}/gcc-build
+
+  make -C gcc DESTDIR=${pkgdir} install-driver install-cpp install-gcc-ar \
+c++.install-common install-headers install-plugin install-lto-wrapper
+
+  install -m755 gcc/gcov $pkgdir/usr/bin/
+  install -m755 -t $pkgdir/${_libdir}/ gcc/{cc1,cc1plus,collect2,lto1}
+
+  make -C $CHOST/libgcc DESTDIR=${pkgdir} install
+  rm ${pkgdir}/usr/lib/libgcc_s.so*
   
-  make -j1 DESTDIR=${pkgdir} install
+  make -C $CHOST/libstdc++-v3/src DESTDIR=${pkgdir} install
+  make -C $CHOST/libstdc++-v3/include DESTDIR=${pkgdir} install
+  make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
+  make -C $CHOST/libstdc++-v3/python DESTDIR=${pkgdir} install
 
   install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
   mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.18-gdb.py
+  rm ${pkgdir}/usr/lib/libstdc++.so*
 
-  # unfortunately it is much, much easier to install the lot and clean-up the 
mess...
-  rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
-  rm $pkgdir/usr/lib/*.so*
-  rm 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-10-21 Thread Allan McRae
Date: Monday, October 21, 2013 @ 13:23:31
  Author: allan
Revision: 196954

upgpkg: gcc 4.8.2-3

add back some needed static libraries

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-21 10:59:56 UTC (rev 196953)
+++ PKGBUILD2013-10-21 11:23:31 UTC (rev 196954)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
-pkgrel=2
+pkgrel=3
 #_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -153,7 +153,9 @@
   rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
-  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++}.a
+  
+  # remove static libraries - note libstdc++.a is needed for the binutils and 
glibc testsuite
+  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath}.a
   [[ $CARCH = x86_64 ]]  rm $pkgdir/usr/lib/libtsan.a
 
   # many packages expect this symlinks
@@ -259,8 +261,6 @@
 
   ln -s gcc ${pkgdir}/usr/bin/gnatgcc
 
-  rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/adalib/libgna{rl,t}.a
-
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
 ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-10-20 Thread Allan McRae
Date: Monday, October 21, 2013 @ 04:38:25
  Author: allan
Revision: 196896

remove unneeded static libraries

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-21 01:44:28 UTC (rev 196895)
+++ PKGBUILD2013-10-21 02:38:25 UTC (rev 196896)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.2
-pkgrel=1
+pkgrel=2
 #_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 url=http://gcc.gnu.org;
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
-options=('!libtool' '!emptydirs')
+options=('!emptydirs')
 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
 gcc-4.8-filename-output.patch)
@@ -131,6 +131,7 @@
   pkgdesc=The GNU Compiler Collection - C and C++ frontends
   depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.23' 'libmpc' 'cloog')
   groups=('base-devel')
+  options=('staticlibs')
   install=gcc.install
 
   cd ${srcdir}/gcc-build
@@ -152,6 +153,7 @@
   rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
+  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++,tsan}.a
 
   # many packages expect this symlinks
   ln -s gcc ${pkgdir}/usr/bin/cc
@@ -199,6 +201,7 @@
 {
   pkgdesc=Fortran front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
+  options=('staticlibs')
   install=gcc-fortran.install
 
   cd ${srcdir}/gcc-build
@@ -209,12 +212,13 @@
 
   ln -s gfortran ${pkgdir}/usr/bin/f95
 
-  # remove files included in gcc-libs or gcc
+  # remove files included in gcc-libs or gcc and unnneeded static lib
   rm ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
   rm ${pkgdir}/usr/lib/libquadmath.{a,so*}
   rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
   rm ${pkgdir}/usr/share/info/libquadmath.info
   rm -r ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include
+  rm ${pkgdir}/usr/lib/libgfortran.a
 
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
@@ -245,6 +249,7 @@
 {
   pkgdesc=Ada front-end for GCC (GNAT)
   depends=(gcc=$pkgver-$pkgrel)
+  options=('staticlibs')
   install=gcc-ada.install
 
   cd ${srcdir}/gcc-build/gcc
@@ -252,7 +257,9 @@
   install -m755 gnat1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver
 
   ln -s gcc ${pkgdir}/usr/bin/gnatgcc
-  
+
+  rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/adalib/libgna{rl,t}.a
+
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
 ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION
@@ -262,6 +269,7 @@
 {
   pkgdesc=Go front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
+  options=('staticlibs')
   install=gcc-go.install
 
   cd ${srcdir}/gcc-build
@@ -268,6 +276,7 @@
   make -j1 DESTDIR=$pkgdir install-target-libgo
   make -j1 -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
   install -Dm755 gcc/go1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/go1
+  rm $pkgdir/usr/lib/lib{atomic,go}.a
 
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-10-20 Thread Allan McRae
Date: Monday, October 21, 2013 @ 05:58:34
  Author: allan
Revision: 196910

propegate the emptydir option, libtsan.a is x86_64 only

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-21 03:50:31 UTC (rev 196909)
+++ PKGBUILD2013-10-21 03:58:34 UTC (rev 196910)
@@ -153,7 +153,8 @@
   rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
-  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++,tsan}.a
+  rm $pkgdir/usr/lib/lib{asan,gomp,itm,mudflap{,th},quadmath,stdc++}.a
+  [[ $CARCH = x86_64 ]]  rm $pkgdir/usr/lib/libtsan.a
 
   # many packages expect this symlinks
   ln -s gcc ${pkgdir}/usr/bin/cc
@@ -201,7 +202,7 @@
 {
   pkgdesc=Fortran front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-fortran.install
 
   cd ${srcdir}/gcc-build
@@ -249,7 +250,7 @@
 {
   pkgdesc=Ada front-end for GCC (GNAT)
   depends=(gcc=$pkgver-$pkgrel)
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-ada.install
 
   cd ${srcdir}/gcc-build/gcc
@@ -269,7 +270,7 @@
 {
   pkgdesc=Go front-end for GCC
   depends=(gcc=$pkgver-$pkgrel)
-  options=('staticlibs')
+  options=('staticlibs' '!emptydirs')
   install=gcc-go.install
 
   cd ${srcdir}/gcc-build



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-10-16 Thread Allan McRae
Date: Thursday, October 17, 2013 @ 01:40:38
  Author: allan
Revision: 196716

upgpkg: gcc 4.8.2-1

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-16 19:47:13 UTC (rev 196715)
+++ PKGBUILD2013-10-16 23:40:38 UTC (rev 196716)
@@ -5,9 +5,9 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.8.1
-pkgrel=3
-_snapshot=4.8-20130725
+pkgver=4.8.2
+pkgrel=1
+#_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -15,10 +15,10 @@
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!libtool' '!emptydirs')
-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
 gcc-4.8-filename-output.patch)
-md5sums=('e21f259bc4c44e61e19a780ad5badfeb'
+md5sums=('a3d7d63b9cb6b6ea049469a0c4a43c9d'
  '40cb437805e2f7a006aa0d0c3098ab0f')
 
 



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-08-13 Thread Allan McRae
Date: Tuesday, August 13, 2013 @ 12:59:11
  Author: allan
Revision: 192509

upgpkg: gcc 4.8.1-3

glibc-2.18 toolchain build

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-13 10:52:16 UTC (rev 192508)
+++ PKGBUILD2013-08-13 10:59:11 UTC (rev 192509)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.1
-pkgrel=2
+pkgrel=3
 _snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')



[arch-commits] Commit in gcc/trunk (PKGBUILD gcc-4.8-filename-output.patch)

2013-07-28 Thread Allan McRae
Date: Monday, July 29, 2013 @ 05:08:36
  Author: allan
Revision: 191646

upgpkg: gcc 4.8.1-2

new upstream snapshot, add filename output patch from upstream bugzilla, there 
is also a libgo soname bump here...

Added:
  gcc/trunk/gcc-4.8-filename-output.patch
Modified:
  gcc/trunk/PKGBUILD

---+
 PKGBUILD  |   15 ++-
 gcc-4.8-filename-output.patch |   17 +
 2 files changed, 27 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-28 21:55:50 UTC (rev 191645)
+++ PKGBUILD2013-07-29 03:08:36 UTC (rev 191646)
@@ -6,8 +6,8 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.1
-pkgrel=1
-#_snapshot=4.8-20130502
+pkgrel=2
+_snapshot=4.8-20130725
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -15,9 +15,11 @@
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!libtool' '!emptydirs')
-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
-md5sums=('3b2386c114cd74185aa3754b58a79304')
+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
+gcc-4.8-filename-output.patch)
+md5sums=('e21f259bc4c44e61e19a780ad5badfeb'
+ '40cb437805e2f7a006aa0d0c3098ab0f')
 
 
 if [ -n ${_snapshot} ]; then
@@ -40,6 +42,9 @@
   # hack! - some configure tests for header files using $CPP $CPPFLAGS
   sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
 
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
+  patch -p0 -i ${srcdir}/gcc-4.8-filename-output.patch
+
   mkdir ${srcdir}/gcc-build
 }
 

Added: gcc-4.8-filename-output.patch
===
--- gcc-4.8-filename-output.patch   (rev 0)
+++ gcc-4.8-filename-output.patch   2013-07-29 03:08:36 UTC (rev 191646)
@@ -0,0 +1,17 @@
+--- gcc/c-family/c-opts.c   (revision 200330)
 gcc/c-family/c-opts.c   (working copy)
+@@ -1338,10 +1338,14 @@ c_finish_options (void)
+
+ /* Give CPP the next file given by -include, if any.  */
+ static void
+ push_command_line_include (void)
+ {
++  // This can happen if disabled by -imacros for example.
++  if (include_cursor  deferred_count)
++return;
++
+   if (!done_preinclude)
+ {
+   done_preinclude = true;
+   if (flag_hosted  std_inc  !cpp_opts-preprocessed)
+{



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-05-31 Thread Allan McRae
Date: Saturday, June 1, 2013 @ 01:25:14
  Author: allan
Revision: 186915

upgpkg: gcc 4.8.1-1

upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-31 19:37:31 UTC (rev 186914)
+++ PKGBUILD2013-05-31 23:25:14 UTC (rev 186915)
@@ -5,9 +5,9 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.8.0
-pkgrel=4
-_snapshot=4.8-20130502
+pkgver=4.8.1
+pkgrel=1
+#_snapshot=4.8-20130502
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -15,9 +15,9 @@
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu' 'inetutils')
 options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2)
-#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
-md5sums=('672a1ad73f8391c5a6b3c4429eb0d798')
+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
+md5sums=('3b2386c114cd74185aa3754b58a79304')
 
 
 if [ -n ${_snapshot} ]; then



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-05-02 Thread Allan McRae
Date: Friday, May 3, 2013 @ 06:42:56
  Author: allan
Revision: 184173

new upstream snapshot

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-03 03:24:57 UTC (rev 184172)
+++ PKGBUILD2013-05-03 04:42:56 UTC (rev 184173)
@@ -6,8 +6,8 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.0
-pkgrel=3
-_snapshot=4.8-20130425
+pkgrel=4
+_snapshot=4.8-20130502
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,7 +17,7 @@
 options=('!libtool' '!emptydirs')
 
source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2)
 #ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
-md5sums=('03690556f09991fbecac0467227c5d4e')
+md5sums=('672a1ad73f8391c5a6b3c4429eb0d798')
 
 
 if [ -n ${_snapshot} ]; then



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-04-28 Thread Allan McRae
Date: Sunday, April 28, 2013 @ 09:19:22
  Author: allan
Revision: 183831

upgpkg: gcc 4.8.0-3

new upstream snapshot, fixes FS#34992

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-28 07:06:21 UTC (rev 183830)
+++ PKGBUILD2013-04-28 07:19:22 UTC (rev 183831)
@@ -6,8 +6,8 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.0
-pkgrel=2
-_snapshot=4.8-20130411
+pkgrel=3
+_snapshot=4.8-20130425
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,7 +17,7 @@
 options=('!libtool' '!emptydirs')
 
source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2)
 #ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
-md5sums=('cb529205469260f0d56adc01088c4850')
+md5sums=('03690556f09991fbecac0467227c5d4e')
 
 
 if [ -n ${_snapshot} ]; then



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-04-11 Thread Allan McRae
Date: Friday, April 12, 2013 @ 03:50:50
  Author: allan
Revision: 182647

upgpkg: gcc 4.8.0-2

fix build with CPPFLAGS, update to 20130411 snapshot

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   32 ++--
 1 file changed, 18 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-12 00:47:56 UTC (rev 182646)
+++ PKGBUILD2013-04-12 01:50:50 UTC (rev 182647)
@@ -6,18 +6,18 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.8.0
-pkgrel=1
-#_snapshot=4.7-20120721
+pkgrel=2
+_snapshot=4.8-20130411
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url=http://gcc.gnu.org;
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
-checkdepends=('dejagnu')
+checkdepends=('dejagnu' 'inetutils')
 options=('!libtool' '!emptydirs')
-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
-md5sums=('e6040024eb9e761c3bea348d1fa5abb0')
+source=(ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2)
+#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
+md5sums=('cb529205469260f0d56adc01088c4850')
 
 
 if [ -n ${_snapshot} ]; then
@@ -26,7 +26,7 @@
   _basedir=gcc-${pkgver}
 fi
 
-build() {
+prepare() {
   cd ${srcdir}/${_basedir}
 
   # Do not run fixincludes
@@ -37,14 +37,20 @@
 
   echo ${pkgver}  gcc/BASE-VER
 
+  # hack! - some configure tests for header files using $CPP $CPPFLAGS
+  sed -i /ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/ {libiberty,gcc}/configure
+
+  mkdir ${srcdir}/gcc-build
+}
+
+build() {
+  cd ${srcdir}/gcc-build
+
   # using -pipe causes spurious test-suite failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
   CFLAGS=${CFLAGS/-pipe/}
   CXXFLAGS=${CXXFLAGS/-pipe/}
 
-  cd ${srcdir}
-  mkdir gcc-build  cd gcc-build
-
   ${srcdir}/${_basedir}/configure --prefix=/usr \
   --libdir=/usr/lib --libexecdir=/usr/lib \
   --mandir=/usr/share/man --infodir=/usr/share/info \
@@ -132,17 +138,15 @@
   # unfortunately it is much, much easier to install the lot and clean-up the 
mess...
   rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
   rm $pkgdir/usr/lib/*.so*
-  rm $pkgdir/usr/lib/lib{atomic,ffi,gfortran,go{,begin},iberty,objc}.a
+  rm $pkgdir/usr/lib/lib{atomic,gfortran,go{,begin},iberty,objc}.a
   rm $pkgdir/usr/lib/libgfortran.spec
   rm -r 
$pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
-  rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/ffi{,target}.h
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1}
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{libcaf_single,libgfortranbegin}.a
   rm -r $pkgdir/usr/lib/go
-  rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libffi,libgomp,libquadmath,libitm}.info
+  rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
-  rm $pkgdir/usr/share/man/man3/ffi*
 
   # many packages expect this symlinks
   ln -s gcc ${pkgdir}/usr/bin/cc



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-03-28 Thread Allan McRae
Date: Thursday, March 28, 2013 @ 08:15:00
  Author: allan
Revision: 180920

fix some more file locations

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-28 06:14:07 UTC (rev 180919)
+++ PKGBUILD2013-03-28 07:15:00 UTC (rev 180920)
@@ -132,14 +132,14 @@
   # unfortunately it is much, much easier to install the lot and clean-up the 
mess...
   rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
   rm $pkgdir/usr/lib/*.so*
-  rm $pkgdir/usr/lib/lib{atomic,ffi,gfortran,go{,begin},objc,quadmath}.a
+  rm $pkgdir/usr/lib/lib{atomic,ffi,gfortran,go{,begin},iberty,objc}.a
   rm $pkgdir/usr/lib/libgfortran.spec
   rm -r 
$pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/ffi{,target}.h
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1}
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{libcaf_single,libgfortranbegin}.a
   rm -r $pkgdir/usr/lib/go
-  rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
+  rm 
$pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libffi,libgomp,libquadmath,libitm}.info
   rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
   rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
   rm $pkgdir/usr/share/man/man3/ffi*
@@ -201,10 +201,11 @@
   ln -s gfortran ${pkgdir}/usr/bin/f95
 
   # remove files included in gcc-libs or gcc
-  rm ${pkgdir}/usr/lib/lib{gfortran,quadmath,gcc_s}.so*
+  rm ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
+  rm ${pkgdir}/usr/lib/libquadmath.{a,so}
   rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
   rm ${pkgdir}/usr/share/info/libquadmath.info
-  rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include
+  rm -r ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include
 
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-03-28 Thread Allan McRae
Date: Thursday, March 28, 2013 @ 23:38:35
  Author: allan
Revision: 180966

fix conflict between split packages

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-28 21:13:02 UTC (rev 180965)
+++ PKGBUILD2013-03-28 22:38:35 UTC (rev 180966)
@@ -202,7 +202,7 @@
 
   # remove files included in gcc-libs or gcc
   rm ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
-  rm ${pkgdir}/usr/lib/libquadmath.{a,so}
+  rm ${pkgdir}/usr/lib/libquadmath.{a,so*}
   rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
   rm ${pkgdir}/usr/share/info/libquadmath.info
   rm -r ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-03-27 Thread Allan McRae
Date: Wednesday, March 27, 2013 @ 12:11:06
  Author: allan
Revision: 180856

remove --enable-libstdcxx-time - breaks ABI

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-27 05:34:48 UTC (rev 180855)
+++ PKGBUILD2013-03-27 11:11:06 UTC (rev 180856)
@@ -53,7 +53,7 @@
   --enable-shared --enable-threads=posix \
   --with-system-zlib --enable-__cxa_atexit \
   --disable-libunwind-exceptions --enable-clocale=gnu \
-  --disable-libstdcxx-pch --enable-libstdcxx-time \
+  --disable-libstdcxx-pch \
   --enable-gnu-unique-object --enable-linker-build-id \
   --enable-cloog-backend=isl --disable-cloog-version-check \
   --enable-lto --enable-gold --enable-ld=default \



[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-03-26 Thread Allan McRae
Date: Wednesday, March 27, 2013 @ 02:05:52
  Author: allan
Revision: 180849

major upstream update

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |   65 ++---
 1 file changed, 33 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-26 23:07:40 UTC (rev 180848)
+++ PKGBUILD2013-03-27 01:05:52 UTC (rev 180849)
@@ -5,8 +5,8 @@
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.7.2
-pkgrel=4
+pkgver=4.8.0
+pkgrel=1
 #_snapshot=4.7-20120721
 pkgdesc=The GNU Compiler Collection
 arch=('i686' 'x86_64')
@@ -15,34 +15,26 @@
 makedepends=('binutils=2.23' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu')
 options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.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
-   gcc-4.7.1-libgo-write.patch)
-md5sums=('cc308a0891e778cfda7a151ab8a6e762'
- 'df82dd175ac566c8a6d46b11ac21f14c')
+md5sums=('e6040024eb9e761c3bea348d1fa5abb0')
 
 
 if [ -n ${_snapshot} ]; then
-  _basedir=${srcdir}/gcc-${_snapshot}
+  _basedir=gcc-${_snapshot}
 else
-  _basedir=${srcdir}/gcc-${pkgver}
+  _basedir=gcc-${pkgver}
 fi
 
 build() {
-  cd ${_basedir}
+  cd ${srcdir}/${_basedir}
 
-  # Do not install libiberty
-  sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
-
   # Do not run fixincludes
   sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 
   # Arch Linux installs x86_64 libraries /lib
   [[ $CARCH == x86_64 ]]  sed -i '/m64=/s/lib64/lib/' 
gcc/config/i386/t-linux64
 
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53679
-  patch -p1 -i ${srcdir}/gcc-4.7.1-libgo-write.patch
-
   echo ${pkgver}  gcc/BASE-VER
 
   # using -pipe causes spurious test-suite failures
@@ -53,7 +45,7 @@
   cd ${srcdir}
   mkdir gcc-build  cd gcc-build
 
-  ${_basedir}/configure --prefix=/usr \
+  ${srcdir}/${_basedir}/configure --prefix=/usr \
   --libdir=/usr/lib --libexecdir=/usr/lib \
   --mandir=/usr/share/man --infodir=/usr/share/info \
   --with-bugurl=https://bugs.archlinux.org/ \
@@ -67,9 +59,8 @@
   --disable-ppl-version-check --disable-cloog-version-check \
   --enable-lto --enable-gold --enable-ld=default \
   --enable-plugin --with-plugin-ld=ld.gold \
-  --with-linker-hash-style=gnu \
-  --disable-multilib --disable-libssp \
-  --disable-build-with-cxx --disable-build-poststage1-with-cxx \
+  --with-linker-hash-style=gnu --disable-install-libiberty \
+  --disable-multilib --disable-libssp --disable-werror \
   --enable-checking=release
   make
   
@@ -87,7 +78,7 @@
 
   # do not abort on error as some are expected
   make -k check || true
-  ${_basedir}/contrib/test_summary
+  ${srcdir}/${_basedir}/contrib/test_summary
 }
 
 package_gcc-libs()
@@ -99,9 +90,13 @@
 
   cd ${srcdir}/gcc-build
   make -j1 -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
-  for lib in libmudflap libgomp libstdc++-v3/src libitm; do
+  for lib in libmudflap libgomp libstdc++-v3/src libitm libsanitizer/asan; do
 make -j1 -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
   done
+
+  [[ $CARCH == x86_64 ]]  \
+make -j1 -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} 
install-toolexeclibLTLIBRARIES
+  
   make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
   make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info
   make -j1 -C $CHOST/libitm DESTDIR=${pkgdir} install-info
@@ -117,7 +112,7 @@
   find ${pkgdir} -name *.a -delete
   
   # Install Runtime Library Exception
-  install -Dm644 ${_basedir}/COPYING.RUNTIME \
+  install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
 ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
 }
 
@@ -133,12 +128,12 @@
   make -j1 DESTDIR=${pkgdir} install
 
   install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
-  mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.17-gdb.py
+  mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.18-gdb.py
 
   # unfortunately it is much, much easier to install the lot and clean-up the 
mess...
   rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
   rm $pkgdir/usr/lib/*.so*
-  rm $pkgdir/usr/lib/lib{ffi,gfortran,go{,begin},objc}.a
+  rm $pkgdir/usr/lib/lib{atomic,ffi,gfortran,go{,begin},objc,quadmath}.a
   rm $pkgdir/usr/lib/libgfortran.spec
   rm -r 
$pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
   rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/ffi{,target}.h
@@ -188,7 +183,7 @@
 ${CHOST}/libstdc++-v3/doc/doxygen/man/man3/*.3
 
   # Install Runtime Library Exception
-  install -Dm644 ${_basedir}/COPYING.RUNTIME \
+  install -Dm644 

[arch-commits] Commit in gcc/trunk (PKGBUILD)

2013-03-26 Thread Allan McRae
Date: Wednesday, March 27, 2013 @ 03:58:19
  Author: allan
Revision: 180852

ppl is not needed

Modified:
  gcc/trunk/PKGBUILD

--+
 PKGBUILD |7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-27 01:10:50 UTC (rev 180851)
+++ PKGBUILD2013-03-27 02:58:19 UTC (rev 180852)
@@ -12,7 +12,7 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL' 'custom')
 url=http://gcc.gnu.org;
-makedepends=('binutils=2.23' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'doxygen')
+makedepends=('binutils=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
 checkdepends=('dejagnu')
 options=('!libtool' '!emptydirs')
 source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
@@ -55,8 +55,7 @@
   --disable-libunwind-exceptions --enable-clocale=gnu \
   --disable-libstdcxx-pch --enable-libstdcxx-time \
   --enable-gnu-unique-object --enable-linker-build-id \
-  --with-ppl --enable-cloog-backend=isl \
-  --disable-ppl-version-check --disable-cloog-version-check \
+  --enable-cloog-backend=isl --disable-cloog-version-check \
   --enable-lto --enable-gold --enable-ld=default \
   --enable-plugin --with-plugin-ld=ld.gold \
   --with-linker-hash-style=gnu --disable-install-libiberty \
@@ -119,7 +118,7 @@
 package_gcc()
 {
   pkgdesc=The GNU Compiler Collection - C and C++ frontends
-  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.23' 'libmpc' 'cloog' 'ppl')
+  depends=(gcc-libs=$pkgver-$pkgrel 'binutils=2.23' 'libmpc' 'cloog')
   groups=('base-devel')
   install=gcc.install
 



  1   2   >