From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1CD3C43331 for ; Wed, 25 Mar 2020 09:41:14 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B755D20714 for ; Wed, 25 Mar 2020 09:41:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B755D20714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jH2WW-0006Wg-El; Wed, 25 Mar 2020 09:40:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jH2WU-0006Wb-K9 for xen-devel@lists.xenproject.org; Wed, 25 Mar 2020 09:40:30 +0000 X-Inumbo-ID: a96a19b0-6e7c-11ea-92cf-bc764e2007e4 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a96a19b0-6e7c-11ea-92cf-bc764e2007e4; Wed, 25 Mar 2020 09:40:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 20767AC46 for ; Wed, 25 Mar 2020 09:40:28 +0000 (UTC) Message-ID: From: Dario Faggioli To: xen-devel@lists.xenproject.org Date: Wed, 25 Mar 2020 10:40:26 +0100 Organization: SUSE Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-S3SKwLzQXIOmSk4WflS6" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Subject: [Xen-devel] Tools build failure with gcc-9.2.1 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --=-S3SKwLzQXIOmSk4WflS6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Are the following errors (and more similar ones): CC xenctrl_stubs.o In file included from /usr/lib64/ocaml/caml/alloc.h:24, from xenctrl_stubs.c:22: xenctrl_stubs.c: In function 'stub_xc_vcpu_context_get': /usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of 'memc= py' discards 'const' qualifier from pointer target type [-Werror=3Ddiscarde= d-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ xenctrl_stubs.c:502:9: note: in expansion of macro 'String_val' 502 | memcpy(String_val(context), (char *) &ctxt.c, sizeof(ctxt.c)); | ^~~~~~~~~~ In file included from xenctrl_stubs.c:30: /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 *__restric= t __src, | ^~~~~~ When building with: gcc version 9.2.1 20200306 [revision c5edde44f5b17b4891f17a63517f355bbf89e7= d3] (SUSE Linux)=20 Already known and being dealt with? Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-S3SKwLzQXIOmSk4WflS6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES5ssOj3Vhr0WPnOLFkJ4iaW4c+4FAl57JwsACgkQFkJ4iaW4 c+4MrQ/7BqFRPT8Ms91qi06xfLZvHWtZnuIaiC/PXGslXBwWjZ24e+OVkc9w6GlS 8mqRjWl8Y+RuCHcoDlggUYeiMriVdrvcJvWmDUTCVeZZu+k0MeHZIsW1KXcXook5 gK9SdCdpTzZEWsg7FO91jrDqnpkvG7LecdYGeUC+gU6EX1n0NKQvfUtR4Eytev13 LeNcQbK8CtNuKRcPWOquVzkQT78lZmUYNVCH1FT7jaqMmf0XfuvrsjQm9Pj9MfCw STTRWxkUlvGohMJImpOLjHMbt54kmmpMcbmDwboEnRmR1Tyvhd9vr+1CZx3fR0Zx 3Vhmd6Z/Wn+rAfwo4aSiY17wj0XZL7myFh9zgMpI2+ceTmMkuqteYFYQceHWS7BD A1YNHM9Mnvp1OlIoRB1pekwSRqPpFsqE7CtMq0MJ9vFSSXiVcMO6PRCHlwltxPPh /3tQp+4gJ+6E/hmphpCpfD4KIfx9x8T5qTIfrvuWicovH7K820c9FeBfMJj+MiHP 1i9pSb3fTzrInDkMbMdU3lSX9LaOY3/eXd8jNou6GiSlrVVn8KCS/yFzCrX9JShL 6ziP3X0Fzr55N3IoTxDX3OVm+0HdnVvBe1oHP863IxD7yVKyyDTZI22I6GZoqG5w knGskX83vz3dHGMsYbJkceNJ5B5eX4xvXOv+eS/LWWE1KcUVK6Q= =cnbA -----END PGP SIGNATURE----- --=-S3SKwLzQXIOmSk4WflS6--