public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marietto2008 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/84919] [8/9 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
Date: Thu, 20 Aug 2020 12:38:56 +0000	[thread overview]
Message-ID: <bug-84919-4-bI4UTjtqxf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-84919-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919

Marietto <marietto2008 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marietto2008 at gmail dot com

--- Comment #25 from Marietto <marietto2008 at gmail dot com> ---
Hello.

I'm trying to configure and compile GVT-g to enable the passthrough of the
integrated GPU that I have on my motherboard,the model "Intel Corporation UHD
Graphics 630 (Desktop 9 Series) (rev 02)". This is the tutorial that I'm
following :

https://lists.freedesktop.org/archives/intel-gvt-dev/2017-June/001238.html

I reached this point and then the compilation stopped for an error that it
seems to be the same as this.

root@ziomario-z390aoruspro:/etc/xen/gvt-linux# make
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CC       /etc/xen/gvt-linux/tools/objtool/pager.o
  CC       /etc/xen/gvt-linux/tools/objtool/parse-options.o
  CC       /etc/xen/gvt-linux/tools/objtool/run-command.o
  CC       /etc/xen/gvt-linux/tools/objtool/sigchain.o
  CC       /etc/xen/gvt-linux/tools/objtool/subcmd-config.o
  LD       /etc/xen/gvt-linux/tools/objtool/libsubcmd-in.o
  AR       /etc/xen/gvt-linux/tools/objtool/libsubcmd.a
  GEN      /etc/xen/gvt-linux/tools/objtool/arch/x86/insn/inat-tables.c
  CC       /etc/xen/gvt-linux/tools/objtool/arch/x86/decode.o
  LD       /etc/xen/gvt-linux/tools/objtool/arch/x86/objtool-in.o
  CC       /etc/xen/gvt-linux/tools/objtool/builtin-check.o
  CC       /etc/xen/gvt-linux/tools/objtool/elf.o
  CC       /etc/xen/gvt-linux/tools/objtool/special.o
  CC       /etc/xen/gvt-linux/tools/objtool/objtool.o
  CC       /etc/xen/gvt-linux/tools/objtool/libstring.o
  CC       /etc/xen/gvt-linux/tools/objtool/str_error_r.o
../lib/str_error_r.c: In function ‘str_error_r’:
../lib/str_error_r.c:24:3: error: passing argument 1 to restrict-qualified
parameter aliases with argument 5 [-Werror=restrict]
   24 |   snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d",
errnum, buf, buflen, err);
      |   ^~~~~~~~
cc1: all warnings being treated as errors
mv: impossibile eseguire stat di
'/etc/xen/gvt-linux/tools/objtool/.str_error_r.o.tmp': File o directory non
esistente
make[3]: *** [Build:18: /etc/xen/gvt-linux/tools/objtool/str_error_r.o] Errore
1
make[2]: *** [Makefile:40: /etc/xen/gvt-linux/tools/objtool/objtool-in.o]
Errore 2
make[1]: *** [Makefile:61: objtool] Errore 2
make: *** [Makefile:1616: tools/objtool] Errore 2

I don't understand where is the patch ?

  parent reply	other threads:[~2020-08-20 12:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-84919-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` jakub at gcc dot gnu.org
2020-03-13  3:26 ` egallager at gcc dot gnu.org
2020-03-13 14:36 ` msebor at gcc dot gnu.org
2020-03-15  3:20 ` egallager at gcc dot gnu.org
2020-08-20 12:38 ` marietto2008 at gmail dot com [this message]
2020-08-20 12:42 ` marietto2008 at gmail dot com
2020-08-20 14:40 ` msebor at gcc dot gnu.org
2020-08-20 22:56 ` marietto2008 at gmail dot com
2020-08-20 23:27 ` marietto2008 at gmail dot com
2020-08-20 23:47 ` msebor at gcc dot gnu.org
2020-08-20 23:50 ` marietto2008 at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-84919-4-bI4UTjtqxf@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).