diff options
author | André Silva | 2017-06-24 18:55:34 -0300 |
---|---|---|
committer | André Silva | 2017-06-24 18:57:35 -0300 |
commit | f03b957c3c90994dee54564a7f9425742d1d317e (patch) | |
tree | 38529838026729aa0ce32fe7a6c821d88812996f | |
parent | 746745e8899ab17096e5cda21e89cb711894a9fc (diff) | |
download | aur-f03b957c3c90994dee54564a7f9425742d1d317e.tar.gz |
Update to 6.3.0-2
* fix comparison between pointer and integer
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | fix-ubsan-defref.patch | 13 |
3 files changed, 25 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat May 13 16:00:31 UTC 2017 +# Sat Jun 24 21:56:12 UTC 2017 pkgbase = xtensa-unknown-elf-gcc pkgdesc = The GNU Compiler Collection pkgver = 6.3.0 - pkgrel = 1 + pkgrel = 2 url = https://gcc.gnu.org arch = i686 arch = x86_64 @@ -23,10 +23,12 @@ pkgbase = xtensa-unknown-elf-gcc source = https://ftp.gnu.org/gnu/gcc/gcc-6.3.0/gcc-6.3.0.tar.bz2.sig source = http://isl.gforge.inria.fr/isl-0.16.1.tar.bz2 source = https://repo.hyperbola.info:50000/other/gcc/6.2.1/gcc-xtensa.patch + source = fix-ubsan-defref.patch sha512sums = 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78 sha512sums = SKIP sha512sums = c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b sha512sums = 7637408259cef4b14a2f41690bbc769ad0dc6cf4d1c782405526aeb58f68193269af6882b23fb57c3521174e45709ed2d54f0af1f835646e70a3bfd9f626aad9 + sha512sums = 85402b4bce543e6ba996f6fd99bcefac59ffeb1c1f8ab53c015686f5e1ea447ffeab5f1df1847b7952ad38306b43302d8e23859a614b6ccc62e0fc1f07538dca pkgname = xtensa-unknown-elf-gcc pkgdesc = The GNU Compiler Collection - C and C++ frontends @@ -8,7 +8,7 @@ pkgver=6.3.0 _pkgverpatch=6.2.1 _pkgver=6 _islver=0.16.1 -pkgrel=1 +pkgrel=2 pkgdesc="The GNU Compiler Collection" arch=('i686' 'x86_64' 'armv7h') license=('GPL' 'LGPL' 'FDL' 'custom') @@ -18,12 +18,14 @@ checkdepends=('dejagnu' 'inetutils') options=('!emptydirs') source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.bz2{,.sig} http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2 - https://repo.hyperbola.info:50000/other/gcc/$_pkgverpatch/gcc-xtensa.patch) + https://repo.hyperbola.info:50000/other/gcc/$_pkgverpatch/gcc-xtensa.patch + fix-ubsan-defref.patch) validpgpkeys=('33C235A34C46AA3FFB293709A328C3A2C3C45C06') # Jakub Jelinek <jakub@redhat.com> # Note: (Weak DSA) :( sha512sums=('234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78' 'SKIP' 'c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b' - '7637408259cef4b14a2f41690bbc769ad0dc6cf4d1c782405526aeb58f68193269af6882b23fb57c3521174e45709ed2d54f0af1f835646e70a3bfd9f626aad9') + '7637408259cef4b14a2f41690bbc769ad0dc6cf4d1c782405526aeb58f68193269af6882b23fb57c3521174e45709ed2d54f0af1f835646e70a3bfd9f626aad9' + '85402b4bce543e6ba996f6fd99bcefac59ffeb1c1f8ab53c015686f5e1ea447ffeab5f1df1847b7952ad38306b43302d8e23859a614b6ccc62e0fc1f07538dca') # gcc-6.0 forces a changed triplet - need to address in pacman/devtools [[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu @@ -45,6 +47,9 @@ prepare() { # hack! - some configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + # Fix comparison between pointer and integer + patch -p1 -i ${srcdir}/fix-ubsan-defref.patch + # open-ath9k-htc-firmware patch patch -p1 -i ${srcdir}/gcc-xtensa.patch diff --git a/fix-ubsan-defref.patch b/fix-ubsan-defref.patch new file mode 100644 index 000000000000..4d8257463b75 --- /dev/null +++ b/fix-ubsan-defref.patch @@ -0,0 +1,13 @@ +diff --git a/gcc/ubsan.c b/gcc/ubsan.c +index 56637d8..1093824 100644 +--- a/gcc/ubsan.c ++++ b/gcc/ubsan.c +@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) + + expanded_location xloc = expand_location (loc); + if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 +- || xloc.file == '\0' || xloc.file[0] == '\xff' ++ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' + || xloc.file[1] == '\xff') + return false; + |