compilation failure on riscv64
Brought to you by:
noxorc
there is missing typedef for CHAR8 and a conflicted typedef for BOOLEAN:
the error log is as follows:
In file included from /build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/efi.h:62,
from /build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/lib.h:23,
from /build/gnu-efi/src/gnu-efi-3.0.17//lib/smbios.c:17:
/build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/efidef.h:25:15: error: conflicting types for ‘BOOLEAN’; have ‘_Bool’
25 | typedef _Bool BOOLEAN;
| ^~~~~~~
In file included from /build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/efi.h:54:
/build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/riscv64/efibind.h:38:33: note: previous declaration of ‘BOOLEAN’ with type ‘BOOLEAN’ {aka ‘unsigned char’}
38 | typedef uint8_t BOOLEAN;
| ^~~~~~~
/build/gnu-efi/src/gnu-efi-3.0.17//lib/../inc/efidef.h:217:9: error: unknown type name ‘CHAR8’
217 | typedef CHAR8 ISO_639_2;
| ^~~~~
If you produce a patch, I will review it.
For the record, I submitted a patch for it in https://sourceforge.net/p/gnu-efi/patches/88/
well there has been one at https://sourceforge.net/p/gnu-efi/code/merge-requests/52/
they are the same btw :)
Last edit: Moody Liu 2023-05-18
committed [20d8d8] Merge /u/moodyhunter/gnu-efi/ branch master into master
merged merge request #52 on Code riscv64: fix build errors
Related
Commit: [20d8d8]