Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp530261rwb; Mon, 26 Sep 2022 02:19:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65B87hynA4OApCGI7CaBXe7o5cmfy8UeGfcS4tu7pacMfxEXDDUmi8Wq22cRkvieSyQnIy X-Received: by 2002:a17:902:d353:b0:178:8976:e78f with SMTP id l19-20020a170902d35300b001788976e78fmr21296337plk.68.1664183976955; Mon, 26 Sep 2022 02:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664183976; cv=none; d=google.com; s=arc-20160816; b=PHvquDiFqQ+fN+5D9cAaPwmHqQnGRNlG4+C1H8sF/5dkuz9pPZswYzAGRhRMOyBw0m +bEkcx8alSDarOZieHXtrLz+CxynWN3i/SVYAfShY0zqwP+swA70akHJhLjsgbB/daZ/ kdUql1X9tBR9gToAf5sGAGsfSBtiNFRzq8WbdDRs1vIjWM/W2SB0vuOmVA6dxu8YNPon j3Oghw5JWUkNAE6mTw4SUIeJON70DXZMoMDpw4zIChqzMnIrrgY9JNMYGoA8p7TRzEPw 6VVK4PGGl43dMHc1BmaSSUpUbOn9I6NJjWNAK9zrcHkKGW0Qx9Zl/xLJ5eH8FWdNIv92 SI6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=RuwvdYTue40Ppjb+3cJgTWK/P0AA+gH8pgKbdcDCbis=; b=QGHQUiZKMtvq0CKJoSc1YS76bZqblqSbeMWZ4DLg/i1e/DXv9OO+anwPG0KPArVzwI bRV7V/RPPeDsHPYj1lf2TqFAjYr0FqiVHmmhFexQJXQ2gAUCzyV2B8NqzxlTi8+HrIvA L8wSa+z3FrOtBVje2gSqpnrR9+cl7VNv65oMLx/I+n3zCt4AYMS6htiPBodLxJk4OAg9 S2+UzQH8j8lcSbRKQGdbRnlbozxUe3t2L7KTNtaIWSUArymQBYUpQdYFbzKKqIgTdDCo NoxD13rtCErtvL5nR6QMxW3Ux6aEkauO2Rs6jq0WjqoSXmtYvFM7j5fJU+BKgbhphT/B m3EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=jEaw9gri; 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=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x190-20020a6386c7000000b004389512f412si17230581pgd.1.2022.09.26.02.19.24; Mon, 26 Sep 2022 02:19:36 -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=@cutebit.org header.s=mail header.b=jEaw9gri; 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=NONE dis=NONE) header.from=cutebit.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234250AbiIZJHb (ORCPT + 99 others); Mon, 26 Sep 2022 05:07:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234058AbiIZJG4 (ORCPT ); Mon, 26 Sep 2022 05:06:56 -0400 Received: from hutie.ust.cz (hutie.ust.cz [185.8.165.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C2A3FA0F; Mon, 26 Sep 2022 02:06:51 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1664183208; bh=RuwvdYTue40Ppjb+3cJgTWK/P0AA+gH8pgKbdcDCbis=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=jEaw9gribPaZizwL95XhqNvpGGKOpLeKz7JPj9XYd0tZcE9DiRrfbsAJvYX4Cl0pA TseBUVpJ3jrfWEiIKr/DpkoK2nbWbJeVZfWFR2zOif3AQjhpeZ4PsXPKfJOAyMy/El QWAc+tsi4qCsOwI9MCgQf7s+cmAv1TOen8250iW4= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: Any interest in building the Linux kernel from a MacOS host? From: =?utf-8?Q?Martin_Povi=C5=A1er?= In-Reply-To: Date: Mon, 26 Sep 2022 11:06:46 +0200 Cc: Linus Torvalds , Masahiro Yamada , Hector Martin , Nick Desaulniers , clang-built-linux , Linux Kbuild mailing list , Linux Kernel Mailing List , asahi@lists.linux.dev, linux-arm Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <478D9484-E404-4A96-908C-4DE0F7C23997@cutebit.org> References: To: Sven Peter , Nick Desaulniers X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 FWIW my current workflow includes building the kernel under macOS, so there=E2=80=99s some interest from me, but that will pass once the = porting project progresses enough. So far I get by with some local duct tape. > On 26. 9. 2022, at 10:09, Sven Peter wrote: >=20 > On Mon, Sep 26, 2022, at 09:51, Nick Desaulniers wrote: (...) >> 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? >=20 > I've been either using a Linux VM or just a bare metal system running > on these machine for quite a while now to build kernels. This would've > been useful when I originally started though and VMs weren't working = very > well yet so maybe it's still worth pursuing. I really wanted to do it in a VM as a saner path, but I didn't find a satisfactory way to share the working source tree between the macOS host and Linux guest (which wouldn't slow down the build). Martin >>=20 >> Take a look at the commit message linked below for the trials &=20 >> tribulations: >> = https://github.com/ClangBuiltLinux/linux/commit/f06333e29addbc3d714adb3403= 55f471c1dfe95a >>=20 >> Thanks, >> ~Nick Desaulniers >=20 >=20 > Best, >=20 >=20 > Sven >=20