Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3270650ioa; Mon, 25 Apr 2022 23:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywTLB5Z1z9pqEZWkc0w87efFYf3CjgzSbjE1aW3dB/bC2kfRdCXMvvVsioKs9eP2AzQ2ys X-Received: by 2002:a17:906:99c3:b0:6ef:fad0:45e3 with SMTP id s3-20020a17090699c300b006effad045e3mr19808782ejn.99.1650954643304; Mon, 25 Apr 2022 23:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650954643; cv=none; d=google.com; s=arc-20160816; b=ngZwGVtWWBGaFNid1SPhgHj6LjwhnpoQq+Z7fzJG/zA7wG48fJQudll+BVFysUQLhE F61BXp5Vz5KuX4gdOyF4XbKx93X5yvdY0TWcP+rj9Hf+X7HcSPyXkQ4XhmLsdIVtNJts Ql7Fur3puU4T0kewRfnl4saWen5c+DtfnBQtnbE9RAARWj49+T8BMNkaGsQp/HvOD6ud 7HAhvbzjGejm3Zc2mPAp5h9VISihyZnGYUs3pq8Jz72KO7VwlLNk+UaaoVMCrWWLh1Vk mCuSqYnKJpStMvrX0F52bOeUO0eC+d5H1Bxo/o9skOD5fDKvmeqHGOumb0kCSnyifaNX Qlhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=RYac2DSTAxIrRpABdfRr3w0+mvFvX0iYsByoCqvhR/A=; b=RqU46Q/IVvlds6KD/SJpPSt8YP30u7PMaY3Cppcct5Ee6HkauvB6rIiiBzJA2VWuFh X7SInlwBGEe1s8oXxIAi4r+XyVr5iHnBQxtd5Zq0fq2IWIXNcSjSeXNVxeCJCA2dpYbQ j4xzLgjYHu0eo+//s2Gw/4XUAnO8nA0gfq1q3DMTUg5ovg/wfEEct/24j7LBmpiETNzj embEyZK6hpaLOnh4sNKOet8K5ABq7zblZF5k7ohMxqlITwdl2GZDMSpkIuh16FSIDbNB JeIPzFsJCgwaPqoV4KlgYfeqQkNrTGftducbAhhcOJXLyxUv422kuR1njq+ew20oMETq mFZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn40-20020a1709070d2800b006e8a20ff3f5si17205139ejc.531.2022.04.25.23.30.17; Mon, 25 Apr 2022 23:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242967AbiDYPnA (ORCPT + 99 others); Mon, 25 Apr 2022 11:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242949AbiDYPm5 (ORCPT ); Mon, 25 Apr 2022 11:42:57 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD463BB92A for ; Mon, 25 Apr 2022 08:39:52 -0700 (PDT) Received: from mail-wm1-f42.google.com ([209.85.128.42]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N9cDF-1nvEig0Aqr-015ZFq for ; Mon, 25 Apr 2022 17:39:51 +0200 Received: by mail-wm1-f42.google.com with SMTP id k36-20020a05600c1ca400b00393f18c8fc5so64373wms.4 for ; Mon, 25 Apr 2022 08:39:51 -0700 (PDT) X-Gm-Message-State: AOAM533YaXjW3sm5CVz60m55vSSc1D7s/DEYhu/EwItLgosxTo1Rx79R m88kk5D89yqn0nwS919h0LMagiiLnxuhfWRZSl0= X-Received: by 2002:a7b:ce15:0:b0:38e:b7b0:79be with SMTP id m21-20020a7bce15000000b0038eb7b079bemr16961733wmc.71.1650901190683; Mon, 25 Apr 2022 08:39:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Mon, 25 Apr 2022 17:39:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: odd endianness toolchains for crosstool To: "Jason A. Donenfeld" Cc: Arnd Bergmann , Linux Kernel Mailing List , Nick Desaulniers Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:9g6gubwe3RUQxydeeYrBzc9VI9NLg7FhrkVsd9G/g3z0aGg3Kc5 8Fer3+1lhbgDqCr7ZhsCMofj3rpQpyYW7WhOnjwTkIQX4xJ4/TOCNBvfaFj4LQLXRiVe/gR LsGJnCq55phyJ26v6u9FnyL5k7dFqHvmdHaeaNdggnKeS7OjnsIH7fVQEJAKjMt3Wjq7BEp QYKBXDaTu4kgmRmFg8YQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:b4eslfbJHds=:YwB9fAaxuEadN7Bxvggt4c aMMgOzazMHbVrPtQ5pJsFxgbwJhHuQGT/DilEn0IHLEoPFDv56tJKFRBBBBBX61VobxW4uCcA Um0E+o/1AefdwS36oSxlC4AbjG1LmnjO3RoTEoPzEYXCZC/65umykiyXb4Eyi7Y9+/S84HZ5H iJjSg2ZapUzqaQshkdT/al8jiGwr1/YJvRQ7M452GQuWZwFzD5J8wKBRTcPEwz6wcqh/nD1ah pk8QlP6ntiSgl9uqVFSknUKrs7Z9XGzDwnEAVKSGCvqwmQ9hX7BZUhIjSdVMXx0ol9hM+krvV 0+OL95s0Tw6oOf/gSEGrFhrGlPqxsI0cBDRitO9IQyxWB1CicInQNXhjMTP4Q9aVpYGyL0PSh gjBa1BMC/dnpBO5fv9F92JEI/02bwhvLa0X4fROHiOrT+exzN4s58L4fY2F35ReLjeG+2yymZ 85bGaMucNYqywW0KnTSGsc7NXh/MNz682pigr/iGDsFMsB9z54OgLDsVXpysiey8RVry7sTdk Dz6Nebn2ivkScbb/29HEGgR/w83Ja4SeTmAc6uEswUBocAX2cOzF1nIWzueuytRtr2Vzj1U7u z45xHtEfOrUNpalmqe9I69sQpqohuF8TF7Gjkd7c7k0lM/3kYaYvFdMZJkt8n3xksVoNoq3xV ObYreTsZ9pmYvL+smC9AqYw0y4CsxtRHdUJZqUXo06kUTj93D75th+jYrgorUpXY/oq5P7Rtd ZGqkLZ1et+MFjO3H7/8qxFOzrHHnLv2rgmaMW40nVn6svz7I9CLXgi/Xw2qVTOeVBU7U0WE+m 9neKgpILJcDk6PJ46OkJnQ7mr8tz+TJG0qh5QMtXkhqGsRfaww= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 25, 2022 at 5:20 PM Jason A. Donenfeld wrote: > Right, exactly. So if you simply add little endian libgcc to ppc64, ppc, > mips, and mips64, and add big endian libgcc to arm and arm64, then we'd > be set. I see that gcc-11.3 was just released, so I should probably try building that in the near future. I'll see if I can manage to come up with multiarch configs for that, and maybe even get those merged upstream so I don't have to carry patches against the gcc source tree (all the other builds are for unmodified sources). I can probably do that before migrating to the new machine, but I can't promise how quickly I find time to start. > (And also, build ppc32 with --enable-secureplt --with-long-double-64.) Can you explain what those are about? Is this related to the ELFv1 vs ELFv2 difference or something else? Is this needed in both the ppc32 and ppc64 compilers that each come with both targets? Arnd