From: Ian Jackson Subject: Re: ARM64 hardware in osstest (WAS: [PATCH 0/2] ocaml: Start on fixing brokenness when no ocamlopt) Date: Thu, 30 Mar 2017 15:40:19 +0100 Message-ID: <22749.6355.671143.421792@mariner.uk.xensource.com> References: <1484927202-28014-1-git-send-email-ian.jackson@eu.citrix.com> <81966962-3dc6-88e7-054d-185ed5c35eab@arm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lLSNRIy0C/" Content-Transfer-Encoding: 8bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctbFq-0008Bo-KD for xen-devel@lists.xenproject.org; Thu, 30 Mar 2017 14:40:50 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Christian Lindig , Lars Kurth , Julien Grall , "Thomas.Molgaard@arm.com" , Philippe Robin , Steve Capper , Stefano Stabellini , Jonathan Ludlam Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --lLSNRIy0C/ Content-Type: text/plain; charset="utf-8" Content-Description: message body text Content-Transfer-Encoding: 8bit Hi. Christian Lindig of Citrix has been looking into our ARM64 ocaml build problem. See attached mail from him. (NB: xen-devel added to CC list.) Christian writes: > My short-term strategy would be to exclude the ocaml xenstored on > architectures that don’t support the native code OCaml > compiler. This does not exclude ARM64 in general because the OCaml > native code compiler is available for ARM64 - maybe just not on the > release that is being used for tests - I haven’t looked into this. Thanks for the investigation. Indeed, we are running our tests on Debian jessie, which has only the bytecode compiler for ocaml on arm64. In the general case, until we get a better solution, given that some versions of some operating systems have only the bytecode compiler, I think would we need to exclude the ocaml xenstored on _operating systems_ that don't have the native code ocaml compiler. This ought to be done automatically by our configure script. Currently the configure script detects that there is "some ocaml support" and then tries to use the native compiler. Christian, can you advise what the correct test should be to check whether the native code compiler is available ? I can then try to make a patch to our autoconfery, and maybe you would be able to review it. Or if you prefer to make that patch I'd be happy to review it of course. > In the long run I would suggest to simplify the build process of the > OCaml part by using OCamlbuild and (possibly) Oasis which leads to a > much simpler specification of the build targets and would cleanly > support compiling for bytecode and native binaries, if this is > possible at all. That sounds nice. But I think we have probably passed the point in this Xen release where we want to make such a change to the build system. I'll let Julien (Xen Project release manager) decide on that for sure, but I think this probably ought to be a post-4.9 task. Regards, Ian. --lLSNRIy0C/ Content-Type: message/rfc822 Content-Description: forwarded message Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: base64 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: <49DBB7D50C07AF4CB39E58DB306A9800@citrix.com> Return-Path: Envelope-to: iwj@localhost Delivery-date: Thu, 30 Mar 2017 15:23:43 +0100 Received: from localhost ([::1] helo=mariner.uk.xensource.com) by mariner.uk.xensource.com with esmtp (Exim 4.84_2) (envelope-from ) id 1ctazC-0007ig-Ao for iwj@localhost; Thu, 30 Mar 2017 15:23:38 +0100 Received: from mail.citrix.com [10.9.164.206] by mariner.uk.xensource.com with IMAP (fetchmail-6.3.26) for (single-drop); Thu, 30 Mar 2017 15:23:38 +0100 (BST) Received: from AMSPEX02CL03.citrite.net (10.69.22.127) by AMSPEX02CL02.citrite.net (10.69.22.126) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Mailbox Transport; Thu, 30 Mar 2017 16:23:35 +0200 Received: from AMSPEX02CL02.citrite.net (10.69.22.126) by AMSPEX02CL03.citrite.net (10.69.22.127) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 30 Mar 2017 16:23:35 +0200 Received: from AMSPEX02CL02.citrite.net ([192.168.118.30]) by AMSPEX02CL02.citrite.net ([192.168.118.30]) with mapi id 15.00.1210.000; Thu, 30 Mar 2017 16:23:35 +0200 Thread-Topic: OCaml xenstored not compiling with byte code compiler only Thread-Index: AQHSqWE3onY/zVkq/EGj2m8mo5G/0w== Message-ID: <07E618DB-5A65-4571-A269-70C795C150D1@citrix.com> References: <1484927202-28014-1-git-send-email-ian.jackson@eu.citrix.com> <81966962-3dc6-88e7-054d-185ed5c35eab@arm.com> <22747.40794.487386.823153@mariner.uk.xensource.com> <24E44274-29AA-4EC8-A2F5-54DCBF37597E@citrix.com> <207eca09-4f3a-10a8-fd9b-294a023d260d@arm.com> In-Reply-To: <207eca09-4f3a-10a8-fd9b-294a023d260d@arm.com> Accept-Language: en-GB, en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 04 X-MS-Exchange-Organization-AuthSource: AMSPEX02CL02.citrite.net X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3273) From: Christian Lindig To: Ian Jackson CC: Jonathan Ludlam Subject: OCaml xenstored not compiling with byte code compiler only Date: Thu, 30 Mar 2017 14:23:35 +0000 SGkgSWFuLA0KDQpQbGVhc2UgZmVlbCBmcmVlIHRvIHNoYXJlIHRoaXMgd2l0aCB0aGUgWGVuIG1h aW50YWluZXJzLiBJ4oCZdmUgbG9va2VkIGludG8gdG9vbHMvb2NhbWwveGVuc3RvcmVkIGFuZCB3 aHkgdGhpcyBkb2VzIG5vdCBjb21waWxlIHdpdGggb25seSB0aGUgT0NhbWwgYnl0ZSBjb2RlIGNv bXBpbGVyIGF2YWlsYWJsZSAtIGFzIGl0IGlzIG9uIEFSTTY0Og0KDQoqIFRoZSBjb25maWd1cmUg cHJvY2VzcyBkZXRlY3RzIGNvcnJlY3RseSB3aGVuIHRoZSBuYXRpdmUgY29kZSBjb21waWxlciBp biB1bmF2YWlsYWJsZSAtIGdvb2QuDQoqIE1ha2VmaWxlcywgaG93ZXZlciwgcmVxdWVzdCB1bmNv bmRpdGlvbmFsbHkgbmF0aXZlIGNvZGUgbGlicmFyaWVzICgqLmNteGEpIGluIExJQlMsIHdoaWNo IGFyZSBwYXJ0IG9mIHRoZSBkZWZhdWx0IOKAnGFsbOKAnSB0YXJnZXQuDQoNCm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yYWwgYmVjYXVzZSB0aGUgT0NhbWwg bmF0aXZlIGNvZGUgY29tcGlsZXIgaXMgYXZhaWxhYmxlIGZvciBBUk02NCAtIG1heWJlIGp1c3Qg bm90IG9uIHRoZSByZWxlYXNlIHRoYXQgaXMgYmVpbmcgdXNlZCBmb3IgdGVzdHMgLSBJIGhhdmVu 4oCZdCBsb29rZWQgaW50byB0aGlzLg0KDQpJbiB0aGUgbG9uZyBydW4gSSB3b3VsZCBzdWdnZXN0 IHRvIHNpbXBsaWZ5IHRoZSBidWlsZCBwcm9jZXNzIG9mIHRoZSBPQ2FtbCBwYXJ0IGJ5IHVzaW5n IE9DYW1sYnVpbGQgYW5kIChwb3NzaWJseSkgT2FzaXMgd2hpY2ggbGVhZHMgdG8gYSBtdWNoIHNp bXBsZXIgc3BlY2lmaWNhdGlvbiBvZiB0aGUgYnVpbGQgdGFyZ2V0cyBhbmQgd291bGQgY2xlYW5s eSBzdXBwb3J0IGNvbXBpbGluZyBmb3IgYnl0ZWNvZGUgYW5kIG5hdGl2ZSBiaW5hcmllcywgaWYg dGhpcyBpcyBwb3NzaWJsZSBhdCBhbGwuDQoNCkNoZWVycw0KDQrigJQgQ2hyaXN0aWFuDQoNCg0K DQoNCg== --lLSNRIy0C/ Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --lLSNRIy0C/--