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.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 121E0C433DF for ; Tue, 2 Jun 2020 13:44:04 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3DC73206A2 for ; Tue, 2 Jun 2020 13:44:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DC73206A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49btYR5gWbzDqN5 for ; Tue, 2 Jun 2020 23:43:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=mentor.com (client-ip=68.232.137.180; helo=esa3.mentor.iphmx.com; envelope-from=joseph_myers@mentor.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com X-Greylist: delayed 64 seconds by postgrey-1.36 at bilbo; Tue, 02 Jun 2020 23:41:36 AEST Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49btVm2VjGzDqFp for ; Tue, 2 Jun 2020 23:41:35 +1000 (AEST) IronPort-SDR: 3EdSmWQZ4axAch8w6Hh0EVgpTCagEy+8WsNBW95cd8pm4KMynLxVxf9q5X3OksYUIYOyAzCEhQ DCwI/yKTAnykzd5R7sMBI0SdvV6cVmMvDrKCyhAClp5VYdy4DaFtX0fgidOnte6fnDsMpvUXht GpNzbbitQJK565uyXW/zpItxTf6+j60tBoHSTFcyH85KpFfh4ccoAHcu9z9TjYuD5wACSrkjK9 6C/aBNUAyADtpILmcDi6TI/8TXaOEK6bK4j7lFHOvCBoME9EIDAXcIoZW8PV2PY3iVkZKV2Xz8 1/o= X-IronPort-AV: E=Sophos;i="5.73,464,1583222400"; d="scan'208";a="49421784" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 02 Jun 2020 05:40:29 -0800 IronPort-SDR: XB+pHlUzEJfW0mVPgJEg/y3yWdx9vPyAmlpwaAmE7GtOPhVrPm6J7EVQ3imDvwV2Es0FwXCa3m u7u87i1xRI56wQGZKELsTSLqqrkI2I+kWMK9559yXV0jlmWtfwEPgq6C3y6xXwz8gsrLgz4LMr 5VP7Z8rn2q43gwB0xceUVnzNXiBCR5wOECy9tYaRnjYcqL7lp0TCwe37PPzbU5JI8TJYsTq07K Wly8tlLBpXTJM5BnOZ+JO55hgVfNnTDqV+b4xci9MHTCUzUGEHAjFwpklfLE/JyFsF15DqL1Xc ros= Date: Tue, 2 Jun 2020 13:40:23 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Daniel Kolesa Subject: Re: ppc64le and 32-bit LE userland compatibility In-Reply-To: Message-ID: References: <2047231.C4sosBPzcN@sheen> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libc-alpha@sourceware.org, eery@paperfox.es, musl@lists.openwall.com, Will Springer , Palmer Dabbelt via binutils , via libc-dev , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, 2 Jun 2020, Daniel Kolesa wrote: > not be limited to being just userspace under ppc64le, but should be > runnable on a native kernel as well, which should not be limited to any > particular baseline other than just PowerPC. This is a fairly unusual approach to bringing up a new ABI. Since new ABIs are more likely to be used on new systems rather than switching ABI on an existing installation, and since it can take quite some time for all the software support for a new ABI to become widely available in distributions, people developing new ABIs are likely to think about what new systems are going to be relevant in a few years' time when working out the minimum hardware requirements for the new ABI. (The POWER8 minimum for powerpc64le fits in with that, for example.) > either the AIX/ELFv1 nor the ELFv2 ABIs) If we were to introduce new > ports, what would those use? ld64.so.3 for BE/v2? ld.so.2 for LE/32-bit? Rather than relying on numbers such as "3" or 2" in a particular place being unique across all (architecture, ABI) pairs supported by glibc, something more obviously specific to a particular architecture and ABI, e.g. ld-linux-powerpc64be-elfv2.so.1, would be better. -- Joseph S. Myers joseph@codesourcery.com