Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp483070iob; Thu, 28 Apr 2022 06:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9S4CLZLMK5m8eTTo9oQoCvqL5/eMqfLAUs95OqzLMNuLfNPqcKZNBd/YGpPNyrUI+oUI4 X-Received: by 2002:a17:902:e890:b0:15d:472a:eaee with SMTP id w16-20020a170902e89000b0015d472aeaeemr11015658plg.51.1651153606995; Thu, 28 Apr 2022 06:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651153606; cv=none; d=google.com; s=arc-20160816; b=kemYg41O2v5hKeauLDnIKA8ze0YkO1YaATSrwT65waAOSQNdJPotaLe5kyN+CGuMJJ h4sEpL3fvxT8p7hJyuBSxvszZwHnV6j8yKP86cRUZzJf7hSWJuosRFKuYhbpJtZ/4cFi jSZPXMozfJxFYAEF7mZ97P1/TuSa3dvsuQbscAiJxmA1X+jCV28q6a8+BJpa8LFHlvUu d5xfPHpqMJaMh3UNkqlJ7Q00dV1m4meOW+D7rB0ZTLskqw1zYsgvEDm6Duq09TfzKrJs 9EE8AuiA0vejQgR8e46wtCGn4bvSk+KOzy14hfsDIk4p9lsqSzcmG+3JQIKjLxYTkm0u +LMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=kEjciLMEbJP2JT2eR/lm56SayQx0Q+7PiMH5tkUJMEQ=; b=0iHrYx5f3Xo7v7/GNu/w/bCM2WAuBFYrO0JIL5BJmWZo3Cvq+lESSGJh+qTn+pRbC5 spGg56CLqeOJimFlVOH7ZZ5sTnW14Ix/3lIxHKyBJ7kejKJVmTdOZIPQZ7XROgFSM9uc leEbQNIaF6FY6pYgpG0K+/F++tP5U9tzAIYLL43nOJ9DSuC1adKevl1dNVd0GhmET47f AT/8qgulaWUYkXAtSfry5xAnZoON6jcq+jXQNbSXpqdsGnW9APcZ3xwDV3BrZX5NBgEC mOrI6YWjaj+7XM/IrWQ4hbkSX0km11PwJXZgI/k5AjiXaM/D7TNRcC/tQtpqXV9kXNVL ebxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=2iBc2tY5; 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 x20-20020a056a00189400b0050cfb4ff72dsi5029875pfh.52.2022.04.28.06.46.30; Thu, 28 Apr 2022 06:46:46 -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; dkim=pass header.i=@landley-net.20210112.gappssmtp.com header.s=20210112 header.b=2iBc2tY5; 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 S244212AbiD1GmJ (ORCPT + 99 others); Thu, 28 Apr 2022 02:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232349AbiD1GmG (ORCPT ); Thu, 28 Apr 2022 02:42:06 -0400 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89FB897BBB for ; Wed, 27 Apr 2022 23:38:53 -0700 (PDT) Received: by mail-ot1-x32c.google.com with SMTP id t6-20020a056830224600b00605491a5cd7so2548525otd.13 for ; Wed, 27 Apr 2022 23:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=kEjciLMEbJP2JT2eR/lm56SayQx0Q+7PiMH5tkUJMEQ=; b=2iBc2tY57H7tKLVZhVYx3hMLx/1DgkICbmlfkfCimneqIuUIm5RHcQgb5d3LCzo2xI o9GALWf37EZ8eNOVCaZ7wTKCl+HIG9hS8m8cDoLe2CUnhfbhCdlSCvIxe4AOdrSjDE5b 2qVx8e3u49PsF76ejlU8NZrT6RjVzboAwyTvF9DNRsSliWRYZhN4t+7+lKLHfEdhPRSM 4YK4cwx0QxYRWsDkdWhrO3c76wJQVjVeTwSuOzGEzARFwJddL3hXVk6COfPwvm8eEBPb cwJpkDocQCjhsvWZAcaaF0WQtAy8ybINelY6VZPes2xkhNUi4+4zZCVZKHXOc91XKT4S u3mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=kEjciLMEbJP2JT2eR/lm56SayQx0Q+7PiMH5tkUJMEQ=; b=wmwkYLZezssmPJIkL1Uee85MPirZDeV661h0lRnUqTHhJj+dDn8hunMOGizd9Y8Dg6 HfwYNt5R+tzEQ/yBfsFN4kKiQAgguurasFTbGeT9dYkpaVvXv5Q8zprQUd4JTS5xpmCI PRfQbap/vz8NT6Kdpe2Tdfx4jhRP1GjnDr0MDXyAptEov4khk+EkhcHBfNfVIq/LehBN dAg10Kkb9NjFtA2+b6QGFT4KzDn2h5cjkoM6R37zW6IbvpLFrUxnFns8F1g0tPHhATZs rolDdG2CkaCkQvFfT9xFXhFe7iv+aZGgDkHcT22P2kumsQrm65iopM81Xt+5QjCDdE6R b/4w== X-Gm-Message-State: AOAM532HLSviJlmoCUnsS1mDUxjvVIG8CfRTA4GJF0nArKuLRuXzQxFb 25GSMiJh0lEl2UR3Sc6C5F1QnMixHsLZxg== X-Received: by 2002:a9d:c63:0:b0:605:e230:3162 with SMTP id 90-20020a9d0c63000000b00605e2303162mr1602463otr.348.1651127932887; Wed, 27 Apr 2022 23:38:52 -0700 (PDT) Received: from [192.168.86.188] ([136.62.4.88]) by smtp.gmail.com with ESMTPSA id c17-20020a9d6851000000b0060551d14386sm6607559oto.13.2022.04.27.23.38.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 23:38:52 -0700 (PDT) Message-ID: <06e71cfe-4928-539b-7b67-b06e3405f2cc@landley.net> Date: Thu, 28 Apr 2022 01:43:23 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: odd endianness toolchains for crosstool Content-Language: en-US To: "Jason A. Donenfeld" , arnd@arndb.de, linux-kernel@vger.kernel.org References: From: Rob Landley In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,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 4/24/22 20:39, Jason A. Donenfeld wrote: > Hey Arnd, > > I'm again experimenting with switching to your crosstool toolchains for > WireGuard's CI. I've hit a few snags in the process: > > - For powerpc, gcc needs to be built with `--enable-secureplt > --with-long-double-64` in order for musl to run. > - Need powerpc64le compiler (-mabi=elfv2). > - Need mipsel compiler. > - Need aarch64_be compiler. > - Need armeb compiler. > - Need mips64el compiler. https://landley.net/toybox/faq.html#cross2 https://landley.net/toybox/downloads/binaries/toolchains/latest/ They're all musl based. I use them to build little bootable systems under qemu with a 300 line bash script: https://landley.net/toybox/faq.html#mkroot https://landley.net/toybox/downloads/binaries/mkroot/latest/ Ala: https://github.com/landley/toybox/blob/master/scripts/mkroot.sh Rob