[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Monday, October 12, 2020 @ 14:31:14 Author: foutrelis Revision: 398051 upgpkg: compiler-rt 11.0.0-1: new upstream release Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-12 14:26:14 UTC (rev 398050) +++ PKGBUILD2020-10-12 14:31:14 UTC (rev 398051) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=10.0.1 +pkgver=11.0.0 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -15,7 +15,7 @@ options=('staticlibs') _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('d90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa' +sha256sums=('374aff82ff573a449f9aabbd330a5d0a441181c535a356127378112db234' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Wednesday, July 22, 2020 @ 19:25:19 Author: foutrelis Revision: 392372 upgpkg: compiler-rt 10.0.1-1: new upstream release Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-22 19:21:34 UTC (rev 392371) +++ PKGBUILD2020-07-22 19:25:19 UTC (rev 392372) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=10.0.0 +pkgver=10.0.1 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -15,7 +15,7 @@ options=('staticlibs') _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('6a7da64d3a0a7320577b68b9ca4933bdcab676e898b759850e827333c3282c75' +sha256sums=('d90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Saturday, April 11, 2020 @ 05:13:53 Author: foutrelis Revision: 379987 upgpkg: compiler-rt 10.0.0-1: new upstream release Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-11 05:09:30 UTC (rev 379986) +++ PKGBUILD2020-04-11 05:13:53 UTC (rev 379987) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=9.0.1 +pkgver=10.0.0 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -13,14 +13,9 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') - -_source_base=https://releases.llvm.org/$pkgver -if [[ ${pkgver##*.} != 0 ]]; then - _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver -fi - +_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077' +sha256sums=('6a7da64d3a0a7320577b68b9ca4933bdcab676e898b759850e827333c3282c75' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, December 29, 2019 @ 22:53:51 Author: foutrelis Revision: 372342 upgpkg: compiler-rt 9.0.1-1: New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-29 22:51:35 UTC (rev 372341) +++ PKGBUILD2019-12-29 22:53:51 UTC (rev 372342) @@ -2,8 +2,8 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=9.0.0 -pkgrel=2 +pkgver=9.0.1 +pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; @@ -13,8 +13,14 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('56e4cd96dd1d8c346b07b4d6b255f976570c6f2389697347a6c3dcb9e820d10e' + +_source_base=https://releases.llvm.org/$pkgver +if [[ ${pkgver##*.} != 0 ]]; then + _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver +fi + +source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, September 22, 2019 @ 09:53:58 Author: foutrelis Revision: 363230 upgpkg: compiler-rt 9.0.0-2 Update license. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-09-22 09:51:18 UTC (rev 363229) +++ PKGBUILD2019-09-22 09:53:58 UTC (rev 363230) @@ -3,11 +3,11 @@ pkgname=compiler-rt pkgver=9.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; -license=('custom:University of Illinois/NCSA Open Source License') +license=('custom:Apache 2.0 with LLVM Exception') depends=('gcc-libs') makedepends=('llvm' 'cmake' 'ninja' 'python') # Build 32-bit compiler-rt libraries on x86_64 (FS#41911)
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, September 22, 2019 @ 09:00:42 Author: foutrelis Revision: 363226 upgpkg: compiler-rt 9.0.0-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-09-22 08:59:21 UTC (rev 363225) +++ PKGBUILD2019-09-22 09:00:42 UTC (rev 363226) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=8.0.1 +pkgver=9.0.0 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -13,8 +13,8 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('11828fb4823387d820c6715b25f6b2405e60837d12a7469e7a8882911c721837' +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('56e4cd96dd1d8c346b07b4d6b255f976570c6f2389697347a6c3dcb9e820d10e' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Saturday, July 20, 2019 @ 10:35:54 Author: foutrelis Revision: 358428 upgpkg: compiler-rt 8.0.1-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-20 10:29:33 UTC (rev 358427) +++ PKGBUILD2019-07-20 10:35:54 UTC (rev 358428) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=8.0.0 +pkgver=8.0.1 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -13,8 +13,8 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('b435c7474f459e71b2831f1a4e3f1d21203cb9c0172e94e9d9b69f50354f21b1' +source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('11828fb4823387d820c6715b25f6b2405e60837d12a7469e7a8882911c721837' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Monday, March 25, 2019 @ 22:45:17 Author: foutrelis Revision: 349194 upgpkg: compiler-rt 8.0.0-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-25 22:42:20 UTC (rev 349193) +++ PKGBUILD2019-03-25 22:45:17 UTC (rev 349194) @@ -2,7 +2,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=7.0.1 +pkgver=8.0.0 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -14,7 +14,7 @@ makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('782edfc119ee172f169c91dd79f2c964fb6b248bd9b73523149030ed505bbe18' +sha256sums=('b435c7474f459e71b2831f1a4e3f1d21203cb9c0172e94e9d9b69f50354f21b1' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, December 16, 2018 @ 14:56:40 Author: foutrelis Revision: 342396 upgpkg: compiler-rt 7.0.1-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-16 14:50:07 UTC (rev 342395) +++ PKGBUILD2018-12-16 14:56:40 UTC (rev 342396) @@ -2,8 +2,8 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=7.0.0 -pkgrel=2 +pkgver=7.0.1 +pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; @@ -14,7 +14,7 @@ makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('bdec7fe3cf2c85f55656c07dfb0bd93ae46f2b3dd8f33ff3ad6e7586f4c670d6' +sha256sums=('782edfc119ee172f169c91dd79f2c964fb6b248bd9b73523149030ed505bbe18' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Thursday, September 20, 2018 @ 03:56:03 Author: foutrelis Revision: 335059 upgpkg: compiler-rt 7.0.0-2 Fix location of sanitizer blacklists. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-20 03:42:29 UTC (rev 335058) +++ PKGBUILD2018-09-20 03:56:03 UTC (rev 335059) @@ -3,7 +3,7 @@ pkgname=compiler-rt pkgver=7.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; @@ -39,9 +39,9 @@ DESTDIR="$pkgdir" ninja install install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - mkdir -p "$pkgdir/usr/lib/clang/$pkgver/lib" + mkdir -p "$pkgdir"/usr/lib/clang/$pkgver/{lib,share} mv "$pkgdir"/usr/lib/{linux,clang/$pkgver/lib/} - mv "$pkgdir"/usr/{share/*.txt,lib/clang/$pkgver/} + mv "$pkgdir"/usr/{share/*.txt,lib/clang/$pkgver/share/} } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD glibc-2.27.patch)
Date: Thursday, September 20, 2018 @ 01:35:07 Author: foutrelis Revision: 335049 upgpkg: compiler-rt 7.0.0-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD Deleted: compiler-rt/trunk/glibc-2.27.patch --+ PKGBUILD | 17 +--- glibc-2.27.patch | 195 - 2 files changed, 6 insertions(+), 206 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-20 00:54:09 UTC (rev 335048) +++ PKGBUILD2018-09-20 01:35:07 UTC (rev 335049) @@ -2,8 +2,8 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=6.0.1 -pkgrel=2 +pkgver=7.0.0 +pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; @@ -13,11 +13,9 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig} -glibc-2.27.patch) -sha256sums=('f4cd1e15e7d5cb708f9931d4844524e4904867240c306b06a4287b22ac1c99b9' -'SKIP' -'acfba6a38cf3b40dc4f2edca2f1d487e1b287db71d6a6ca9f27657c5f90f876b') +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('bdec7fe3cf2c85f55656c07dfb0bd93ae46f2b3dd8f33ff3ad6e7586f4c670d6' +'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard @@ -24,9 +22,6 @@ prepare() { cd "$srcdir/$pkgname-$pkgver.src" mkdir build - - # Fixes for glibc 2.27 - patch -Np1 -i ../glibc-2.27.patch } build() { @@ -46,7 +41,7 @@ mkdir -p "$pkgdir/usr/lib/clang/$pkgver/lib" mv "$pkgdir"/usr/lib/{linux,clang/$pkgver/lib/} - mv "$pkgdir"/usr/{*.txt,lib/clang/$pkgver/} + mv "$pkgdir"/usr/{share/*.txt,lib/clang/$pkgver/} } # vim:set ts=2 sw=2 et: Deleted: glibc-2.27.patch === --- glibc-2.27.patch2018-09-20 00:54:09 UTC (rev 335048) +++ glibc-2.27.patch2018-09-20 01:35:07 UTC (rev 335049) @@ -1,195 +0,0 @@ -From 80dc25a213216b31f981b80f74c94a757eb3b8c1 Mon Sep 17 00:00:00 2001 -From: Peter Wu -Date: Sun, 10 Jun 2018 11:17:47 + -Subject: [PATCH 1/2] [ASAN] Fix crash on i?86-linux (32-bit) against glibc - 2.27 and later - -Summary: -Running sanitized 32-bit x86 programs on glibc 2.27 crashes at startup, with: - -ERROR: AddressSanitizer: SEGV on unknown address 0xf7a8a250 (pc 0xf7f807f4 bp 0xff969fc8 sp 0xff969f7c T16777215) -The signal is caused by a WRITE memory access. -#0 0xf7f807f3 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x127f3) -#1 0xf7a92599 (/lib/libasan.so.5+0x112599) -#2 0xf7a80737 (/lib/libasan.so.5+0x100737) -#3 0xf7f7e14f in _dl_init (/lib/ld-linux.so.2+0x1014f) -#4 0xf7f6eb49 (/lib/ld-linux.so.2+0xb49) - -The problem is that glibc changed the calling convention for the GLIBC_PRIVATE -symbol that sanitizer uses (even when it should not, GLIBC_PRIVATE is exactly -for symbols that can change at any time, be removed etc.), see -https://sourceware.org/ml/libc-alpha/2017-08/msg00497.html - -Fixes https://github.com/google/sanitizers/issues/954 - -Patch By: Jakub Jelinek - -Reviewed By: vitalybuka, Lekensteyn - -Differential Revison: https://reviews.llvm.org/D44623 - -git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334363 91177308-0d34-0410-b5e6-96231b3b80d8 - .../sanitizer_linux_libcdep.cc| 45 --- - 1 file changed, 38 insertions(+), 7 deletions(-) - -diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc -index 56fdfc870..5d543622f 100644 a/lib/sanitizer_common/sanitizer_linux_libcdep.cc -+++ b/lib/sanitizer_common/sanitizer_linux_libcdep.cc -@@ -178,24 +178,55 @@ bool SanitizerGetThreadName(char *name, int max_len) { - static uptr g_tls_size; - - #ifdef __i386__ -+# ifndef __GLIBC_PREREQ -+# define CHECK_GET_TLS_STATIC_INFO_VERSION 1 -+# else -+# define CHECK_GET_TLS_STATIC_INFO_VERSION (!__GLIBC_PREREQ(2, 27)) -+# endif -+#else -+# define CHECK_GET_TLS_STATIC_INFO_VERSION 0 -+#endif -+ -+#if CHECK_GET_TLS_STATIC_INFO_VERSION - # define DL_INTERNAL_FUNCTION __attribute__((regparm(3), stdcall)) - #else - # define DL_INTERNAL_FUNCTION - #endif - -+namespace { -+struct GetTlsStaticInfoCall { -+ typedef void (*get_tls_func)(size_t*, size_t*); -+}; -+struct GetTlsStaticInfoRegparmCall { -+ typedef void (*get_tls_func)(size_t*, size_t*) DL_INTERNAL_FUNCTION; -+}; -+ -+template -+void CallGetTls(void* ptr, size_t* size, size_t* align) { -+ typename T::get_tls_func get_tls; -+ CHECK_EQ(sizeof(get_tls), sizeof(ptr)); -+ internal_memcpy(_tls, , sizeof(ptr)); -+ CHECK_NE(get_tls, 0); -+ get_tls(size, align); -+} -+} // namespace -+ - void
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD glibc-2.27.patch)
Date: Friday, July 20, 2018 @ 15:08:26 Author: foutrelis Revision: 329103 upgpkg: compiler-rt 6.0.1-2 Add upstream fix for 32-bit binaries crashing under glibc 2.27 (FS#59361). Added: compiler-rt/trunk/glibc-2.27.patch Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD | 11 ++ glibc-2.27.patch | 195 + 2 files changed, 203 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-20 14:55:47 UTC (rev 329102) +++ PKGBUILD2018-07-20 15:08:26 UTC (rev 329103) @@ -4,7 +4,7 @@ pkgname=compiler-rt pkgver=6.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/; @@ -14,9 +14,11 @@ # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig} +glibc-2.27.patch) sha256sums=('f4cd1e15e7d5cb708f9931d4844524e4904867240c306b06a4287b22ac1c99b9' -'SKIP') +'SKIP' +'acfba6a38cf3b40dc4f2edca2f1d487e1b287db71d6a6ca9f27657c5f90f876b') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard @@ -23,6 +25,9 @@ prepare() { cd "$srcdir/$pkgname-$pkgver.src" mkdir build + + # Fixes for glibc 2.27 + patch -Np1 -i ../glibc-2.27.patch } build() { Added: glibc-2.27.patch === --- glibc-2.27.patch(rev 0) +++ glibc-2.27.patch2018-07-20 15:08:26 UTC (rev 329103) @@ -0,0 +1,195 @@ +From 80dc25a213216b31f981b80f74c94a757eb3b8c1 Mon Sep 17 00:00:00 2001 +From: Peter Wu +Date: Sun, 10 Jun 2018 11:17:47 + +Subject: [PATCH 1/2] [ASAN] Fix crash on i?86-linux (32-bit) against glibc + 2.27 and later + +Summary: +Running sanitized 32-bit x86 programs on glibc 2.27 crashes at startup, with: + +ERROR: AddressSanitizer: SEGV on unknown address 0xf7a8a250 (pc 0xf7f807f4 bp 0xff969fc8 sp 0xff969f7c T16777215) +The signal is caused by a WRITE memory access. +#0 0xf7f807f3 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x127f3) +#1 0xf7a92599 (/lib/libasan.so.5+0x112599) +#2 0xf7a80737 (/lib/libasan.so.5+0x100737) +#3 0xf7f7e14f in _dl_init (/lib/ld-linux.so.2+0x1014f) +#4 0xf7f6eb49 (/lib/ld-linux.so.2+0xb49) + +The problem is that glibc changed the calling convention for the GLIBC_PRIVATE +symbol that sanitizer uses (even when it should not, GLIBC_PRIVATE is exactly +for symbols that can change at any time, be removed etc.), see +https://sourceware.org/ml/libc-alpha/2017-08/msg00497.html + +Fixes https://github.com/google/sanitizers/issues/954 + +Patch By: Jakub Jelinek + +Reviewed By: vitalybuka, Lekensteyn + +Differential Revison: https://reviews.llvm.org/D44623 + +git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334363 91177308-0d34-0410-b5e6-96231b3b80d8 +--- + .../sanitizer_linux_libcdep.cc| 45 --- + 1 file changed, 38 insertions(+), 7 deletions(-) + +diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc +index 56fdfc870..5d543622f 100644 +--- a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc +@@ -178,24 +178,55 @@ bool SanitizerGetThreadName(char *name, int max_len) { + static uptr g_tls_size; + + #ifdef __i386__ ++# ifndef __GLIBC_PREREQ ++# define CHECK_GET_TLS_STATIC_INFO_VERSION 1 ++# else ++# define CHECK_GET_TLS_STATIC_INFO_VERSION (!__GLIBC_PREREQ(2, 27)) ++# endif ++#else ++# define CHECK_GET_TLS_STATIC_INFO_VERSION 0 ++#endif ++ ++#if CHECK_GET_TLS_STATIC_INFO_VERSION + # define DL_INTERNAL_FUNCTION __attribute__((regparm(3), stdcall)) + #else + # define DL_INTERNAL_FUNCTION + #endif + ++namespace { ++struct GetTlsStaticInfoCall { ++ typedef void (*get_tls_func)(size_t*, size_t*); ++}; ++struct GetTlsStaticInfoRegparmCall { ++ typedef void (*get_tls_func)(size_t*, size_t*) DL_INTERNAL_FUNCTION; ++}; ++ ++template ++void CallGetTls(void* ptr, size_t* size, size_t* align) { ++ typename T::get_tls_func get_tls; ++ CHECK_EQ(sizeof(get_tls), sizeof(ptr)); ++ internal_memcpy(_tls, , sizeof(ptr)); ++ CHECK_NE(get_tls, 0); ++ get_tls(size, align); ++} ++} // namespace ++ + void InitTlsSize() { + // all current supported platforms have 16 bytes stack alignment + const size_t kStackAlign = 16; +- typedef void (*get_tls_func)(size_t*, size_t*) DL_INTERNAL_FUNCTION; +- get_tls_func get_tls; + void *get_tls_static_info_ptr = dlsym(RTLD_NEXT, "_dl_get_tls_static_info"); +- CHECK_EQ(sizeof(get_tls),
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:27:59 Author: foutrelis Revision: 328086 upgpkg: compiler-rt 6.0.1-1 New upstream release. Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 16:25:46 UTC (rev 328085) +++ PKGBUILD2018-07-08 16:27:59 UTC (rev 328086) @@ -3,7 +3,7 @@ # Contributor: Jan "heftig" Steffens pkgname=compiler-rt -pkgver=6.0.0 +pkgver=6.0.1 pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') @@ -15,10 +15,10 @@ makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('d0cc1342cf57e9a8d52f5498da47a3b28d24ac0d39cbc92308781b3ee0cea79a' +sha256sums=('f4cd1e15e7d5cb708f9931d4844524e4904867240c306b06a4287b22ac1c99b9' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg -validpgpkeys+=('11E521D646982372EB577A1F8F0871F202119294') # Tom Stellard +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard prepare() { cd "$srcdir/$pkgname-$pkgver.src"
[arch-commits] Commit in compiler-rt/trunk (PKGBUILD)
Date: Friday, March 9, 2018 @ 21:02:57 Author: foutrelis Revision: 318363 upgpkg: compiler-rt 6.0.0-1 Modified: compiler-rt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-03-09 20:59:40 UTC (rev 318362) +++ PKGBUILD2018-03-09 21:02:57 UTC (rev 318363) @@ -10,7 +10,7 @@ url="https://compiler-rt.llvm.org/; license=('custom:University of Illinois/NCSA Open Source License') depends=('gcc-libs') -makedepends=('llvm' 'cmake' 'ninja') +makedepends=('llvm' 'cmake' 'ninja' 'python') # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs')