mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roman Bolshakov <r.bolshakov@yadro.com>
To: <linux-kernel@vger.kernel.org>
Subject: Build the kernel on macOS
Date: Wed, 17 Feb 2021 01:36:46 +0300	[thread overview]
Message-ID: <YCxI/vFJAMQuSQma@SPB-NB-133.local> (raw)

Hello everyone,

I'm not sure this is right forum to ask (due to high volume) but I don't
know about any other that fits better. Is there any interest in making
macOS a first-class host to build linux kernel?

I'm quite sure [1][2] (a lot of similar posts can be easily googled)
there's a demand to build Linux kernel on macOS and QEMU is available to
provide executable environment for Linux on any virtual (via TCG) or in
some cases hardware-accelerated platform of interest.

Back in 2018 I managed to build x86_64 Linux kernel on macOS with
crosstool-ng altough a some patching was required for elfutils to
compile the kernel with CONFIG_UNWINDER_ORC=y.

If one sends patches that helps to build Linux on macOS hosts are they
going to be considered at all?

1. https://stackoverflow.com/questions/64297353/unknown-options-when-running-makefiles-for-linux-kernel-building
2. https://stackoverflow.com/questions/10018764/building-linux-kernel-on-mac-os-x

Thanks,
Roman

                 reply	other threads:[~2021-02-16 22:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YCxI/vFJAMQuSQma@SPB-NB-133.local \
    --to=r.bolshakov@yadro.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®