Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE Build Problem
2020-05-23, 12:35
Post: #1
iPXE Build Problem
Hello everyone,
this is my first post here in the forum. Normally i just read along and could solve all problems so far. But currently I always get this error message.

----- 8< -----
drivers/net/intelvf.c: In Funktion »intelvf_mbox_poll«:
drivers/net/intelvf.c:80:13: Fehler: Arrayindex i liegt außerhalb der Arraygrenzen von »uint32_t[0]« {alias »unsigned int[]«} [-Werror=array-bounds]
80 | msg->dword[i] = readl ( intel->regs + intel->mbox.mem +
| ~~~~~~~~~~^~~
In Datei, eingebunden von drivers/net/intelvf.c:32:
drivers/net/intelvf.h:135:11: Anmerkung: beim Referenzieren von »dword«
135 | uint32_t dword[0];
| ^~~~~
drivers/net/intelvf.c:98:20: Anmerkung: »msg« wurde hier definiert
98 | union intelvf_msg msg;
| ^~~
cc1: Alle Warnungen werden als Fehler behandelt
make: *** [Makefile.housekeeping:946: bin/intelvf.o] Fehler 1
----- 8< -----

I have tried it under Debian Buster and Fedora 32. I get this error message with both.

Is there anything else missing ??
Find all posts by this user
Quote this message in a reply
2020-06-05, 09:52
Post: #2
RE: iPXE Build Problem
Seems to be a known problem with gcc 10:

https://lists.ipxe.org/pipermail/ipxe-de...07050.html

You could try passing NO_WERROR=1 or maybe just switch to an older gcc.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)