From owner-freebsd-current@freebsd.org Wed Dec 7 21:29:56 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 948DDC6BF4C; Wed, 7 Dec 2016 21:29:56 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E081EF2; Wed, 7 Dec 2016 21:29:56 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-qk0-f181.google.com with SMTP id q130so242557622qke.1; Wed, 07 Dec 2016 13:29:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P6T/66AiGVG7zFh31PUtviCcIzzOhiXmQNMieflZS5c=; b=Yf75dBwmAWTwx7wA55pS6WbvHXmDmAOp/dpb5swwGBwzZRyUn9CKn+UD0Bvz9Wai1n hah3i+uQui2wy5lJ1Y+IucFnZvRG5AISvqjAwfBkdp//YfhCuMlJepqJdw2xciDY22qd +JFbHW1r2qF27ny97+rTLi+cco21wVofnahKxeWUE1T7ryfaEYVw+Yxyz3+mOiaYhBB6 GGaGyHnqyvHXPQBV04ZskOowD3PfKqZgCUFNCQ3t+XhQX+En0YJUJ9KPL00uxuVVbbEn r+adwnk466YdskTm+7/N8AFia/l6actQr3jnGUyPmhrYP7yWKTTOX+NB4MeMLaLwmyHV kcvw== X-Gm-Message-State: AKaTC02DKO4tGY9fEhetvdXvy2j5imrmO8Ork575BnD11P9j90gLEHycJOPwMY/b/ySWXfwcvr6SAdCgZYEqiQ== X-Received: by 10.55.190.66 with SMTP id o63mr60934696qkf.254.1481137067102; Wed, 07 Dec 2016 10:57:47 -0800 (PST) MIME-Version: 1.0 References: <20161205161541.M51118@i805.com.br> <20161205174757.M9255@i805.com.br> <20161205193106.GA72310@neutralgood.org> In-Reply-To: From: "K. Macy" Date: Wed, 07 Dec 2016 18:57:36 +0000 Message-ID: Subject: Re: Is there possible run a MacOS X binary To: "Kevin P. Neal" , Warner Losh Cc: FreeBSD Current , FreeBSD Ports , Nilton Jose Rizzo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 21:29:56 -0000 > > > A MachO activator is indeed not useful without an OSX install. But let's be honest, Mach IPC is a loadable kernel module requiring no real kernel changes. It's not upstreamable because of a general poor understanding of IPC by noisy commentators and a religious aversion to a technology perceived as having failed in the marketplace of ideas. On Wed, Dec 7, 2016 at 10:45 Warner Losh wrote: > On Mon, Dec 5, 2016 at 12:31 PM, Kevin P. Neal > wrote: > > > On Mon, Dec 05, 2016 at 02:49:07PM -0300, Nilton Jose Rizzo wrote: > > >> > > >> > > >> Sorry for cross posting (-current and -ports) > > >> > > >> > > >> Is there any emulator like linuxator to run Mac OS X binaries, or > > >> is ther any licensing problem? > > > > > > It may be possible to make an emulator for Darwin (the OS that Mac OS > sits > > > on top of), but an emulator for Mac OS would probably require a legal > copy > > > of Mac OS. > > > > > > So, no, there is no Mac OS emulator for FreeBSD. And I'd be surprised if > > > it ever happened. > > > > NetBSD has (or had) a macho image activator, which is the first step > > in this process. But Kevin is right that most of the functionality of > > MacOS isn't in the kernel, and you'd need a copy of MacOS to run it in > > emulation. Plus there's a lot of Mach code that MacOS depends on that > > has no simple counterparts in FreeBSD, and that would be a lot of work > > to make happen. It's one of the things that's a barrier to entry for a > > simple, straight forward launchd port, for example. > > > > > > >