From owner-freebsd-emulation@freebsd.org Sun Mar 20 01:55:08 2016 Return-Path: Delivered-To: freebsd-emulation@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 C4F18AD69E9 for ; Sun, 20 Mar 2016 01:55:08 +0000 (UTC) (envelope-from dutchman01@quicknet.nl) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87C351944 for ; Sun, 20 Mar 2016 01:55:07 +0000 (UTC) (envelope-from dutchman01@quicknet.nl) Received: from [212.54.42.134] (helo=smtp10.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1ahS8g-0001R8-Rt for freebsd-emulation@freebsd.org; Sun, 20 Mar 2016 02:26:42 +0100 Received: from 524b2c49.cm-4-4a.dynamic.ziggo.nl ([82.75.44.73] helo=PC01) by smtp10.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1ahS8g-0007TJ-Np for freebsd-emulation@freebsd.org; Sun, 20 Mar 2016 02:26:42 +0100 From: "Dutchman01" To: Subject: FreeBSD 10.3 virtualbox 4.3.36 and up, vboxwebsrv start problems SQPmp #### SOAP FAULT: Protocol not available [is internal] Date: Sun, 20 Mar 2016 02:26:39 +0100 Message-ID: <000001d18247$8d170500$a7450f00$@quicknet.nl> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdGCR0Lgcgd4PZjQRTuBM1SuYDaWEQ== Content-Language: nl X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.1 cv=LpRvsSpc c=1 sm=0 tr=0 a=7OsogOcEt9IA:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=p2QsaepqAAAA:8 a=KOFYIefe_yV_zsvwoggA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=yph0kcN88_fZSG1TAtYA:9 a=qWj-i6blFjaGZVId:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 xcat=Undefined/Undefined none X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 01:55:08 -0000 Hi all, There is a problem with FreeBSD 10.3 RC-2 and Beta3 with use of virtualbox 4.3.36 and newer. vboxwebsrv can't start correctly. Also it seems I'm not the only one, please see ticket: https://www.virtualbox.org/ticket/15199 log: 00:00:00.000779 main Log opened 2016-03-19T00:40:28.155860000Z 00:00:00.000786 main Build Type: release 00:00:00.000906 main OS Product: FreeBSD 00:00:00.000952 main OS Release: 10.3-RC2 00:00:00.000997 main OS Version: FreeBSD 10.3-RC2 #0 r296980M: Thu Mar 17 08:05:22 CET 2016 00:00:00.001169 main Host RAM: 16289MB total, 3119MB available 00:00:00.001210 main Executable: /usr/local/lib/virtualbox/vboxwebsrv 00:00:00.001212 main Process ID: 3090 00:00:00.001215 main Package type: BSD_64BITS_GENERIC (OSE) 00:00:01.404074 SQPmp #### SOAP FAULT: Protocol not available [is internal] ^C00:00:16.650161 main requested termination, cleaning up 00:00:21.740651 Watchdog ending Watchdog thread Hopefully this can be fixed for release of 10.3. I have tried with vbox 4.3.16, 5.0.4 and 5.0.16 All do produce the same start failure! Dutchman01 From owner-freebsd-emulation@freebsd.org Sun Mar 20 18:00:32 2016 Return-Path: Delivered-To: freebsd-emulation@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 98348AD7CAE for ; Sun, 20 Mar 2016 18:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 83A73207 for ; Sun, 20 Mar 2016 18:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7EA74AD7CAD; Sun, 20 Mar 2016 18:00:32 +0000 (UTC) Delivered-To: emulation@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 7E4E8AD7CAC for ; Sun, 20 Mar 2016 18:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F795206 for ; Sun, 20 Mar 2016 18:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KI0WZZ081241 for ; Sun, 20 Mar 2016 18:00:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 41543] [patch] [request] easier wine/w23 support Date: Sun, 20 Mar 2016 18:00:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dbn@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 18:00:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D41543 David Naylor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dbn@FreeBSD.org --- Comment #4 from David Naylor --- Given that no-one has looked at this bug in over 14 years I would like to c= lose this bug as "overcome by events". Any objections? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-emulation@freebsd.org Sun Mar 20 19:05:06 2016 Return-Path: Delivered-To: freebsd-emulation@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 53515AD797A for ; Sun, 20 Mar 2016 19:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3E838A13 for ; Sun, 20 Mar 2016 19:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3DE86AD7979; Sun, 20 Mar 2016 19:05:06 +0000 (UTC) Delivered-To: emulation@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 3D8CEAD7978 for ; Sun, 20 Mar 2016 19:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA0EA12 for ; Sun, 20 Mar 2016 19:05:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KJ555W031796 for ; Sun, 20 Mar 2016 19:05:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 41543] [patch] [request] easier wine/w23 support Date: Sun, 20 Mar 2016 19:05:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 19:05:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D41543 --- Comment #5 from Jan Beich --- Would binmissctl(8) help? It's already used by poudriere + qemu-user-static= to run build tools as a kind of slow cross-compilation. $ chmod +x foo.exe $ ./foo.exe zsh: exec format error: ./foo.exe $ hd -n20 foo.exe 00000000 4d 5a 90 00 03 00 00 00 04 00 00 00 ff ff 00 00=20 |MZ..............| 00000010 b8 00 00 00 |....| 00000014 $ binmiscctl add wine32 --interpreter /usr/local/bin32/wine \ --magic "\x4d\x5a\x90\x00\x03\x00\x00\x00\x04\x00\x00\x00\xff\xff\x00\x00\xb8\x00\x= 00\x00" \ --mask=20 "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x= ff\xff" \ --size 20 --set-enabled $ ./foo.exe fixme:winediag:start_process Wine Staging 1.9.4 is a testing version containing experimental patches. fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. fixme:ntdll:__syscall_NtCreateNamedPipeFile Message mode not supported, falling back to byte mode. load: 0.16 cmd: wine 3685 [piperd] 7.64r 0.05u 0.10s 0% 11496k --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-emulation@freebsd.org Sun Mar 20 21:01:37 2016 Return-Path: Delivered-To: freebsd-emulation@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 3DAF4AD74A6 for ; Sun, 20 Mar 2016 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 26E18B7C for ; Sun, 20 Mar 2016 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 25BEAAD74A4; Sun, 20 Mar 2016 21:01:37 +0000 (UTC) Delivered-To: emulation@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 251A7AD74A3 for ; Sun, 20 Mar 2016 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3505B70 for ; Sun, 20 Mar 2016 21:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KL01h2016727 for ; Sun, 20 Mar 2016 21:01:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201603202101.u2KL01h2016727@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: emulation@FreeBSD.org Subject: Problem reports for emulation@FreeBSD.org that need special attention Date: Sun, 20 Mar 2016 21:01:36 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 21:01:37 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 180790 | devel/linux_kdump prints BSD descriptions of errn New | 206711 | Export linux_ioctl_{,un}register_handler from lin 2 problems total for which you should take action. From owner-freebsd-emulation@freebsd.org Sun Mar 20 21:00:06 2016 Return-Path: Delivered-To: freebsd-emulation@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 96F19AD7272 for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 81CAC3DC for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7D452AD726E; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) Delivered-To: emulation@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 7CF6FAD726D for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9C23DB for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by freefall.freebsd.org (Postfix) id 66FC51BB3; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id 66A3B1BB2 for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 442973D6 for ; Sun, 20 Mar 2016 21:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KL01ag016727 for ; Sun, 20 Mar 2016 21:00:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201603202100.u2KL01ag016727@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: vbox@FreeBSD.org Subject: Problem reports for vbox@FreeBSD.org that need special attention Date: Sun, 20 Mar 2016 21:00:06 +0000 X-Mailman-Approved-At: Mon, 21 Mar 2016 00:07:25 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 21:00:06 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 205773 | emulators/virtualbox-ose: VirtualBox-4.3.34 build New | 200468 | emulators/virtualbox-ose: hangs when using nmdm New | 204406 | emulators/virtualbox-ose - Missing vuxml entries 3 problems total for which you should take action. From owner-freebsd-emulation@freebsd.org Tue Mar 22 14:44:49 2016 Return-Path: Delivered-To: freebsd-emulation@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 96986AD817E for ; Tue, 22 Mar 2016 14:44:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 75F715E5 for ; Tue, 22 Mar 2016 14:44:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 75503AD817D; Tue, 22 Mar 2016 14:44:49 +0000 (UTC) Delivered-To: emulation@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 74C35AD817C for ; Tue, 22 Mar 2016 14:44:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 0B35F5E2 for ; Tue, 22 Mar 2016 14:44:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id p65so195888318wmp.1 for ; Tue, 22 Mar 2016 07:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:cc:to:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=cXplAobSbBrzVS7Nb2tqfVIqUhG2B3yBQr41qT2jp90=; b=0wlrSk0gawOJ1OGCC0UM+tgNJuLshqScPFhWytomLfDy5N+rOu55wFHqf28gl/L3Tj IOWr7hPL/04dB7ZJUaKrXL8deZk2XcbG1BJtlt6mrC+JQLEUvdHSs+MbvPfGn7QhXE7k JP6wYTPNWERT5Qeg1msMAtgV4BllhvZ3P6x7Kp3GiHFwA+XqpxqHGxrzIgISNO93g8cI tIA0qBV4MItfe9T+PjVnU1kLryULqAjS97MhbgM6dz0wIowci85uNE3yp0O6ZsymAaiM 3RfdRYlGdQjRD9IyvsCZKTvvkVzNFMZv9I0Nz2i00EGgPrYioJ+DWfODpUJ614++D2yT NDKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:cc:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=cXplAobSbBrzVS7Nb2tqfVIqUhG2B3yBQr41qT2jp90=; b=IZv7xC2EfFtyLAcrdeEsbfWcGJ8MWll6AM14P7DioWz7uApzadQdBzJOtF6bRyTisd 1kLLNvdYTjvg5MY0J6av6WiSxN6VIHH6Fks3/3siFFSzIpSNKgYaSk7ygtUMgqVB0BjD 8Q8W7c1Kd9PTXF/zFcNgAkdcR/BQ1L1yYHevcxUrdSc/xw+j8RkJKeaUVuNa1plCVWbk ngyZPG9qPeqk2s1Fd4qIgBvRicCEl1RnHIQkRAJf2IJZ0vI9qT3qNVYODhmdneX5lJ3T PYbsNuZiMNM2T53JxF4YCSuPXs84UbFO+qtEv93fitTtYKSF1WVkE9IIMiViG6hCGGKJ WExw== X-Gm-Message-State: AD7BkJI5/wF4grgSQ3aJk3DGfcSQugXeaAU1fSoWq0G7UHd1eX5LyN+YPg6KndaiC0VPPg== X-Received: by 10.28.128.80 with SMTP id b77mr21560671wmd.42.1458657886581; Tue, 22 Mar 2016 07:44:46 -0700 (PDT) Received: from [192.168.2.42] (79-66-130-177.dynamic.dsl.as9105.com. [79.66.130.177]) by smtp.gmail.com with ESMTPSA id w125sm17731173wmw.18.2016.03.22.07.44.44 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 07:44:45 -0700 (PDT) Subject: Re: [PC-BSD Testing] nspluginwrapper not found following installation of linux-c6-flashplugin References: <56E99B05.10004@pcbsd.org> Cc: emulation@FreeBSD.org To: testing@lists.pcbsd.org From: Graham Perrin Message-ID: <56F15A5C.2020208@gmail.com> Date: Tue, 22 Mar 2016 14:44:44 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E99B05.10004@pcbsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2016 14:44:49 -0000 On 16/03/2016 17:42, Kris Moore wrote: > On 03/15/2016 06:46, Graham Perrin wrote: >> line 550. > nspluginwrapper is a separate package I believe. Try installing it directly. cc emulation@FreeBSD.org (named at ) Please, can we make nspluginwrapper a dependency of linux-c6-flashplugin11? If not a dependency, then can we improve the introductory text? It currently reads: > Message from linux-c6-flashplugin-11.2r202.569: > If this is your first time installing flash each user must run: > nspluginwrapper -v -a -i An improved introduction might read: > Message from linux-c6-flashplugin-…: > If this is your first time installing Adobe Flash Player, you must > also install nspluginwrapper and then each user must run: > nspluginwrapper -v -a -i Thanks From owner-freebsd-emulation@freebsd.org Wed Mar 23 12:45:09 2016 Return-Path: Delivered-To: freebsd-emulation@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 D91FFADABB6 for ; Wed, 23 Mar 2016 12:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C36F6105D for ; Wed, 23 Mar 2016 12:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BF3BBADABB4; Wed, 23 Mar 2016 12:45:09 +0000 (UTC) Delivered-To: emulation@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 BEE21ADABB3 for ; Wed, 23 Mar 2016 12:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB7A8105B for ; Wed, 23 Mar 2016 12:45:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2NCj6QD026709 for ; Wed, 23 Mar 2016 12:45:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Wed, 23 Mar 2016 12:45:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: weh@microsoft.com X-Bugzilla-Flags: maintainer-feedback- mfc-stable9? mfc-stable10+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 12:45:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203630 --- Comment #34 from Dexuan Cui --- The bug is fixed in 10.2 RELEASE-p14, 10.3 and 11-CURRENT. The bug doesn't exist in 10.1. I think we can close the bug now. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-emulation@freebsd.org Thu Mar 24 06:38:17 2016 Return-Path: Delivered-To: freebsd-emulation@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 294E1ADB311 for ; Thu, 24 Mar 2016 06:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 145DC1629 for ; Thu, 24 Mar 2016 06:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13B4CADB30E; Thu, 24 Mar 2016 06:38:17 +0000 (UTC) Delivered-To: emulation@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 13515ADB30D for ; Thu, 24 Mar 2016 06:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0442C1628 for ; Thu, 24 Mar 2016 06:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2O6cGsH085571 for ; Thu, 24 Mar 2016 06:38:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 41543] [patch] [request] easier wine/w23 support Date: Thu, 24 Mar 2016 06:38:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dbn@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 06:38:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D41543 David Naylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #6 from David Naylor --- Added description based on comment 5 to: - https://wiki.freebsd.org/i386-Wine - https://wiki.freebsd.org/Wine The functionality as originally intended can be achieved through the binmiscctl(8) utility.=20=20 @gerald: any benefit of providing this functionality in a port that then ru= ns during launch (i.e. rc.d)? @jbeich: thank you for the explaining binmiscctl(8), I've used it before wi= th Poudriere to create arm packages, but never realized it was more generic th= an that. :-D --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-emulation@freebsd.org Thu Mar 24 09:13:11 2016 Return-Path: Delivered-To: freebsd-emulation@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 926D1ADAFE5 for ; Thu, 24 Mar 2016 09:13:11 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 77F2D1C7D for ; Thu, 24 Mar 2016 09:13:11 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 72CBEADAFE3; Thu, 24 Mar 2016 09:13:11 +0000 (UTC) Delivered-To: emulation@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 72440ADAFE2; Thu, 24 Mar 2016 09:13:11 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 F314C1C7B; Thu, 24 Mar 2016 09:13:10 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id q73so27165416lfe.2; Thu, 24 Mar 2016 02:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc; bh=+8UgkckhN4nOz8pEDZmO1iOKlvwSY89Ce4BxooT/q5k=; b=w388It2Gw30JPCwC8qeozRQ07skxmM1knCeezpPHAXNKeF5Syo7Tw6aTGTpCmQhSO/ 7aP4nVH2xQK+qxXMj9YTk2QS8wqKJna3cIo74uj0Lw5K6eUvpFdSXZaVp51JqR1o0q2B sNeXfnaXZpCOWKpmYX/mikdLOWb65Hk/tFwFU7j5aXReY4qTYYBpbpkCPHOdwUzoCRmw 1oKLeHaayGTqV5xvuGyW0gfFlWCYFcp0imGwlfcUTbJEGNiXEDbp+Enuih96SFZ9KHJ3 S/IktEvNFoutg9k+vd9tqCE4ql+DdovZkXiD8wz8tjLpe2Kyv2oNeCVN2VNCB7fQ7ZgD nfmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=+8UgkckhN4nOz8pEDZmO1iOKlvwSY89Ce4BxooT/q5k=; b=A6vZ7Slhv2Uex2u3RuENeYva4UlpsvP6554vrYI3v7Pt20nNNZ8uOBt3GsPbP8pEd4 PNGXeEVZIWO1lFoVUnKsTjDllJWG+vhmDgqEnf336WpsncO2gjb/DcOjftkAQqAFG1E5 erksQSAJ+8FkNiOhK0Wf5oVc2Tgd68CwUdy6DMQkYlVfmma7ikZnwtwhoPXvvx+RKGHA Bfs9xR9PRI8b1XPsIlew/u0ynAKgB/a1tCDbA4GMY3b/k9xSbYX/VpoODNJbfNWjMdpP 3gN4e4SSgQAlo4cncLeY4hq26t14X9paQShaADl3tykUIX//rgjAdxjiJD2UF5wfi5bq ehjg== X-Gm-Message-State: AD7BkJIl3K9Wp5AlfCb0QwQ8ovcX0E9DKAfsjTJ4l92H5FBUaYDFKYJthA/nOtJO2RkzPUgLnvbNUPZbq8WTSA== MIME-Version: 1.0 X-Received: by 10.25.206.132 with SMTP id e126mr3073259lfg.20.1458810789189; Thu, 24 Mar 2016 02:13:09 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Thu, 24 Mar 2016 02:13:09 -0700 (PDT) Date: Thu, 24 Mar 2016 13:43:09 +0430 Message-ID: Subject: FreeBSD MachO File format, your comments on it. From: mokhi To: emulation@freebsd.org Cc: current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 09:13:11 -0000 Hi guys. I'm Mahdi Mokhtari (aka Mokhi between FreeBSD friends). I am working on adding Mach-O binary format to supported formats for FreeBSD. Not for emulations on first step, but as a native supported format just like a.out [or Elf] (though it can go in both ways too). There are good reasons to have Mach-O format support IMO. It's well/clear designed file format. Can supports multiple Arch by default (It's Fat Format). Because of its Fat Format support, it can even help porting/packaging easier for projects such as Freebsd-arm or others IMO :D. At end (even not among its interesting parts, maybe :D) point, it leads and helps to have OSX emulation support on FreeBSD. BTW, i've coded[1] Mach-O support for FreeBSD with helps of FreeBSD-ppl on IRC about various aspects of this works (from fundamental points of VM-MAP, to SysEntVec for Mach-O format) and with help of Elf and a.out format codes and mach-o references. It's in Alpha state (or before it) IMO, as I'm not sure about some of its parts, but I've tested a mach-o formatted binary with it and it at least loads and maps it segments correctly :D. (it was actually a simple "return 0" C Code, compiled in a OSX, if you know how can I force my FreeBSD clang to produce mach-o files instead of ELF I'd be happy to know it, and I appreciate :D) I'd like to have your helps and comments on it, in hope to make it better and make it ready for review. Thanks and thousands of regards, Mokhi. ============================== [1] https://github.com/m0khi/FreeBSD_MachO From owner-freebsd-emulation@freebsd.org Thu Mar 24 10:51:31 2016 Return-Path: Delivered-To: freebsd-emulation@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 39ED1ADB068 for ; Thu, 24 Mar 2016 10:51:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 263F318BF for ; Thu, 24 Mar 2016 10:51:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2207EADB066; Thu, 24 Mar 2016 10:51:31 +0000 (UTC) Delivered-To: emulation@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 1ED98ADB063; Thu, 24 Mar 2016 10:51:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF32B18BD; Thu, 24 Mar 2016 10:51:29 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.0.7] (cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id u2OApK1Y016713 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Mar 2016 10:51:23 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150] claimed to be [192.168.0.7] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: FreeBSD MachO File format, your comments on it. From: David Chisnall In-Reply-To: Date: Thu, 24 Mar 2016 10:51:15 +0000 Cc: emulation@freebsd.org, current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> References: To: mokhi X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 10:51:31 -0000 Hi, I=E2=80=99d slightly question the assertion that Mach-O is a = well-designed format. For example, it has a hard limit of 16 section = types, doesn=E2=80=99t support COMDATs and so on. OS X uses a load of = magic section names to work around these limitations. Note that a Mach-O image activator is relatively easy, but a Mach-O rtld = is far more complex. It might be possible to port dyld from OS X, but = as I recall it depends quite heavily on the Mach kernel interfaces. On fat binaries, note that the support in the file format is pretty = trivial. Far more support is needed in the image activator and rtld to = determine the correct parts and map only them. If you=E2=80=99re = interested in doing this work, then I=E2=80=99d recommend looking at = this proposed specification for fat ELF binaries: https://icculus.org/fatelf/ That said, I=E2=80=99m not totally convinced that fat binaries are = actually a good solution (unless you=E2=80=99re willing to go a step = further than Apple did and merge data sections) - NeXT managed very well = shipping fat bundles without using fat binaries and even had a special = mode in ditto to strip out the foreign architectures when copying a = bundle from a network share to a local filesystem. Persuading clang to emit FreeBSD Mach-O binaries is probably harder than = you think. It=E2=80=99s quite easy to persuade it that Mach is a valid = file format for FreeBSD, but there are a *lot* of places where people = conflate =E2=80=98is Mach=E2=80=99 with =E2=80=98is Darwin=E2=80=99 in = the Clang and LLVM sources. Finding all of these and making sure that = they=E2=80=99re really checking the correct one is difficult. Emulating OS X binaries may be interesting. NetBSD had a Mach / XNU = compat layer for a while. The problem here is that the graphics stack = interfaces on OS X are completely different from any other *NIX system = (as are the kernel interfaces for sound), so the most that they could do = was run command-line and X11 Mac apps - not especially useful. Actually = emulating OS X apps will need far more than that - OS X ships with about = 500MB of frameworks, many of which are used by most applications. The = GNUstep project is undermanned and hasn=E2=80=99t been able to keep up = with the changes to the core Foundation and AppKit frameworks, let alone = the rest. David > On 24 Mar 2016, at 09:13, mokhi wrote: >=20 > Hi guys. > I'm Mahdi Mokhtari (aka Mokhi between FreeBSD friends). >=20 > I am working on adding Mach-O binary format to supported formats for = FreeBSD. > Not for emulations on first step, but as a native supported format > just like a.out [or Elf] > (though it can go in both ways too). >=20 > There are good reasons to have Mach-O format support IMO. > It's well/clear designed file format. > Can supports multiple Arch by default (It's Fat Format). > Because of its Fat Format support, it can even help porting/packaging = easier for > projects such as Freebsd-arm or others IMO :D. > At end (even not among its interesting parts, maybe :D) point, it > leads and helps to have > OSX emulation support on FreeBSD. >=20 > BTW, i've coded[1] Mach-O support for FreeBSD with helps of > FreeBSD-ppl on IRC about various aspects of this works (from > fundamental points of VM-MAP, to SysEntVec for Mach-O format) and > with help of Elf and a.out format codes and mach-o references. > It's in Alpha state (or before it) IMO, as I'm not sure about some of > its parts, but I've tested a mach-o formatted binary with it and it at > least loads and maps it segments correctly :D. (it was actually a > simple "return 0" C Code, compiled in a OSX, if you know how can I > force my FreeBSD clang to produce mach-o files instead of ELF I'd be > happy to know it, and I appreciate :D) >=20 > I'd like to have your helps and comments on it, in hope to make it = better > and make it ready for review. >=20 > Thanks and thousands of regards, Mokhi. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > [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-unsubscribe@freebsd.org" From owner-freebsd-emulation@freebsd.org Thu Mar 24 12:05:41 2016 Return-Path: Delivered-To: freebsd-emulation@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 AA656ADCFC1 for ; Thu, 24 Mar 2016 12:05:41 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE1516E1 for ; Thu, 24 Mar 2016 12:05:41 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 88956ADCFBF; Thu, 24 Mar 2016 12:05:41 +0000 (UTC) Delivered-To: emulation@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 88180ADCFBD; Thu, 24 Mar 2016 12:05:41 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (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 2BA6B16DF; Thu, 24 Mar 2016 12:05:41 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lb0-x234.google.com with SMTP id qe11so28455723lbc.3; Thu, 24 Mar 2016 05:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=fcTalCEsxnGm4MY+ZS25r3ASiSBWtexJIif/AtgrLkk=; b=mhopUkYm3wtCUfgsALhU5NS1CmMdIM2ilzhTiVd0pirIOgmdBLmmEjGTNRqPbu5t5U vnUWoDYpcM1OcDyVFzfMaW20KS5Y25MfoaovW+uxusKzQcL58dIXnwrsLNUiUrKWojYl MbuwA1I/ml+Wi+DoP2CNXGQLGqQrQNZwFQaVlb9Yn0NjQO6CuWVQsEG3mz+BvRdsxAJS nmSY6lCzfrlbdHocvbWWIhDvuBGFqmHVJ0QNsdVo+LcZeQB/xFO2xvl7AdnGHyhUHwH1 ILpLRkHTpR5QnsmRmdIrrqjKWnbCj7nBTaNFvCC+5g2rIO1weyn3XkF7/6ZvD36O3eiE UaLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=fcTalCEsxnGm4MY+ZS25r3ASiSBWtexJIif/AtgrLkk=; b=Mf6/vywopaXFtNZ1SjEXOKeoUbRk6dC/+eN7h/y9mrza+u6e2VKoMQPnTyV8N3XOPF pvY4MK6h/ZKc/cXC1K6cQu601BvWDfhaQUUTWy9Qla+zaZn3SUqXxNuRnPbiRVSDdq+t v7uU3OoSfLodpOx1nuR2JfNim4CxvdMJE9kPAw9IMgeBdTTfFyxpzQR6FoR6EoLDEim9 mymL7Q32pcVtA4iwkyU3UOjdbIy/gvYg5J++mwyYdbdOwD5HkhfzDxyDEM1czRt1XOQd CfjZUbFqET2JkzR3IDCROxOQw3J8QD7r4BrwUERGwzOejFlaZO3mayXEgP4e003CNMMe lkCw== X-Gm-Message-State: AD7BkJIcGesNKMc0BzGqi7ckstsq3NSSd89We0Q7I/Sd8Ys9h1E32OY3K33RdSHJxgaRRuvO/9AIv5wT2UMwbA== MIME-Version: 1.0 X-Received: by 10.112.124.137 with SMTP id mi9mr3258685lbb.112.1458821139002; Thu, 24 Mar 2016 05:05:39 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Thu, 24 Mar 2016 05:05:38 -0700 (PDT) In-Reply-To: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> Date: Thu, 24 Mar 2016 16:35:38 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: David Chisnall Cc: emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 12:05:41 -0000 Hi. I'm agreed with point you told about improvements we can do for fat format (or more). And I'm ready to do them (with your helps, sure :D). But we need short steps and more of them (a local proverb :D) IMO. If we completely do this image activator, then we can have 2 sub plans for OSX emulation and/or fat data segment redesign. I saw netbsd's way of mach-kernel/darwin emulation. They have been stopped in porting/simulating quartz (the reason described lack of developers' interest IIRC), and that relates to OSX emulating. If we wanna complete/continue that way, first we need this image activator, what's your opinion about it? BTW, in brief I believe we can have strategies to do (sub plans) and it worth (at least for me, because I'll learn good things). What's your opinion? Best wishes, Mokhi. From owner-freebsd-emulation@freebsd.org Thu Mar 24 12:21:36 2016 Return-Path: Delivered-To: freebsd-emulation@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 240C3ADB2A3 for ; Thu, 24 Mar 2016 12:21:36 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0F96C1E67 for ; Thu, 24 Mar 2016 12:21:36 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0899BADB2A1; Thu, 24 Mar 2016 12:21:36 +0000 (UTC) Delivered-To: emulation@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 057DAADB29F; Thu, 24 Mar 2016 12:21:36 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B6BDA1E65; Thu, 24 Mar 2016 12:21:35 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.0.7] (cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id u2OCLS6g017173 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Mar 2016 12:21:33 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150] claimed to be [192.168.0.7] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: FreeBSD MachO File format, your comments on it. From: David Chisnall In-Reply-To: Date: Thu, 24 Mar 2016 12:21:23 +0000 Cc: emulation@freebsd.org, current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> To: mokhi X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 12:21:36 -0000 On 24 Mar 2016, at 12:05, mokhi wrote: >=20 > Hi. >=20 > I'm agreed with point you told about improvements we can do for fat > format (or more). > And I'm ready to do them (with your helps, sure :D). >=20 > But we need short steps and more of them (a local proverb :D) IMO. > If we completely do this image activator, then we can have 2 sub plans > for OSX emulation and/or fat data segment redesign. FatELF binaries do not depend on this work. Fat Mach-O binaries do, but = the pain of working with Mach-O is not worth it (talk to some of the = Apple toolchain team some time about how much effort Mach-O is - I=E2=80=99= m glad it=E2=80=99s their problem and not mine). I don=E2=80=99t believe that the work to support FatELF would be = particularly large. The format is pretty simple (basically a small = header that tells you where within the binaries to find the real ELF for = your architecture). Teaching all of the associated bits of the = toolchain (especially debuggers) about it is a lot of tedious work, but = not particularly hard if someone is motivated to do it. Teaching clang = and lld to produce fat binaries as part of normal ELF compilation would = be a bit more work. > I saw netbsd's way of mach-kernel/darwin emulation. > They have been stopped in porting/simulating quartz (the reason > described lack of developers' interest IIRC), and that relates to OSX > emulating. That wasn=E2=80=99t the only reason. The XNU kernel interfaces for = graphics and sound are large and mostly undocumented (at least, = publicly) and change between OS X revisions. Even if you implement = *all* of this, then you=E2=80=99d still need most of an OS X userland to = be able to run OS X applications. This would involve violating the OS X = EULA unless you ran it on a Mac and the only thing that you=E2=80=99d = then be able to do that you couldn=E2=80=99t with OS X is run FreeBSD = binaries in the background or in XQuartz (which you can already do = pretty well with xhyve on OS X). If you are willing to violate the OS X = EULA then you should probably just run OS X in a VM. > If we wanna complete/continue that way, first we need this image > activator, what's your opinion about it? >=20 > BTW, in brief I believe we can have strategies to do (sub plans) and > it worth (at least for me, because I'll learn good things). What's > your opinion? As a learning exercise, I definitely encourage you to continue. Writing = a new image activator will teach you a lot. If you want to do some of = the rtld work to make a partial Mach-O rtld then you=E2=80=99ll learn = even more. I just don=E2=80=99t think that the end result will be = something that=E2=80=99s particularly useful to anyone. David From owner-freebsd-emulation@freebsd.org Thu Mar 24 12:34:47 2016 Return-Path: Delivered-To: freebsd-emulation@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 DA58EADB59D for ; Thu, 24 Mar 2016 12:34:47 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BC8421609 for ; Thu, 24 Mar 2016 12:34:47 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B571CADB59A; Thu, 24 Mar 2016 12:34:47 +0000 (UTC) Delivered-To: emulation@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 B27FCADB597; Thu, 24 Mar 2016 12:34:47 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 2DD601606; Thu, 24 Mar 2016 12:34:47 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lb0-x236.google.com with SMTP id qe11so28919058lbc.3; Thu, 24 Mar 2016 05:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=gwsNT1Gf9XJUG60CS8KcFAEMHmEs7MLfvE5JcR6LOTs=; b=yWw4+ZOzFnTJauoJHboHi8Fw0q48Bx7k5Fs3VOSYM5YDQgVO33sazd6NIcehByN4ZT ZaQ+9GeMwABZaW03FrgcbzStfofUTrNZ4RJ2oQiSd11CIA7s/wcbIPPVA5c2B9gZwbVT 8sDrg2N7T9bhulW1p/sWUudF+r7TdWnTaAPB+nPKsyQQFoxNLxCaOZ3gA6/a6FgDYibR tYsxi9mfCYvC48f7Sa1mQA8cIHrRWTCj81oV8hfmy59nAH+kAEuozdBVNMpBrK8KKU3g LXxjiwlKLGG9JYhbZYYrgyitkGxY//eE7lR1HUWTauFKC2zGCzRvUGRCY4reT7yVLByi r+lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=gwsNT1Gf9XJUG60CS8KcFAEMHmEs7MLfvE5JcR6LOTs=; b=MlaX/ljuCLqPng0AQHLCsGbxjbMH98U3FUvSpiAubBrCs2jf8vG65Ovn4fzbnomqOu Zj/MT/Be+/ZGHNE5YwwOtWtQLn0v5gTbDoIhyFup+/9t/+Q0c2SqSfPWfAP+OZClSRP3 Cn2oE7HenYERjdnetODxh46DULcGrjmbKVMdtMmdsA8Ygh86TIh/u7lizQF8CpPzftta IOXnj4YQLz+25I2Gzpnt010pD4yhweT3abX4eB80i+dcLe7no4bS0UqV9BRQvskULV61 82MvcPQV5bizr/2iDpuxZgbI5ri+21mq2ew24JLcGrPMFDR1GNjXuZ5lhttLvC0xZE3c shPA== X-Gm-Message-State: AD7BkJI65goysap5/0ZCXXxi3QjNFQ27HeRoE0Z1BhTyurs3ZoyK/6d4nlFuV3tRj2nA4XzkQp5e/AXh32Tjgg== MIME-Version: 1.0 X-Received: by 10.112.124.137 with SMTP id mi9mr3313004lbb.112.1458822885315; Thu, 24 Mar 2016 05:34:45 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Thu, 24 Mar 2016 05:34:45 -0700 (PDT) In-Reply-To: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> Date: Thu, 24 Mar 2016 17:04:45 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: David Chisnall Cc: emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 12:34:48 -0000 Then you think the better idea is porting FatELF to FreeBSD, rather than working on MachO? From owner-freebsd-emulation@freebsd.org Thu Mar 24 12:45:13 2016 Return-Path: Delivered-To: freebsd-emulation@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 3DD39ADB8D5 for ; Thu, 24 Mar 2016 12:45:13 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6161C32 for ; Thu, 24 Mar 2016 12:45:13 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 18662ADB8D3; Thu, 24 Mar 2016 12:45:13 +0000 (UTC) Delivered-To: emulation@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 15473ADB8D1; Thu, 24 Mar 2016 12:45:13 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (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 9E2D91C2F; Thu, 24 Mar 2016 12:45:12 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lb0-x22d.google.com with SMTP id qe11so29093945lbc.3; Thu, 24 Mar 2016 05:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tTwTAyqkPSRxnkdlccfrdd2fn2tn0UGwi0cAr6b/Gj4=; b=qQr20Vr7gbQD6xVAFZF/nY5QIiZ2ufkhvxVfbkcBX7x6qlnPXFXoR3L747uTXHXq+e QZErKBzSCPSsbaMgwBg3TNla6hPxdeefRBagrIbXksn1HWYw2mYQCnt2g/CijUms8VxZ /tNm9kUZOX7JelgE2Gd05PD2rSKx0FLiXYmOibF8svjek68SwDccxiJPFeAqgs2fMJDl 0Aab2zM7zAIwhltpqplQzMLjoKPnJnPFIhPKKQzGYDhp8EB6x+HNzZ5nVTFEsMikoGRI lD0bojAm8114MdPi851mZyo0M1sxvDtCEvrkAEPM1vzjLZsesljvxXq+shGYF+h5DyMA JjMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tTwTAyqkPSRxnkdlccfrdd2fn2tn0UGwi0cAr6b/Gj4=; b=JKA242SGlNhY5bgwjqjNiAjmA3/MZExg4W0GRWGNHD+xx6q87DeerkJwycRzTJMD7F Sm4Wb1ByeLE/l827AVe6xlnLXCTIUk1n4FVeuU58XIg1apj+Bh2XCYe/ZXpfktYDPiQ6 +stBBZhTx6FcC9/s30+RJVPyJ2Y7HW8+s6V2mTjr3YDL5lcNvb3IerW3JcCUTL87yKun RSE6GeI5q5L0hl3KADXxbkr2l55Ng60DA7eUAZpOiRiACBIcLOBJhjq0U2LsjNiaPMZX 6Q5K4WtnCH3wavpszpnbC1h1yO3QeggxzcPm7k4sUK82cZ9FpLiI66o+IweSbcVTQPni xkcw== X-Gm-Message-State: AD7BkJL+D3vVsKXDJfZr45S6/MEuSEQdzCZeHO0WntIWsJDaeAbQGIjij/lYsIG7+YRM/xJGgzKOkvwvJVInaQ== MIME-Version: 1.0 X-Received: by 10.112.172.68 with SMTP id ba4mr3274890lbc.86.1458823510885; Thu, 24 Mar 2016 05:45:10 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Thu, 24 Mar 2016 05:45:10 -0700 (PDT) In-Reply-To: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> Date: Thu, 24 Mar 2016 17:15:10 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: David Chisnall Cc: emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 12:45:13 -0000 On 3/24/16, mokhi wrote: > Then you think the better idea is porting FatELF to FreeBSD, rather > than working on MachO? > If yes, I am ready to put dedicated time on it :) [as I did for MachO] But before that, you think, is there any changes we can/should make on it? * I read something about FatELF when I was doing research for macho :) From owner-freebsd-emulation@freebsd.org Thu Mar 24 13:43:07 2016 Return-Path: Delivered-To: freebsd-emulation@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 BB24CADBFF8 for ; Thu, 24 Mar 2016 13:43:07 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9CB5D159E for ; Thu, 24 Mar 2016 13:43:07 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9BFD7ADBFF7; Thu, 24 Mar 2016 13:43:07 +0000 (UTC) Delivered-To: emulation@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 9B788ADBFF5; Thu, 24 Mar 2016 13:43:07 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 5F578159C; Thu, 24 Mar 2016 13:43:07 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id r187so61458497oih.3; Thu, 24 Mar 2016 06:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fhbl+eNyCKGKIR5xBHUORGC+QeR2PY92Oq9G+q5nXV0=; b=MCbN7/Ntv9crj1TxWD3RmqdJpfU860oTfsV039zdo9a0EYN2BkvuAdb1johbXLz3ht RfOrFaUiv7Q3elvOK1mrOEMLvYCIyjIxvywlECH09b4Tn2lh2zwU5hik+7HzPtKVdgLr /5SlQcNdhckoyGHBajaUfPBMhKSyd89Im2xgItryzoYpGpapUbCeBjD7UhFz0qZbBkbV 1QWVo38DZrfHZtX2a7S//8+ydM1dIaYIfGgzgcWupsiO9ZonjEmmjXakIPKfMh9ktql0 8QZkSrFFuPUBhNm7sEfFadR9bourK0ae7/crJq//TsqNyOSsZJcLpmVmugCtgI+7nqFk n8Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fhbl+eNyCKGKIR5xBHUORGC+QeR2PY92Oq9G+q5nXV0=; b=gUuX6jALXRCN9jKDKdg4LsrqmNlAdRcgM3NiU4wgsMDG3fUfW5UQRgyhS3TSnTEvoU EpYeCKQ2FQEehMLDY06Pq3NYKb0p5zZ6gKdNi0DE16rCWxcadHLm6XMUv6bgGnfYZB8u iimgQi3eRKto0vhjF/OLSFiqIFY+MM8APIOhlMw7zjCbCPQTDxFuasc1AL0sdqfTPc8K 0l5uJlz1RKzo2fA6afPiN1nbuPbwfWLIJJZuksiWG9EuFF/I24KVeXPvdB7CzkilkxXy JPB8Tulz/MR2Ysq/4eb4W56TVvW8zjd8/pxT22t3dchnn4GeDbyXn8CM2AZ4zrZ4+Y0s iuyQ== X-Gm-Message-State: AD7BkJLMlQYmwFLRGKFGTwKIWsuukq4SFAC1ZLnYAsSB3tIIYJedUnN+m7lEHKEOVPjUaWldWC5uiZhAfQXYeA== X-Received: by 10.202.57.133 with SMTP id g127mr4142000oia.120.1458826986439; Thu, 24 Mar 2016 06:43:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.38.168 with HTTP; Thu, 24 Mar 2016 06:42:46 -0700 (PDT) In-Reply-To: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> From: Damjan Jovanovic Date: Thu, 24 Mar 2016 15:42:46 +0200 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. To: David Chisnall Cc: mokhi , emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 13:43:07 -0000 ELF itself is a disaster. Symbol lookup in ELF is process scoped, not library scoped like Windows's PE and Mac's Mach-O, so same named symbols from different libraries in the same process (loaded through any number of levels of indirection) can and do clash, resulting in memory corruption. This is why hacks like symbol versioning, RTLD_DEEPBIND on GNU's libc and -Bdirect on Solaris were invented. We suffer from this problem badly on FreeBSD, as Clang's C++ standard library and GCC's standard library don't have fully compatible ABIs, so when both are loaded into the same process and the incompatible C++ features are used -> memory corruption -> crash. Eg. compile Apache OpenOffice with GCC on a system built with Clang, and you'll see even the unit tests crash. This is why I am personally interested in alternatives like Mach-O. Damjan On Thu, Mar 24, 2016 at 12:51 PM, David Chisnall wro= te: > Hi, > > I=E2=80=99d slightly question the assertion that Mach-O is a well-designe= d format. For example, it has a hard limit of 16 section types, doesn=E2= =80=99t support COMDATs and so on. OS X uses a load of magic section names= to work around these limitations. > > Note that a Mach-O image activator is relatively easy, but a Mach-O rtld = is far more complex. It might be possible to port dyld from OS X, but as I= recall it depends quite heavily on the Mach kernel interfaces. > > On fat binaries, note that the support in the file format is pretty trivi= al. Far more support is needed in the image activator and rtld to determin= e the correct parts and map only them. If you=E2=80=99re interested in doi= ng this work, then I=E2=80=99d recommend looking at this proposed specifica= tion for fat ELF binaries: > > https://icculus.org/fatelf/ > > That said, I=E2=80=99m not totally convinced that fat binaries are actual= ly a good solution (unless you=E2=80=99re willing to go a step further than= Apple did and merge data sections) - NeXT managed very well shipping fat b= undles without using fat binaries and even had a special mode in ditto to s= trip out the foreign architectures when copying a bundle from a network sha= re to a local filesystem. > > Persuading clang to emit FreeBSD Mach-O binaries is probably harder than = you think. It=E2=80=99s quite easy to persuade it that Mach is a valid fil= e format for FreeBSD, but there are a *lot* of places where people conflate= =E2=80=98is Mach=E2=80=99 with =E2=80=98is Darwin=E2=80=99 in the Clang an= d LLVM sources. Finding all of these and making sure that they=E2=80=99re = really checking the correct one is difficult. > > Emulating OS X binaries may be interesting. NetBSD had a Mach / XNU comp= at layer for a while. The problem here is that the graphics stack interfac= es on OS X are completely different from any other *NIX system (as are the = kernel interfaces for sound), so the most that they could do was run comman= d-line and X11 Mac apps - not especially useful. Actually emulating OS X a= pps will need far more than that - OS X ships with about 500MB of framework= s, many of which are used by most applications. The GNUstep project is und= ermanned and hasn=E2=80=99t been able to keep up with the changes to the co= re Foundation and AppKit frameworks, let alone the rest. > > David > >> On 24 Mar 2016, at 09:13, mokhi wrote: >> >> Hi guys. >> I'm Mahdi Mokhtari (aka Mokhi between FreeBSD friends). >> >> I am working on adding Mach-O binary format to supported formats for Fre= eBSD. >> Not for emulations on first step, but as a native supported format >> just like a.out [or Elf] >> (though it can go in both ways too). >> >> There are good reasons to have Mach-O format support IMO. >> It's well/clear designed file format. >> Can supports multiple Arch by default (It's Fat Format). >> Because of its Fat Format support, it can even help porting/packaging ea= sier for >> projects such as Freebsd-arm or others IMO :D. >> At end (even not among its interesting parts, maybe :D) point, it >> leads and helps to have >> OSX emulation support on FreeBSD. >> >> BTW, i've coded[1] Mach-O support for FreeBSD with helps of >> FreeBSD-ppl on IRC about various aspects of this works (from >> fundamental points of VM-MAP, to SysEntVec for Mach-O format) and >> with help of Elf and a.out format codes and mach-o references. >> It's in Alpha state (or before it) IMO, as I'm not sure about some of >> its parts, but I've tested a mach-o formatted binary with it and it at >> least loads and maps it segments correctly :D. (it was actually a >> simple "return 0" C Code, compiled in a OSX, if you know how can I >> force my FreeBSD clang to produce mach-o files instead of ELF I'd be >> happy to know it, and I appreciate :D) >> >> I'd like to have your helps and comments on it, in hope to make it bette= r >> and make it ready for review. >> >> Thanks and thousands of regards, Mokhi. >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >> [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-unsubscribe@freebsd.or= g" > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" From owner-freebsd-emulation@freebsd.org Thu Mar 24 13:56:07 2016 Return-Path: Delivered-To: freebsd-emulation@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 CF871ADC29B for ; Thu, 24 Mar 2016 13:56:07 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BADDB1D3A for ; Thu, 24 Mar 2016 13:56:07 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B3AF2ADC299; Thu, 24 Mar 2016 13:56:07 +0000 (UTC) Delivered-To: emulation@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 B2ECBADC297; Thu, 24 Mar 2016 13:56:07 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 888541D37; Thu, 24 Mar 2016 13:56:07 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.0.7] (cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id u2ODu4NK017717 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Mar 2016 13:56:05 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host cpc91230-cmbg18-2-0-cust661.5-4.cable.virginm.net [82.1.230.150] claimed to be [192.168.0.7] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: FreeBSD MachO File format, your comments on it. From: David Chisnall In-Reply-To: Date: Thu, 24 Mar 2016 13:55:58 +0000 Cc: mokhi , emulation@freebsd.org, current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> To: Damjan Jovanovic X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 13:56:07 -0000 On 24 Mar 2016, at 13:42, Damjan Jovanovic wrote: >=20 > ELF itself is a disaster. Symbol lookup in ELF is process scoped, not > library scoped like Windows's PE and Mac's Mach-O, so same named > symbols from different libraries in the same process (loaded through > any number of levels of indirection) can and do clash, resulting in > memory corruption. This is why hacks like symbol versioning, > RTLD_DEEPBIND on GNU's libc and -Bdirect on Solaris were invented. This problem is addressed by some of the work that Sony has done = recently that they are about to upstream to Clang/LLVM. > We suffer from this problem badly on FreeBSD, as Clang's C++ standard > library and GCC's standard library don't have fully compatible ABIs, > so when both are loaded into the same process and the incompatible C++ > features are used -> memory corruption -> crash. Eg. compile Apache > OpenOffice with GCC on a system built with Clang, and you'll see even > the unit tests crash. That shouldn=E2=80=99t happen, as libstd++ and libc++ have different = symbols (libc++ puts its symbols in the __v1 namespace). The problem = can come from mixing libsupc++ and libcxxrt, but that=E2=80=99s only an = issue if you have not built libstdc++ against libcxxrt. David From owner-freebsd-emulation@freebsd.org Thu Mar 24 14:26:28 2016 Return-Path: Delivered-To: freebsd-emulation@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 58E1CADCBF7 for ; Thu, 24 Mar 2016 14:26:28 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3B11313C5 for ; Thu, 24 Mar 2016 14:26:28 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3A71EADCBF4; Thu, 24 Mar 2016 14:26:28 +0000 (UTC) Delivered-To: emulation@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 3A01DADCBF3; Thu, 24 Mar 2016 14:26:28 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 B383613C3; Thu, 24 Mar 2016 14:26:27 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lf0-x22e.google.com with SMTP id q73so33365061lfe.2; Thu, 24 Mar 2016 07:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=x6ghGwrsxNHhnE9Cjns1LN1JjlIvQ8QFnpGDc+FGIVU=; b=ef1L3xOTCLXnkgzCrhB/bE6wMJF2cBuZuiSc41md9oBr5Nt6wR/H4nyy7HgGWbl13/ sOWG77/xjFQu12ZcusMmK7G4hNLxp0D5LL+jTs1n3zjUaFSJ/XMFTsvvp+wgj1XJA415 5VoSoQCxDQd1EBNpxZQUWOtu12ay3c2dGN0Ctu8EYZy9xanG2bZlDYXokosnfb8O8lWb YuSY0dgSCfu7FPTSOte3lGnRF72sP7VC56d3JP0z8fxNErTsOSFbQf/D8boHCmyT8nc7 WE1O0YWlA41FKzJWpEzEVRxA9iQOe8xjQfZED8MZGxZX28NDoaJaDeIDXHlhC6lwSaX3 JL6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=x6ghGwrsxNHhnE9Cjns1LN1JjlIvQ8QFnpGDc+FGIVU=; b=cqgGHVDRpF1KHwmoPi3YCrz5c2gPYRX4+ZoLBNPP3oDJBWAb6RahBSnWo2/4iTjZhE xBi6OkaCYTZOGXZxSAuQ2zxbLOdxfRTBe9Z2Q1dbGgKjwCng64gDM/gfgMM2WxyLCe13 kZnh0SMzqlDA5p5z15mqxUdfsuwMdEySmBpdu7yHGt0AlhpDc/8tqxM2ZPfkSDo+1M25 XnXH7FV5asoK5J3RJOaAAh0c9wnyF/0HHjNmn3/GJ4bTluidBzgLPuo+RBJkGKUqnJpq 3pnR7YeTzactsFZ9sUgN3B8QybNWQfR5+SBMy35EdVmcmMW/kGoilYOVyPmAMH1Pbmnv DuPg== X-Gm-Message-State: AD7BkJITB9+2YDqciDfdIE15ibZKoO4QJbHeqYJ0Ylmkd+xWivURVT1F97B/rqd6rSRBXl3XRiEDl0hIheKTUQ== MIME-Version: 1.0 X-Received: by 10.25.206.132 with SMTP id e126mr3733173lfg.20.1458829586035; Thu, 24 Mar 2016 07:26:26 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Thu, 24 Mar 2016 07:26:25 -0700 (PDT) In-Reply-To: <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> Date: Thu, 24 Mar 2016 18:56:25 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: David Chisnall Cc: Damjan Jovanovic , emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 14:26:28 -0000 So, I'll try to port FatELF as well as MachO. Choosing the better one is up to you ;) All opinions/idea are welcome and I appreciate. Best wishes, Mokhi. From owner-freebsd-emulation@freebsd.org Thu Mar 24 19:00:04 2016 Return-Path: Delivered-To: freebsd-emulation@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 E34B4ADB383 for ; Thu, 24 Mar 2016 19:00:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C3F4D1DC1 for ; Thu, 24 Mar 2016 19:00:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BCE0CADB381; Thu, 24 Mar 2016 19:00:04 +0000 (UTC) Delivered-To: emulation@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 B9DE1ADB37E; Thu, 24 Mar 2016 19:00:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (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 79CBE1DBE; Thu, 24 Mar 2016 19:00:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x22e.google.com with SMTP id ig19so18365407igb.1; Thu, 24 Mar 2016 12:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=/oo5NqmxELG0K3OZRERn2YHd3FFnDw1dy6ubphx2vGY=; b=dfciuIycu+wo0wfKDNCsTiE3fIVUb4bx/K8aSWo2Tif0Cj/G1/hh/XbX/TbwBfafJ6 ncxO7Z87rS+olie8QTRTcGwCw4HO71m2EVCJ4P95c977iBMeJWfKxMQMBGl7FD81OSIp 2ZKFpEiNiwlX3eHQ3jz15UfrXzADWDEFUjh3ykNe4p9vhsLl+RJusEKUdFqCyczRJDWG TndSBPbQEZ2ugl0wMKqZ59gFuxKL/EA8CTOXWrwCXiR4K+ygrkk+2hkddrlbWa+ft5mf AUdgkkVSvWqU/ysht551V1JtsHH0X01y0Ru5KtavjRECczIzD8uPoRECCtw3fTxoGqbq SHWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=/oo5NqmxELG0K3OZRERn2YHd3FFnDw1dy6ubphx2vGY=; b=Cm8bf2Jx6S3Eya441BsdVo/oypypQklRTxKKUWgW6ty232XfSONNdc/Pk2fE/xXTqf npIb7K/Q0trlplrV3p0Pxj5Pu+9wmXZD69bt7nWK4XZCgVrBCFlsyg3YlVFbFFSKQU+F gyQD3SEDEEC2mmhrt+8M2KbuilLH1OC39vXAzTvg7LRvjuGRx8szGleVAS+l5xhKeDBo lIMqmXoHITFolKgX5p6RheFJsCmxD6ihmSZM61H1Pgh1LOzzcKC3YOkekFRvntXHQmHx 5D8OdmWLgzJyRX6yeI/tE8ZAZYvKbm/wkJLqo8RKaxnNdth/WdV9L7n547vo8vnb5V1H 7ubg== X-Gm-Message-State: AD7BkJLHqcgS0egrSrDtJpyPC+pgeLXmf/CEu1jA/atxMoolFsseY7QOO9H86rUG/8sWByZdYH6/FhCJgVgZBg== MIME-Version: 1.0 X-Received: by 10.50.157.39 with SMTP id wj7mr30109358igb.61.1458846003797; Thu, 24 Mar 2016 12:00:03 -0700 (PDT) Received: by 10.36.14.19 with HTTP; Thu, 24 Mar 2016 12:00:03 -0700 (PDT) In-Reply-To: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> Date: Thu, 24 Mar 2016 12:00:03 -0700 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: Adrian Chadd To: mokhi Cc: David Chisnall , Damjan Jovanovic , emulation@freebsd.org, "current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 19:00:05 -0000 +1, get mach-o up, see if we can twist other people to work on the other missing bits to run apple stuff on freebsd. :P -a On 24 March 2016 at 07:26, mokhi wrote: > So, I'll try to port FatELF as well as MachO. > Choosing the better one is up to you ;) > > All opinions/idea are welcome and I appreciate. > > 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-unsubscribe@freebsd.org" From owner-freebsd-emulation@freebsd.org Fri Mar 25 15:43:29 2016 Return-Path: Delivered-To: freebsd-emulation@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 4BA13ADD470 for ; Fri, 25 Mar 2016 15:43:29 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD9A1F3E for ; Fri, 25 Mar 2016 15:43:29 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 23AC4ADD46D; Fri, 25 Mar 2016 15:43:29 +0000 (UTC) Delivered-To: emulation@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 22FE2ADD46B; Fri, 25 Mar 2016 15:43:29 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 9DFCF1F3B; Fri, 25 Mar 2016 15:43:28 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id d82so57163671lfe.3; Fri, 25 Mar 2016 08:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=LZEMj49FWO8HoMJy4cghaH7ao5kJeQPnaGIAaI2DG/E=; b=lMTnJRJf+b5Abbn7HQJ+rmoa+frO+Np+8v3DFsopPyRDtc66jv+9zd+Jzh5sEL6D4n eQj50I4LPNPDVVcito93mLqlsh7UcPHPJRVk2KhltPD/YjU8WwaCQpYR+6nVrF6RESCB SSibwYGrFfJKsunWkH9ZXPEyzXJj1hPxJILcHTKxSrjtikNzXZWM3wc0xpubeYfEmJbZ +aJIySDXqGDX5Yb/UJAvq9vnql15EAsT0mK0KmSz4RgdyxS5gqLPFcaLL5b4fnAeckWs y23j37wfcgQAzuUAcmdEHMN8Q9RWuwyc6EhO/LSDXfjiqC4Gw7HXZlUtfqPK7GqBOyyE gb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=LZEMj49FWO8HoMJy4cghaH7ao5kJeQPnaGIAaI2DG/E=; b=jBrNHcCmlCZdKdESxQC9RcyLwfyA4V8NGcyUV/VdHOA2vTWTI8IiHLXnb0QqeptMuh GoyIoG8m1WcjI5MHsgMK/8aict++vHChC8jGtyRiFSf+M49+PWGyrg+X04ioSmeVK7BA 9K2rwDcAnmKpL8iRIcxMBvhNSJPwdJc80T8igBP6lfG9Ec7L7s8o0Qalgr2qtaRfVS89 NotoMpbf8559U9vxlzkU02wCJTR1RrjxUjGvkb3ofTl9FRRZtPFXpJIbRry+DLjOc2T6 msEnv7viEEQb0ARGdkM77+Il1ia75i4TLGc7p8ovQ5TkN8E8485oIXgjOzDjq1RiMWzb 2i0w== X-Gm-Message-State: AD7BkJJOnV9SATKkYPRwpHVk1RGZ7GvIZKV3IFDbu34NamU3w0hP3/e+/zaRurQLkFQBCYMZQ9Ph8+n877SCGw== MIME-Version: 1.0 X-Received: by 10.25.138.7 with SMTP id m7mr6118202lfd.109.1458920607016; Fri, 25 Mar 2016 08:43:27 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Fri, 25 Mar 2016 08:43:26 -0700 (PDT) In-Reply-To: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> Date: Fri, 25 Mar 2016 20:13:26 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: Adrian Chadd Cc: David Chisnall , Damjan Jovanovic , emulation@freebsd.org, "current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 15:43:29 -0000 Adrian, thanks for your +1 :P So, what about EULA related things that 'David' pointed to? If this isn't really a big problem, I have no problem to continue on working on it, an FatELF both ;) From owner-freebsd-emulation@freebsd.org Fri Mar 25 18:33:23 2016 Return-Path: Delivered-To: freebsd-emulation@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 02AC8ADDC90 for ; Fri, 25 Mar 2016 18:33:23 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D5FE31D54 for ; Fri, 25 Mar 2016 18:33:22 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D558DADDC8C; Fri, 25 Mar 2016 18:33:22 +0000 (UTC) Delivered-To: emulation@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 D4D60ADDC8B; Fri, 25 Mar 2016 18:33:22 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 5A4A11D53; Fri, 25 Mar 2016 18:33:22 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id q73so56987274lfe.2; Fri, 25 Mar 2016 11:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=jDBDi71HXpO8Gb35sV/EhmrcCaHAqeO+CZdApqPG9Pc=; b=yR06jO6l/+6vDG0gxgICtq0Qt/82gH4BaBWPMDYtBKnXLd9HLHfw4MTJYBmgfFtvSz QHR0zNz2HXylZph7BpTqxjkTeMt5P4SjUGW0pBQKVRbFoLJC2jG0CtdhbTbqbYClypDj I4Y1rm+oIyTBmcI0fFe39aH6OFkvNy023hbVLR2TvFRHdR7xSGN2mZXpsm1KJbekbppS lrq37ukigIcCimBxZQ/I5eR8fzogbxJ3HHhj8J2KSva0cteb3nDejug8zCeS5B/2C/U0 JoyaD60TqRlcFrADYK4myfC6XIBazP+tG0Hkhg97Cr79iq43jcyKu/z12PnAa6CHv1zB 2/kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=jDBDi71HXpO8Gb35sV/EhmrcCaHAqeO+CZdApqPG9Pc=; b=Bh3J1mnh3bUaVjHEwsncMI9v4MigZfkMj/tgkUlAga94yg2p+jAWNrX02lHCeqIyj+ TyVs0Tjl+9pVGAYQN3uHsmYmuvC0i1BWcofe+Cub5TCmrP9YB+ircNH5Z1b8B+Cx+pYo LloJ6EKvjETgzdmyW2nCLKqa5JbeIT8SUUCWi3VA1Ic8oVQs3IGEB7jfXdb40fqo9fNJ DNNSDCBTBOI8w3LoySJ/5q+ftVfWr89gitsFts+BYoX72Tnq4D/CJix/n9wr70xENpOh gGKmvu5TYUpci4QU675//DuSenq++tw/9u5CxZHV4kkNSSthovz12dq7bBO/v5YqwvCS c4jQ== X-Gm-Message-State: AD7BkJJ0t2Xgj3HDAcvp+imUxFdZYeOnXmwZPVrLY+jYN0exKrsQRtPHzj4c3mmKnLyx5/Of17WOIpiqEEpw3w== MIME-Version: 1.0 X-Received: by 10.25.138.7 with SMTP id m7mr6360542lfd.109.1458930800737; Fri, 25 Mar 2016 11:33:20 -0700 (PDT) Received: by 10.25.139.68 with HTTP; Fri, 25 Mar 2016 11:33:20 -0700 (PDT) In-Reply-To: References: <7554521E-81AB-43DE-A7FC-A9F334F660B7@FreeBSD.org> <097363D7-DB74-4C48-90A7-BFACB1E0C0E1@FreeBSD.org> Date: Fri, 25 Mar 2016 23:03:20 +0430 Message-ID: Subject: Re: FreeBSD MachO File format, your comments on it. From: mokhi To: Adrian Chadd Cc: David Chisnall , Damjan Jovanovic , emulation@freebsd.org, "current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 18:33:23 -0000 errr, typo ... s/an FatELF both/and FatELF both/g :) On 3/25/16, mokhi wrote: > Adrian, thanks for your +1 :P > > So, what about EULA related things that 'David' pointed to? > If this isn't really a big problem, I have no problem to continue on > working on it, an FatELF both ;) >