Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp908722imm; Fri, 13 Jul 2018 08:16:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcgSJd6ihLUkojkQ7cCH4y1gN3GA3QpkzZmzsrrK5G5G5oH8ARZU7hsj1f8v41MlqXmMvmH X-Received: by 2002:a17:902:2d24:: with SMTP id o33-v6mr6885139plb.14.1531495014298; Fri, 13 Jul 2018 08:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531495014; cv=none; d=google.com; s=arc-20160816; b=XejVlJhDLY4W4mKTLA3mafYm1OOPV7U+vkL6qEj2DMeY5fVcHkxTV/4dnS6qkfC1cW 3rONaSy/P0SEzfk4KAuH/D1XxOPImThFdQyld/Rsq0CQcdcmEZblsY4XF770tV3v0Pna pkDhGke+h5YJwX5OXHJxsIJXfVrvgjH5jBDXb3rKj+Zg4YJUM49yEeC7a7NLLl6qRd8V kyi0IwAIEKFMpmZ5apaV69PBR9oV3U9PO7oFnm2NW7kAm/qWXFCNn3uwpwVrHqAzAHLE D5NBsLoM2zKjQRY/guvGqgnG2/1G4f1ILSykeAWO4xLJRghZt51DUNXcYTib29OxmGyT cn9A== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=0dvCFjBNiEogQllyKAyhVPUbq7FYRGAoaPpU9aGIn/U=; b=i4lTd/MPS1A2qCzJRVQ76CmsoflKPjOQbTozDNuRFMHbuOWwKNHmv7A3YO7l4/4mXC aUS3gI9ER6y4fgemocoCvJ0jUfqp8LXZaX8lAk31LGXJnym8vPfdJOpogkkuekpDkiZO qfZlFzpleQ6FsQBWTCn01vd0yYJup+yvsR37/T8xYh1vyL4u+/Nt8xgfa6hZwPwlXMnw 0IcBnzUhFgZuPygu2KbY5KqMxyyIorbzVoujdmsyj3/g9x0dicvH1M+MQ7JgagyW0qtN +HgIHg+PFsmNgVTPhMmxb5kdGIjC+abWxr8XXu+4EOZ74zhBQVlD5mFafjtYdM1nDMg2 BomA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=n0fI6AH7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e32-v6si24113750pgb.0.2018.07.13.08.16.34; Fri, 13 Jul 2018 08:16:54 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=n0fI6AH7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730167AbeGMPa7 (ORCPT + 99 others); Fri, 13 Jul 2018 11:30:59 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36623 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729647AbeGMPa7 (ORCPT ); Fri, 13 Jul 2018 11:30:59 -0400 Received: by mail-lj1-f196.google.com with SMTP id u7-v6so22151765lji.3 for ; Fri, 13 Jul 2018 08:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0dvCFjBNiEogQllyKAyhVPUbq7FYRGAoaPpU9aGIn/U=; b=n0fI6AH7M1Z04lk2KfujUE5WUOWe4F2DE2uEQWd9nskRFgThBCsMrG6IPfqcV+/fRI IisAi+/ksjij2ZiIXTjMPe7/AJO7glmiaKr6hEpUk379OZKXIbfAfE93EcvKC0DYU78m fgoDiHGZEPebYVbEnB6c9JX8mJHIDvIW2/6Yei5Z8ei4lAJc73d69F+v6+dTo5PS8sWa Qw755V8+J06J63eyfGt9M8m9BMxinUSM9Zb52ZffRN1qaqVbXhZ1V5762SOyvdPW1NRZ nJVQIk8NCpqPN8ETN5AO4Ay9odgvfSLnDR2i4X3DWzBnDxReWzNr90IPfn3sLSrVCglc Coqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0dvCFjBNiEogQllyKAyhVPUbq7FYRGAoaPpU9aGIn/U=; b=KFwZVuqtBvQ40LEjqvXBkqvuFSlcQzxLe2iaTnT0VADVsoIq9UVLo023rtbqX/A3KS FBaGLB4Y0wUQrHiIV5XknX5RRIDg0irWuzYCUCBHOKmWkgi+HKdA3095Ie5WFyJ2w30V 89QuEiV3ZGKPfV+3SlcGYKMoe/amfwWQV/NK9NHNeju2KUsAvOb7+uT1sOofxbRgD83p Wbj20bLsByEA7/JkPltWfL8FbOGgVCZuI3aQoZBIeuS1BHyG46iByuEKuavPzWnxXwiR 4FCqMmlAvbv8jgXXsY1DJ6Oc362Aw2185ylmWJV+38QcAzsMG5Bt3KgyA87ILFO4p7jP qWJA== X-Gm-Message-State: AOUpUlENheFevI633Jiv18oHgD+JdTVZJ/hKhi03kFQg9uzcMLHTxvra CsSFA5KtHWVSI02O0HZZ8sMB2widkkM7e2xqKfr8cQ== X-Received: by 2002:a2e:1207:: with SMTP id t7-v6mr3640351lje.129.1531494954226; Fri, 13 Jul 2018 08:15:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:fc1c:0:0:0:0:0 with HTTP; Fri, 13 Jul 2018 08:15:52 -0700 (PDT) X-Originating-IP: [2620:10d:c090:200::5:e750] In-Reply-To: <20180713150701.GA3049@arm.com> References: <20180709200956.31158-1-labbott@redhat.com> <20180710090125.GA28924@arm.com> <20180710093615.GA30095@arm.com> <20180713145910.2mlzip5ssk72cleo@localhost> <20180713150701.GA3049@arm.com> From: Olof Johansson Date: Fri, 13 Jul 2018 08:15:52 -0700 Message-ID: Subject: Re: [PATCH] Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" To: Will Deacon Cc: Paul Kocialkowski , Laura Abbott , Catalin Marinas , Linux ARM Mailing List , Linux Kernel Mailing List , Michal Marek 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 Fri, Jul 13, 2018 at 8:07 AM, Will Deacon wrote: > Hi Olof, > > On Fri, Jul 13, 2018 at 07:59:10AM -0700, Olof Johansson wrote: >> On Tue, Jul 10, 2018 at 10:36:16AM +0100, Will Deacon wrote: >> > On Tue, Jul 10, 2018 at 11:30:39AM +0200, Paul Kocialkowski wrote: >> > > On Tue, 2018-07-10 at 10:01 +0100, Will Deacon wrote: >> > > > Thanks, Laura. >> > > > >> > > > I'll take this as a fix, and add a comment to the Makefile to justify >> > > > why we need the linux target. >> > > >> > > So this comes down to either breaking fedora/debian toolchains (that >> > > don't support elf emulation mode) or breaking bare-metal toolchains >> > > (that don't support linux emulation mode). >> > > >> > > Since Linux is a bare-metal project that does not technically require >> > > the linux target (who said using "Linux" for all things is confusing?), >> > > I think it should aim for the elf target in the long term. >> > > >> > > But well, breaking Linux build in common distros isn't good either, so I >> > > guess it makes sense to revert this while distros toolchains are being >> > > fixed. Hopefully, it won't take too long. >> > > >> > > What do you think? >> > >> > Yes, we need to revert the change since it's a regression otherwise. I think >> > the best course of action here would be to find a way that we can either >> > tell the linker that it doesn't need the missing linker scripts because >> > we're providing our own, or find a way to pass different LD flags depending >> > on whether or not we have a linux toolchain. >> > >> > For now, I've pushed the revert to for-next/fixes. >> >> Hi Will, >> >> This is regressed in mainline as well. But I think we can just use a (slightly >> improved) ld-option here? I checked it for x86 regression since it uses the >> one-argument version. Patch is here, can you pick that up instead and get it in >> for 4.18-rc? > > I already sent the revert to Linus, but I can certainly queue the ld-option > for 4.19 if we pick up some more tested-bys. Could you send it out as its > own patch please? Definitely, separate email shortly. -Olof