David Runge pushed to branch main at Arch Linux / Packaging / Packages / lib32-libaio
Commits: 779e5c00 by David Runge at 2024-02-20T15:13:10+01:00 upgpkg: 0.3.113-4 Rebuild to disable LTO and reintroduce distribution flags Since 0.3.113 it is possible to use distribution flags, as underlinking has been fixed upstream. https://pagure.io/libaio/c/672eaebd131c789a528e3a9cd089b4b69a82012b However, using LTO is still broken: https://pagure.io/libaio/issue/10 Related to https://gitlab.archlinux.org/archlinux/packaging/packages/libaio/-/issues/1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,14 @@ pkgbase = lib32-libaio pkgdesc = The Linux-native asynchronous I/O facility (aio) library pkgver = 0.3.113 - pkgrel = 3 + pkgrel = 4 url = https://pagure.io/libaio arch = x86_64 license = LGPL-2.0-or-later depends = lib32-glibc depends = libaio=0.3.113 provides = libaio.so + options = !lto source = https://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz source = lib32-libaio-0.3.113-fix_test_case_23.patch sha512sums = 8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd ===================================== PKGBUILD ===================================== @@ -6,7 +6,7 @@ _name=libaio pkgname=lib32-libaio pkgver=0.3.113 -pkgrel=3 +pkgrel=4 pkgdesc='The Linux-native asynchronous I/O facility (aio) library' arch=(x86_64) url="https://pagure.io/libaio" @@ -16,6 +16,8 @@ depends=( $_name=$pkgver ) provides=(libaio.so) +# LTO is not supported: https://pagure.io/libaio/issue/10 +options=(!lto) source=( $url/archive/$_name-$pkgver/$_name-$_name-$pkgver.tar.gz $pkgname-0.3.113-fix_test_case_23.patch @@ -40,10 +42,6 @@ build() { export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib - # and other helpers like stack protection libraries - export CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe' - make -C $_name-$_name-$pkgver } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libaio/-/commit/779e5c00e539f3a8ad187af11074ecba1650ade9 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libaio/-/commit/779e5c00e539f3a8ad187af11074ecba1650ade9 You're receiving this email because of your account on gitlab.archlinux.org.
