[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC] ocaml: Fix compile with ocaml 4.06, use unsafe strings




> On 26. Jan 2018, at 09:09, M A Young <m.a.young@xxxxxxxxxxxx> wrote:
> 
> On Fri, 26 Jan 2018, John Thomson wrote:
> 
>> Use autoconf to test if ocaml version >= 4.02
>> If so, use -unsafe-string for ocamlopt and ocamlc
>> 
>> Bytes & safe-string were introduced in ocaml 4.02 (2015-07-27)
>> 
>> With ocaml 4.06, -safe-string is now default
>> This separates the types bytes (mutable string) and string
> 
> For Fedora Rawhide, which has ocaml 4.06, we came up with a patch to make 
> xen ocaml safe-strings compliant (which I haven't got around to submitting 
> to this list yet).
> 
> The patch is at
> https://src.fedoraproject.org/rpms/xen/blob/master/f/xen.ocaml.safe-strings.patch
> with the related Fedora bug at
> https://bugzilla.redhat.com/show_bug.cgi?id=1526703
> 
>       Michael Young

The patch looks good and I would prefer to take it than to use -unsafe-string 
which isn’t a solution in the long run.

— Christian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.