Re: Is there possible run a MacOS X binary

2016-12-08 Thread Alfred Perlstein



On 12/7/16 10:57 AM, K. Macy wrote:




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.

I'd be happy to upstream it.  Are there diffs relative to -current?

-Alfred




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.








___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"



___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Mac OS X on bhyve (was: Is there possible run a MacOS X binary)

2016-12-08 Thread A. Wilcox
On 08/12/16 20:34, Shane Ambler wrote:
> Now that bhyve has gui support can OSX be started as a bhyve guest?

Depending on version and edition of Mac OS X, this may or may not be a
legal suggestion; Apple has made various terms in their license that you
can only virtualise Mac OS X on Apple-branded hardware.  (Some creative
types from a virtualisation forum once suggested taking the Apple
stickers from the iPhone box and placing them on your PC, making it
Apple branded.  Not sure that would stand up in court.)

If you do have the proper type of Mac OS X that can be virtualised
legally on PC hardware, you still need the SMC to be emulated.  That
will need to be added to bhyve before you could boot Mac OS X natively,
i.e. without hacks.


> Has anyone tried to get an openfirmware loader running? Do current macs
> still use openfirmware?

OpenFirmware is used primarily on PowerPC,  MIPS, and SPARC (via
OpenBoot).  I've also seen it running on a few ARM SoCs.  I don't think
I've ever seen a conformant implementation for x86.  All Intel Macs use
EFI 1.10 with Apple extensions.

hth,
--arw

-- 
A. Wilcox (awilfox)
Open-source programmer (C, C++, Python)
https://code.foxkit.us/u/awilfox/



signature.asc
Description: OpenPGP digital signature


Re: Is there possible run a MacOS X binary

2016-12-08 Thread Shane Ambler

On 08/12/2016 09:15, Nilton Jose Rizzo wrote:


   Thankx for all comments.  I know and understood all difficult.

   I'll have to spend my money on the purchase a Machintosh machine.


Now that bhyve has gui support can OSX be started as a bhyve guest?
Has anyone tried to get an openfirmware loader running? Do current macs
still use openfirmware?

For info regarding a compat layer for anyone wanting to work on that -
cocotron.org is an mit licensed project similar to GNUStep - it has
mostly focused on windows compatibility with Foundation usable on *nix
flavours. There is apparently X11 support in AppKit but it needs a lot
of work.

--
FreeBSD - the place to B...Sharing Devices

Shane Ambler

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Is there possible run a MacOS X binary

2016-12-08 Thread Mateusz Piotrowski
On 8 Dec 2016, at 14:07, mokhi  wrote:

> I had started a writing a Mach-O image activator monthes ago, but
> time/daily-life distracted me from continuing it.
> Maybe some day I continue it :D
> Currently it's available on my github[1] if it helps.
> I had some success-like running of some super-simple less-than 'return
> A+B' programs with it :)

Have you considered adding it to the FreeBSD Google Summer of Code Ideas 
wiki[2]?

Maybe some brave student will like the idea and decide to spend some time on 
this project.

Cheers,

-mateusz

[2]: https://wiki.freebsd.org/SummerOfCodeIdeas
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Is there possible run a MacOS X binary

2016-12-08 Thread mokhi
>  Have you considered adding it to the FreeBSD Google Summer of Code Ideas 
> wiki[2]?
>  Maybe some brave student will like the idea and decide to spend some time on 
> this project.
No I didn't, maybe it worth doing it :)
I can do it if you suggest.

I myself was brave (but officially mentor-less) while doing this :D,
(I actually didn't know how i can find a mentor for this idea).
I also didn't find interest among developers after call of review (for
logically good sensible reasons, like why should we add it in kernel,
who will maintain it, instability in first, Apple+Law issues, etc).

Best wishes, Mokhi.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Is there possible run a MacOS X binary

2016-12-08 Thread mokhi
I had started a writing a Mach-O image activator monthes ago, but
time/daily-life distracted me from continuing it.
Maybe some day I continue it :D
Currently it's available on my github[1] if it helps.
I had some success-like running of some super-simple less-than 'return
A+B' programs with it :)


Best regards, Mokhi.
==
[1] https://github.com/m0khi/FreeBSD_MachO
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


make delete-old fails: after make installworld cc.4.gz still present

2016-12-08 Thread O. Hartmann
make delete old removes cc.4.gz, but after a make installworld, it is present 
again:

>>> Removing old files (only deletes safe to delete libs)
remove /usr/share/man/man4/cc.4.gz? y

Kind regards,

Oliver
-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgpVbhAraAkD6.pgp
Description: OpenPGP digital signature


FreeBSD_HEAD_i386 - Build #4330 - Fixed

2016-12-08 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #4330 - Fixed:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4330/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4330/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4330/console

Change summaries:

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"