Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp465647rwb; Mon, 26 Sep 2022 01:06:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/vs8gX766c0JmYmgHVz8jj2mMdIvGn4GiAlWqEMwlmTdzLc6MKSB8506tuEgVtc5Fefg/ X-Received: by 2002:a17:902:d88a:b0:178:e0ba:da21 with SMTP id b10-20020a170902d88a00b00178e0bada21mr20584409plz.139.1664179583054; Mon, 26 Sep 2022 01:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664179583; cv=none; d=google.com; s=arc-20160816; b=Lw2EUp6ms04mVeiRuLSCwtX9QRSjGJiKW0sJ2pH3OfFF7clTLtvRZmV++CjHXL/s5S 27vxmNWp/o79df0zEePvhZRWGLk38RAuz2VTpsedPmNCmJWAR/m6buNKtw2m/5h2RBnT Fz+se4FAdfCdSBx5E1fkb3zh3AgCDGkCtUaISmb1sWgUgArKJIW/50bHDVJciVv5D5wi 7Wsdk7Jk6+fBanYAA5nZ9HLrKsIlfaZTPqAidHD2bI0lIrz7q4HmnxMkcsqESsaumr2n Ok7VwBagP5nOfqrw6G+/UDKdu8VmSFUboC9+eAhXmTUotexyLu7L48tSreYvNygbWWMs bC8A== 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:mime-version :dkim-signature; bh=JTLxaDlZ0s+4KzzKxJ2iMAsNQ8edLuUfFix3kOf4hxE=; b=F/UmwAfN9bn3hsiERbrhcHYHe8r9enJNGrEbNU9ZuKbpH+75Y3DD5+z7AbSW0Z6UYY hMWButwTemCS+PbqxUUJMNgBW8gW0ZkkN77KcCwqhL0eRGhLGQLdKGdbuz/HsAk5vtnG ZDf/g5r2t08aJCHBcDS1IWkspQ74fnSsfoOL3mAvEzconSfPFQiviPhc1+UxMuAos0I5 oOWtQnu4+lKqYl1bF6V5sSrZdMuVQpPhqaxbJ/x7dx+YXFSfIm+nbMwaE2HLeR2347cN mcZOCXoypPzEt9RnaJdTr10ZM3wYW46R8fHZ3UtguxyJhnppmSKYsUUeqQwljCsnZFgD R23A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IUYcYkeA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 127-20020a630185000000b004388fa97884si10950915pgb.456.2022.09.26.01.06.11; Mon, 26 Sep 2022 01:06:23 -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=@gmail.com header.s=20210112 header.b=IUYcYkeA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234451AbiIZH6G (ORCPT + 99 others); Mon, 26 Sep 2022 03:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234195AbiIZH5b (ORCPT ); Mon, 26 Sep 2022 03:57:31 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F34E3B96C; Mon, 26 Sep 2022 00:51:33 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id z13so12240997ejp.6; Mon, 26 Sep 2022 00:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=JTLxaDlZ0s+4KzzKxJ2iMAsNQ8edLuUfFix3kOf4hxE=; b=IUYcYkeAKAq3Z9pkfcGCw7GFVb5ytx/L103zWixWaVGGHUW4qaqsi7qFcQb8U9ylb+ ZH86Rft2dsUKJJPRUWtJ5SbNWB4vsOoMJNFE+RdK2CQvW8sUrWj7ZCHcXFtyYAbTbzre 05ZZb0uTlCJrtnHgUYE3Xmren2i+EwAw2RU0lcC0cs3q9HG0Ad8Uv35WTJuvWm79HW5P K9F9i3i+Ol/SXFaX85xP+/7swtxTbQVL4rKPAMc8iyX8adFMUbWloN1UPCTGZq2Il07D +TiUZOOKWEghMgGbQMmJULxQ0z/4vUcpXar06SX6FjLR2L+k5eC9evSI2aDdcl09Dz7X ZLQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=JTLxaDlZ0s+4KzzKxJ2iMAsNQ8edLuUfFix3kOf4hxE=; b=KmgHMocMQ9Y6YJbWL5ftrssp3VgQoHZN2LND2utvLdy049Mg7UcrnNgu0sMK0kamD/ uyDfLCrDk3JbWyeUchI5irO1sB2GGWd8eglzOHjomg74TvTWHDtI4XRq9tG1MBLpSZmN cOqz9QAse/FO6g5DQfDhFORiuiwccz4t2lbGoHpSBLut+FR+OysWnKjo3fDrgUwYflsG FEmKXhSrfLg3HLSoY4Xsp/ct6dBTykil6ZEPnNzDrmOzf/8WkAHPU/qAZXN5rfsJUC3X 3OIKUzFLqGxuKv5tkCBP0ZJnn90rp8ZmmMNBzRsCvWvl8AgjmU5dDuHiFGAGwjj6C88N wCUQ== X-Gm-Message-State: ACrzQf0sib6u/u7WsDnNp570DeSc9GQFHvH1Gmvt4Jb19kA6b55HKwsc BsxsAljRsmyVNDpcCWWZmYHtcRa+EIN8TK+ApzM= X-Received: by 2002:a17:906:9c83:b0:779:c14c:55e4 with SMTP id fj3-20020a1709069c8300b00779c14c55e4mr16698857ejc.619.1664178690895; Mon, 26 Sep 2022 00:51:30 -0700 (PDT) MIME-Version: 1.0 From: Nick Desaulniers Date: Mon, 26 Sep 2022 00:51:19 -0700 Message-ID: Subject: Any interest in building the Linux kernel from a MacOS host? To: torvalds@linux-foundation.org, Masahiro Yamada , "marcan@marcan.st" Cc: Nick Desaulniers , llvm@lists.linux.dev, Linux Kbuild mailing list , Linux Kernel Mailing List , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Not sure if this is potentially interesting to anyone but I was able to get the kernel building from MacOS my M2 Air with a small amount of effort (read: duct tape and bailing wire). If this might seem helpful to anyone's workflow, I wouldn't mind pursuing this (with some cleanup, sending a more formal patch set). Maybe this helps us bootstrap or get Linux up and running sooner on these machines? Take a look at the commit message linked below for the trials & tribulations: https://github.com/ClangBuiltLinux/linux/commit/f06333e29addbc3d714adb340355f471c1dfe95a Thanks, ~Nick Desaulniers