Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp910463pxb; Thu, 28 Jan 2021 03:30:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJziiLsmV6VjgJ7uwDhuD/uz+5qrH5lMHUIi2v17TIrixwP9HUu2/5LKfaL1cjOKXQ1kxmtf X-Received: by 2002:a17:907:175c:: with SMTP id lf28mr10675818ejc.110.1611833458604; Thu, 28 Jan 2021 03:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611833458; cv=none; d=google.com; s=arc-20160816; b=pcYtOrvZMObmloEQpvCYKRbi34hmccltzxkA5kC/5EtUaPck8zfvuKPU85UAwd8vn4 EozMjMwyk8pYAf2yqZXqSKtC/NYBc8p1B+DqJNrkAIvPDdhMf5u9+v4irZzY/wUvsppw PeLCHi7vTo87pl176ypIafOM1hweGPOF5WNy0EqdfAH27qOJSKgOYQhCpZBInEkCAdlF BNV6DilZBUxLfhcp+axR2AN0V9cSlkOe31lgEv+gnhrYXQsm0HwkPkMxBv14zJN2vhTl eOdthFqkCuRR7QKjznI8qXRp5NVFBXLBsLhMpePb4wfWlqwDEoHrr6LffxY1fHhw9b2K pRtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=nMo99p1zsBQ7qgU/WQffiE/LABS3uMEgG5nQn6ZvKR8=; b=LSoqw2ST59p10F1gb60MIppzHyz/PJxhdqrEjDB2/P1agweCaqxr+w3M1XPZ+UgoTe Ir5YVwjNi7lKIjc7NQLZHracTkDhnnzlWs3HtpRoxBU4+9PWfW7AQ3q/PNQh0BHa/E7m 5JZH/wHxyNuBj7vgvgaUqVzWn9T5Zjf06qMzGt7b49YTIT4DMSl3k95Bov10D5jsHeM8 DnfFTX9sqXVKEj3/pTAXibwZGas6P1wSKUjJch/AeeDgKD6QrD3fcqojqON8gUlrwEYD trS9PvRJi+VM2upMJBNBPuvvEcA9qWbuWOF+LqMHdwhzP5ldOguwWftLqmapuf8/P/uz RkPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tmb.nu header.s=protonmail header.b=HTsblzOM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tmb.nu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si2012260ejg.390.2021.01.28.03.30.34; Thu, 28 Jan 2021 03:30:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tmb.nu header.s=protonmail header.b=HTsblzOM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tmb.nu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbhA1L0l (ORCPT + 99 others); Thu, 28 Jan 2021 06:26:41 -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 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch 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