From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DE38C43381 for ; Thu, 28 Jan 2021 11:26:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E29C164DE2 for ; Thu, 28 Jan 2021 11:26:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbhA1L0t (ORCPT ); Thu, 28 Jan 2021 06:26:49 -0500 Received: from mail-40136.protonmail.ch ([185.70.40.136]:12635 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhA1LZl (ORCPT ); Thu, 28 Jan 2021 06:25:41 -0500 Date: Thu, 28 Jan 2021 11:24:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmb.nu; s=protonmail; t=1611833091; bh=nMo99p1zsBQ7qgU/WQffiE/LABS3uMEgG5nQn6ZvKR8=; h=Date:To:From:Cc:Reply-To:Subject:From; b=HTsblzOMyfn21uBXlL1657KKVZp+HuHAvwKKVKQRrZwOw//+pZhZaaFgRjcySTXf4 qNbd3NzrUcRgzdPkqwsCBEbJ+jWiato5y2Mgbl5qSf+iOtYdOnwTRfvHRIQZUTHtAx gLYmJjBPePEq7u4goxKmgSCewDbAgimiN2VyCAno= To: Chris Clayton , Greg Kroah-Hartman From: Thomas Backlund Cc: LKML , stable@vger.kernel.org Reply-To: Thomas Backlund Subject: Re: linux-5.10.11 build failure Message-ID: <8b3e9d93-1381-b415-9ece-a10fb098b896@tmb.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 28.1.2021 kl. 12:05, skrev Chris Clayton: >=20 > On 28/01/2021 09:34, Greg Kroah-Hartman wrote: >> On Thu, Jan 28, 2021 at 09:17:10AM +0000, Chris Clayton wrote: >>> Hi, >>> >>> Building 5.10.11 fails on my (x86-64) laptop thusly: >>> >>> .. >>> >>> AS arch/x86/entry/thunk_64.o >>> CC arch/x86/entry/vsyscall/vsyscall_64.o >>> AS arch/x86/realmode/rm/header.o >>> CC arch/x86/mm/pat/set_memory.o >>> CC arch/x86/events/amd/core.o >>> CC arch/x86/kernel/fpu/init.o >>> CC arch/x86/entry/vdso/vma.o >>> CC kernel/sched/core.o >>> arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at= offset 0x3e >>> >>> AS arch/x86/realmode/rm/trampoline_64.o >>> make[2]: *** [scripts/Makefile.build:360: arch/x86/entry/thunk_64.o] Er= ror 255 >>> make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o' >>> make[2]: *** Waiting for unfinished jobs.... >>> >>> .. >>> >>> Compiler is latest snapshot of gcc-10. >>> >>> Happy to test the fix but please cc me as I'm not subscribed >> >> Can you do 'git bisect' to track down the offending commit? >> >=20 > Sure, but I'll hold that request for a while. I updated to binutils-2.36 = on Monday and I'm pretty sure that is a feature > of this build fail. I've reverted binutils to 2.35.1, and the build succe= eds. Updated to 2.36 again and, surprise, > surprise, the kernel build fails again. >=20 > I've had a glance at the binutils ML and there are all sorts of issues be= ing reported, but it's beyond my knowledge to > assess if this build error is related to any of them. >=20 > I'll stick with binutils-2.35.1 for the time being. >=20 >> And what exact gcc version are you using? >> >=20 > It's built from the 10-20210123 snapshot tarball. >=20 > I can report this to the binutils folks, but might it be better if the ob= jtool maintainer looks at it first? The > binutils change might just have opened the gate to a bug in objtool. >=20 >> thanks, >> >> greg k-h >> >=20 AFAIK you need this in stable trees: From 1d489151e9f9d1647110277ff77282fe4d96d09b Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Thu, 14 Jan 2021 16:14:01 -0600 Subject: [PATCH] objtool: Don't fail on missing symbol table -- Thomas