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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 9E314C7618B for ; Wed, 24 Jul 2019 16:03:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BE112084D for ; Wed, 24 Jul 2019 16:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728566AbfGXQDs (ORCPT ); Wed, 24 Jul 2019 12:03:48 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:44387 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbfGXQDs (ORCPT ); Wed, 24 Jul 2019 12:03:48 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hqJjy-0004Xi-MD; Wed, 24 Jul 2019 18:03:42 +0200 Date: Wed, 24 Jul 2019 18:03:41 +0200 (CEST) From: Thomas Gleixner To: Greg KH cc: "H.J. Lu" , Mike Lothian , Tom Lendacky , bhe@redhat.com, Borislav Petkov , Dave Hansen , lijiang@redhat.com, Linux Kernel Mailing List , Andy Lutomirski , Ingo Molnar , Peter Zijlstra , the arch/x86 maintainers Subject: Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved In-Reply-To: <20190724155735.GC5571@kroah.com> Message-ID: References: <20190723130513.GA25290@kroah.com> <20190723134454.GA7260@kroah.com> <20190724153416.GA27117@kroah.com> <20190724155735.GC5571@kroah.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Jul 2019, Greg KH wrote: > On Wed, Jul 24, 2019 at 05:49:45PM +0200, Thomas Gleixner wrote: > > > Ok, I dug around and the gold linker is not being used here, only clang > > > to build the source and GNU ld to link, and I am still seeing this > > > error. > > > > Odd combo. > > I'm not disagreeing :) > > Wait, does clang link things itself and not need ld? Nah. > > > Hm, clang 8 does not cause this error, but clang 9 does. Let me go poke > > > the people who are providing this version of clang to see if there's > > > something they can figure out. > > > > Let me try that with my clang variant. Which version of GNU ld are you > > using? > > I think it is 2.27: > $ ./ld --version > GNU ld (binutils-2.27-44492f8) 2.27.0.20170315 > > Which does feel old to me. > > I know 2.32 works fine. 2.31 works fine as well. > Gotta love old tool-chains :( Oh yes. /me does archaeology to find a VM with old stuff