Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xentools build failure (ocaml related)
If I recall correctly, I did make those corrections but had built
OCaml separately first. I will uninstall the package and try again.
Thanks.
On Wed, Jan 6, 2021 at 1:43 PM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Repeating my message from yesterday (on -current):
>
> ..........
>
> FWIW I just finished a build of the latest xentools 4.13. I had to
> manually do the following:
>
> 1. Patch string.c from seabios (earlier suggestion):
>
> diff -u work/seabios-rel-1.12.1/src/string.c.orig
> work/seabios-rel-1.12.1/src/string.c
> --- work/seabios-rel-1.12.1/src/string.c.orig 2019-03-14
> 12:11:53.000000000 +0000
> +++ work/seabios-rel-1.12.1/src/string.c 2021-01-05
> 19:49:00.426549269 +0000
> @@ -152,9 +152,6 @@
> void *
> #undef memcpy
> memcpy(void *d1, const void *s1, size_t len)
> -#if MODESEGMENT == 0
> -#define memcpy __builtin_memcpy
> -#endif
> {
> SET_SEG(ES, GET_SEG(SS));
> void *d = d1;
>
>
> 2. Get rid of "-unsafe-string" from work/xen-4.13.2/tools/ocaml/common.make
>
> 3. Add "-Wno-error=discarded-qualifiers" to the Makefile.rules file.
>
> -------
>
>
> Chavdar
>
> On Wed, 6 Jan 2021 at 18:40, flint pyrite <flintnpyrite%gmail.com@localhost> wrote:
> >
> > I installed 9.1 yesterday and am trying to get Xen installed today and
> > ran into this snag.
> >
> > After the suggested modifications . I am getting:
> >
> > OCaml has been configured with -force-safe-string: -unsafe-string is
> > not available
>
>
>
> --
> ----
Home |
Main Index |
Thread Index |
Old Index