Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp524989rwb; Mon, 26 Sep 2022 02:13:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Yhhd2JVGA2I8HrIPSPPqSgz0/1HfGBHMuxSDokC+4gAhLDCf6yYjQ4f8yE143dNJVcKza X-Received: by 2002:a63:6bc4:0:b0:43c:cd29:6120 with SMTP id g187-20020a636bc4000000b0043ccd296120mr828551pgc.56.1664183639636; Mon, 26 Sep 2022 02:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664183639; cv=none; d=google.com; s=arc-20160816; b=q4CS7W6WCdE3QcvtW0GX+64PC/7TlBnRdx7OVx2oPkcQqR1We3F9dJEntYnJ5YC4Gw /y/YMXwq5FsbTc+qu8YDPCJIbR+94DTwOOic+qBRyFUcrFF83w275feftf4p5TPFJZn9 PnW2eDtZUfddk9vqGH9ZcrXBe9HL0u2C2rvJyGup3tGyRMd1va+m9jliBB7FrOfvjCLl zbeAs+JeQfDyUPkHTdZomEaGpwJWEyeCP5IMY3yFxCdtewIYv4AbrD9tpW0hQXEIMC0J mGU3TJ9HByTjKJd/AU4OWLNisdVv3BnB9h2w2vdpRYqjWIIuWcbzYHYWhBwKWRRqCkZV dukg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=kUoCi2yT1GwD1ISOCgS7Z4CUQnF93+E9jTByctv07pA=; b=C1TdGUHIV0ujrrjSZHFaDlCdMazI8oPEUCkDJ5JLgWFz0PtGdmApTOqYu43P7jTThj 27+SoXMPslNVTOUJjEdRoQH6w9g0H3Q/E0BI8JfeOc9TI0+6vZh/p+2hWgVEBgHMlYQ0 0+d7o6n5gTwc6+sC/Nx0eV5nK4E4H3s1igXMoese8w0XtcwrVGM+Dk4cXCQ7yQWacos/ bWs+7vZwbZUUtYLb3xOwJg1yZUUAqHQsg5m+/B/SMHk4IfzhrU+nJrDTmUv8avShgEHq KSRgaLIM7sUfF+E304cwRDgIajda3hkLK5LrS0/yixtf3kPv6Vz8ZPAPhHY/A8g1Mw9S XW/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=kiA47cQd; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=KKLgz9mo; 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=svenpeter.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h69-20020a638348000000b0043941cf40d7si933403pge.298.2022.09.26.02.13.48; Mon, 26 Sep 2022 02:13:59 -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=@svenpeter.dev header.s=fm2 header.b=kiA47cQd; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=KKLgz9mo; 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=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233947AbiIZIKe (ORCPT + 99 others); Mon, 26 Sep 2022 04:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234247AbiIZIKN (ORCPT ); Mon, 26 Sep 2022 04:10:13 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E90C91572F; Mon, 26 Sep 2022 01:10:03 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3F3B35C00D9; Mon, 26 Sep 2022 04:10:02 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Mon, 26 Sep 2022 04:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1664179802; x=1664266202; bh=kU oCi2yT1GwD1ISOCgS7Z4CUQnF93+E9jTByctv07pA=; b=kiA47cQdqnCwoNrsgU wIO8oxm2UF8wrn048UyULmo6cmWkdwJTjaFpTAshkknSSK5s7ECibWNzoYNzeCoE wmgQ2Oa4o7IMYPEXAHvtOdFG3lYNtuLdjOs8QeAqUAgOeTLn2VziDVg8uPE7mibz 1duHcPWT5/0o0pLA0ExVZhwyvZSNPfe1ToIL42MsVNh+wJo2vawOfcNcexyA1bvs 9EyynETxlwt/VoXSphFQFumH3K4XCvFjbSvwaF/ZjIUAfstW0NEuDvuAI/wj5Xst 5plKpbRgUBRd7wmGaGFXg7UFOyxzbAo+TyQYhDuyG2TakvpLWEGkgI/hG3I53xox iksQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664179802; x=1664266202; bh=kUoCi2yT1GwD1ISOCgS7Z4CUQnF9 3+E9jTByctv07pA=; b=KKLgz9moR3Jb69T09+NZHuE/0e0JD65ExOz3uPzge2XY 24ooOcgBZJrQuxqF65s0gTlNJtmW2iE0ki1ClcDQwoYoJhx+Atom3l0rW7CzJ4za VEpvFhEaV1zdFzYm5KttM2fUN39g688msOtIIlckBBzozypTTUG3AxjsvrAF4Pmu KrCxzxMpjfkOnKcKvNUEI8VvOcP7iRIIUWeyYhL0SM5nBWLxJTzK8ocqOqk1BxRZ BDfbMs65IrQ9QRJKxTvl/AR/YlRf4dz0hNAGYrHOcAoE0vgrCJ6btss5sMQaY3aW Hn2B5fNQhVbObmIkodLIPKHLZwZjayY/XZaWDwj7hQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeegvddgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfufhv vghnucfrvghtvghrfdcuoehsvhgvnhesshhvvghnphgvthgvrhdruggvvheqnecuggftrf grthhtvghrnhepgeegkeektdejveeiteffvddugffggeeuudehvdfgtddvudfgjedtuedu vdevueevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvhgvnhesshhvvghnphgvthgvrhdr uggvvh X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9E3F3A6007C; Mon, 26 Sep 2022 04:10:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Mon, 26 Sep 2022 10:09:41 +0200 From: "Sven Peter" To: "Nick Desaulniers" , "Linus Torvalds" , "Masahiro Yamada" , "Hector Martin" Cc: "Nick Desaulniers" , clang-built-linux , "Linux Kbuild mailing list" , "Linux Kernel Mailing List" , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: Any interest in building the Linux kernel from a MacOS host? Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 On Mon, Sep 26, 2022, at 09:51, Nick Desaulniers wrote: > 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). I originally tried exactly that last year but I guess my duct tape wasn't quite strong enough ;) > 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? 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. > > Take a look at the commit message linked below for the trials & > tribulations: > https://github.com/ClangBuiltLinux/linux/commit/f06333e29addbc3d714adb340355f471c1dfe95a > > Thanks, > ~Nick Desaulniers Best, Sven