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

Re: [Xen-devel] Tools build failure with gcc-9.2.1



On Sun, 2020-03-29 at 18:19 +0100, Julien Grall wrote:
> On 25/03/2020 09:40, Dario Faggioli wrote:
> > /usr/include/string.h:43:14: note: expected 'void * restrict' but
> > argument is of type 'const char *'
> >     43 | extern void *memcpy (void *__restrict __dest, const void
> > *__restrict __src,
> >        |              ^~~~~~
> > 
> > When building with:
> > 
> > gcc version 9.2.1 20200306 [revision
> > c5edde44f5b17b4891f17a63517f355bbf89e7d3] (SUSE Linux)
> > 
> > Already known and being dealt with?
> 
> I suspect you have a new version of Ocaml built with -safe-string as
> per 
> [1], String_Val() will return (const char *) rather than (char *).
> 
Yep, I checked in the ocaml headers installed on the system, and that's
exactly the case.

> I am looking at writing a patch for it and send it to xen-devel.
> 
Cool, thanks! I'll be happy to test it. :-)

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part


 


Rackspace

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