On Wed, Nov 16, 2022 at 07:00:57PM +0000, Kate Deplaix
wrote:> Hi,
>
> Here is a patch to add support to the upcoming OCaml 5.0 to hivex: https://
>
github.com/kit-ty-kate/hivex/commit/e89b4ab014fa764bf392275ba0dfa7631ea7689b
>
> This new release of the compiler will be released early next month.
Thanks - I have pushed this ...
> Note: this patch breaks support for OCaml < 4.07. If you want to
> keep support I suppose you can add some hacks in the configure.ac
> file to add "module Stdlib = Pervasives" at the start of the
> "generator/generator.ml" file but I'm not sure how worth to
you it
> is to support old +5 years old compilers.
Yes this does in fact break RHEL 7 (ocaml 4.05). However hivex was
already broken on RHEL 7 because of a mismatch with the GNU gettext
version. Also hivex is a package that we rarely need to touch and
RHEL 7 is going out of support. So I think we're fine here.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html