Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1006122ybi; Wed, 19 Jun 2019 11:39:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqytBZw+/zU/Z9gmW54pMg2CTKitJlLdaEvpWGfxlaMkd47qybXOUgdFWCPaG+XPWw/eZgm2 X-Received: by 2002:a63:5065:: with SMTP id q37mr9008447pgl.32.1560969584576; Wed, 19 Jun 2019 11:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560969584; cv=none; d=google.com; s=arc-20160816; b=TCeid3g6yYgB5KfR9ObU6yfr7CHJg2yVXfQU1g+p2dn7oj+X2/RB38kHMC6j9LamUd HTwe4dFN/S8OiInP8SVYjZRJYHrCc1lX9O5pAFG/JIIjiFZi5j45toyGydrInhLHlt0M prZHaeuLXwtoUKd5/LMXRijm2rVJxtc21tc248S7RmkTAeXTPeXgqjXB/9sAiikchd/x fgw33iJIznx807HWvyfgpsB6ROtMRcdY6+VhyUefNoUpZb5bBASUPaXuCP5piMKziteR 8j7dCJ6evHvQ3gBY92RwmTcWRCRZnVsOguXkvfFbPmGwrsebyX45nM5mvU5CNeabW2sb fGFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jCQJpEkqL1k/u4EfFwT6PR5QX7eRqTVUy0/07qOc0Qw=; b=IgFAujf/GH4KnY3eEKqniyU8t//8QZ7+j+fa/O82Ijzp7tEJsBUsUOKsfuQ5DtCxD8 mL1qPxR6LL3XvRSCk8wPrmrtR3lWQnwJLCb2eSEbiHCu4oVFlhLPjszrRQtO2nh8pkmQ ghBpTSGlV9LHy/F6uz8voYEnrHn5+iQJb2Uk/Ggem0fMFSczxm/jCe03I5h+txAbi1os C92h+umz3fne44DnT8d1SOB+7vDIkP2mtXdNopbQ3tzAfILHP79K875pe+1HZqWz6cgc NcF5/KiwwuambkuXVsqPQJ2l86L0BvhC05G30kvC1Ji4a+kcAh1pMc1LzKJxML7EeCKx ctNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wO4aGZI4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si3894327pgh.524.2019.06.19.11.39.28; Wed, 19 Jun 2019 11:39:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wO4aGZI4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730461AbfFSShY (ORCPT + 99 others); Wed, 19 Jun 2019 14:37:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:33074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbfFSShY (ORCPT ); Wed, 19 Jun 2019 14:37:24 -0400 Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 436512166E for ; Wed, 19 Jun 2019 18:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560969443; bh=95Ds7C2wKCMMw0fd/HdFqLE/x2khbNigM8ixnjFhKJ4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=wO4aGZI4+hS2AaLZ1361JwG+pUMS/03SPBq7ttY1RY0Ns8gtFYkfOfcV5QZicC9oR tuwVqKRDu9Fvpz2oeRqFQnTYFI3pjY72IY0eAD3gaQccyGHIom5l7/xzFQtci7bMRU C8vGgwAp1kEzJ9g4RhBWGL17KlBD9+HfVSDd1LOc= Received: by mail-ua1-f48.google.com with SMTP id o2so429198uae.10 for ; Wed, 19 Jun 2019 11:37:23 -0700 (PDT) X-Gm-Message-State: APjAAAX6Y7Ylw2/o/TNCjhtGvRB7kgFW5a5U/IXBPvZhT8IdxwjEkjSQ +rABpbToTevHhcccKgGJsqClDzVPtWf9tP4VqTs= X-Received: by 2002:a67:f482:: with SMTP id o2mr3877942vsn.129.1560969442452; Wed, 19 Jun 2019 11:37:22 -0700 (PDT) MIME-Version: 1.0 References: <502d5b36-e0d0-ffcc-5dd4-35db9d033561@computerix.info> <20190609184013.GA11237@probook> In-Reply-To: <20190609184013.GA11237@probook> From: Ross Zwisler Date: Wed, 19 Jun 2019 12:37:11 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] x86/build: Move _etext to actual end of .text To: Johannes Hirte Cc: Klaus Kusche , keescook@chromium.org, bp@suse.de, samitolvanen@google.com, LKML , Guenter Roeck , Ross Zwisler Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 9, 2019 at 1:00 PM Johannes Hirte wrote: > On 2019 Jun 09, Klaus Kusche wrote: > > Hello, > > > > Same problem for linux 5.1.7: > > Kernel building fails with the same relocation error. > > > > 5.1.5 does not have the problem, builds fine for me. > > > > Is there anything I can do to investigate the problem? > > > > Please try linux 5.1.8. The problematic patch was reverted there. I'm having this same issue with v5.2-rc5 using an older version of gcc (4.9.2). If I use a more recent version of gcc (7.3.0) it works fine. Reverting this patch allows gcc v4.9.2 to build kernel v5.2-rc5 successfully. You said in this chain that you were reverting this patch in stable kernels. Are you going to revert it in tip-of-tree as well? - Ross