From owner-soc-status@freebsd.org Fri Jun 29 01:49:17 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68AF8102F370 for ; Fri, 29 Jun 2018 01:49:17 +0000 (UTC) (envelope-from mateus@mateus.tech) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0126.outbound.protection.outlook.com [104.47.38.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8864E776A5; Fri, 29 Jun 2018 01:49:16 +0000 (UTC) (envelope-from mateus@mateus.tech) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mateusrodrigueslive.onmicrosoft.com; s=selector1-mateus-tech; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qNzId1VqmoUkiu2DUYZdQxklgLztDEDE8LOiciTe7KQ=; b=Bisqi+wPyvyZTodIyLEQmgJ9o4yiJGnrFdcfIc6YA1KpHgsUIFMrBv+gJ200mVH7EmlFHTVsoUI477gMcgRD18x4pt+iL31eY4qp7NqbO3s9ciEKd6t8A3GYRcPQXLpY2aP/+2YjakDDTiRAsezB/rZYBE2xbsbKcM1J2lRXGRI= Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM (10.171.53.11) by CP2P152MB0193.LAMP152.PROD.OUTLOOK.COM (10.171.24.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.23; Fri, 29 Jun 2018 01:49:10 +0000 Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::e956:3e1f:d21d:e054]) by CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::e956:3e1f:d21d:e054%8]) with mapi id 15.20.0906.023; Fri, 29 Jun 2018 01:49:10 +0000 From: Mateus Rodrigues de Morais To: "soc-status@freebsd.org" CC: David Naylor , "theraven@freebsd.org" Subject: [Week 6] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Topic: [Week 6] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Index: AQHUD0lgPEiJx3g1JUid5Osca9HFyA== Date: Fri, 29 Jun 2018 01:49:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mateus@mateus.tech; x-originating-ip: [177.89.43.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CP2P152MB0193; 7:/rMcLaissJnik/XGAIMITqV3ASkuO7n3shIJJORXtyTVZhLUkiIwqDfO5QhHYxkABdVuXXk9s57VSk+i1bVt+xvEnXPmoUJmFmAbmEIL0KRBCeyEdNYf+FHlwDNjms0bGC2dEDPCZkQUSQ8dHLUT2ZjmgiBoZ5HgP/ox2ZBGhcfkh+4EvQriPfQNdWsWr2NF9hqkQKNbQJXwaOw+jXFpIz54dEGkOpLPzmOqgKztKO0ak7p513VlcklIwAN4Fr9Y x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: e072bcdd-70e2-48f3-1d63-08d5dd628263 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652037)(7021125)(8989117)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:CP2P152MB0193; x-ms-traffictypediagnostic: CP2P152MB0193: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(166708455590820)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231254)(2017060905117)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(2016111802025)(20161123560045)(20161123558120)(20161123562045)(6072148)(6043046)(201708071742011)(7699016); SRVR:CP2P152MB0193; BCL:0; PCL:0; RULEID:; SRVR:CP2P152MB0193; x-forefront-prvs: 0718908305 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(136003)(39830400003)(396003)(346002)(47530400004)(53754006)(199004)(189003)(45080400002)(86362001)(97736004)(2906002)(81166006)(8676002)(26005)(7736002)(8936002)(14454004)(99286004)(81156014)(102836004)(476003)(53936002)(54906003)(4326008)(478600001)(74316002)(186003)(966005)(486006)(7696005)(316002)(5640700003)(2351001)(5250100002)(106356001)(450100002)(52230400001)(6916009)(54896002)(2501003)(6306002)(2900100001)(6116002)(3846002)(68736007)(25786009)(105586002)(14444005)(256004)(33656002)(9686003)(6436002)(5660300001)(66066001)(55016002)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:CP2P152MB0193; H:CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mateus.tech does not designate permitted sender hosts) x-microsoft-antispam-message-info: Ar9gOPpoKjs+Jct15wcWu5Uh/QTUfibmI4WQUc08OsMrxUz8wILRrMj99RNfIkj7VthB2ri14aH/CfASzZvdS6lFM/aIg+mRYfKODjaUl8ktyTasCJ6sfydCRnoAiAL16rujG3LRZ6ZdBJz2WqMMIzLmfCSLiMKJDRASvhGbM3yJ2HGk0wJUMWnpeM1SAfbvSgTWhl3eGCTLBmY9JyVvpHNETUmvHProa7trF46iNluhq6neEEbZ16hu6ohWvUnwpDA43YZl6ubEMLjAA8+KYCxOPVLHxagLHEyEqgVG6qXiFPYHfTBfPTA4ppxqucie/yao1BwK8+Ni4u3mgHNEQFs//H+bBrYjGiHzydv6r84= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: mateus.tech X-MS-Exchange-CrossTenant-Network-Message-Id: e072bcdd-70e2-48f3-1d63-08d5dd628263 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2018 01:49:10.5989 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3cb2d6d7-8d6e-44b8-954d-3085729d2030 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CP2P152MB0193 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 01:49:17 -0000 Hello all, During this 6th week of work, I started working on getting a PowerShell bui= ld on FreeBSD. As I researched how its code is organized, I found out that = on Linux and macOS, PowerShell Core relies on a native layer called libpsl = that provides missing functionality from .NET Core as kernel system calls. = As a result, this native layer also had to be built and ported over to Free= BSD. No code changes were necessary to get it built, however, out of the 32= unit tests, 3 were not passing. I forked the PowerShell repo over to my GitHub account [1], fixed some code= to work on FreeBSD and, as of right now, 2 out of these 3 tests are now pa= ssing. I=92m working on the last one. PowerShell itself is written in C# and runs on top of .NET. Therefore, I us= ed the bootstrapped SDK from previous weeks to build it on FreeBSD and the = steps [2] complete successfully. However, I see some misbehaviors while run= ning PowerShell that I believe to be caused by managed code and I=92ll inve= stigate those further as soon as I get done with the native tests. As of the CoreFX tests from last week, I=92m still on the process of invest= igating those as well. Maybe some of them relate to the PowerShell misbehav= iors or maybe they don=92t. [1] https://github.com/mateusrodrigues/PowerShell [2] https://github.com/mateusrodrigues/gsoc18-progress/tree/master/powershe= ll Best, -- Mateus de Morais