Date: Sunday, February 7, 2021 @ 20:23:18 Author: andyrtr Revision: 407606
upgpkg: linux-lts 5.4.96-1: upstream update 5.4.96 Modified: linux-lts/trunk/PKGBUILD Deleted: linux-lts/trunk/Do_not_fail_on_missing_symbol_table.patch -------------------------------------------+ Do_not_fail_on_missing_symbol_table.patch | 46 ---------------------------- PKGBUILD | 10 +----- 2 files changed, 3 insertions(+), 53 deletions(-) Deleted: Do_not_fail_on_missing_symbol_table.patch =================================================================== --- Do_not_fail_on_missing_symbol_table.patch 2021-02-07 20:02:43 UTC (rev 407605) +++ Do_not_fail_on_missing_symbol_table.patch 2021-02-07 20:23:18 UTC (rev 407606) @@ -1,46 +0,0 @@ -From 1d489151e9f9d1647110277ff77282fe4d96d09b Mon Sep 17 00:00:00 2001 -From: Josh Poimboeuf <[email protected]> -Date: Thu, 14 Jan 2021 16:14:01 -0600 -Subject: objtool: Don't fail on missing symbol table - -Thanks to a recent binutils change which doesn't generate unused -symbols, it's now possible for thunk_64.o be completely empty without -CONFIG_PREEMPTION: no text, no data, no symbols. - -We could edit the Makefile to only build that file when -CONFIG_PREEMPTION is enabled, but that will likely create confusion -if/when the thunks end up getting used by some other code again. - -Just ignore it and move on. - -Reported-by: Nathan Chancellor <[email protected]> -Reviewed-by: Nathan Chancellor <[email protected]> -Reviewed-by: Miroslav Benes <[email protected]> -Tested-by: Nathan Chancellor <[email protected]> -Link: https://github.com/ClangBuiltLinux/linux/issues/1254 -Signed-off-by: Josh Poimboeuf <[email protected]> ---- - tools/objtool/elf.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c -index f9682db33ccab..d8421e1d06bed 100644 ---- a/tools/objtool/elf.c -+++ b/tools/objtool/elf.c -@@ -380,8 +380,11 @@ static int read_symbols(struct elf *elf) - - symtab = find_section_by_name(elf, ".symtab"); - if (!symtab) { -- WARN("missing symbol table"); -- return -1; -+ /* -+ * A missing symbol table is actually possible if it's an empty -+ * .o file. This can happen for thunk_64.o. -+ */ -+ return 0; - } - - symtab_shndx = find_section_by_name(elf, ".symtab_shndx"); --- -cgit 1.2.3-1.el7 - Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-02-07 20:02:43 UTC (rev 407605) +++ PKGBUILD 2021-02-07 20:23:18 UTC (rev 407606) @@ -1,7 +1,7 @@ # Maintainer: Andreas Radke <[email protected]> pkgbase=linux-lts -pkgver=5.4.95 +pkgver=5.4.96 pkgrel=1 pkgdesc='LTS Linux' url="https://www.kernel.org/" @@ -19,9 +19,6 @@ 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch 0002-virt-vbox-Add-support-for-the-new-VBG_IOCTL_ACQUIRE_.patch sphinx-workaround.patch - # binutils 2.33 fix - # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d489151e9f9d1647110277ff77282fe4d96d09b - Do_not_fail_on_missing_symbol_table.patch ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds @@ -28,13 +25,12 @@ '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman ) # https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256sums=('030ae544f346bfa2ce619dd9e17e93d10ec393632d3b6d6cf5d1fc84b914d449' +sha256sums=('f728de695ec5eb17efa15acaecc48fcd7a6c4a912b51704ed137cccf93f9f5e0' 'SKIP' 'be2066dd6133357007e8c7da9d5de3194b13409ebbfba8821db1849588fced1e' 'b439f57b84bc98730c0265695abb92385ee4dcd35a5c00d4cb3d3155c75fb491' '4fd74bb2a7101d700fba91806141339d8c9e46a14f8fc1fe276cfb68f1eec0f5' - 'b7c814c8183e4645947a6dcc3cbf80431de8a8fd4e895b780f9a5fd92f82cb8e' - '2a62cd628031b5f9f7bb4739bd9d2264056d3ab94aaa2cf973cdb0d509a94fdb') + 'b7c814c8183e4645947a6dcc3cbf80431de8a8fd4e895b780f9a5fd92f82cb8e') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase
