Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 902147 Details for
Bug 939135
app-crypt/efitools-1.9.2-r1 - [gcc-15] HelloWorld.c: error: initialization of CHAR16 {aka int } from incompatible pointer type short unsigned int [-Wincompatib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-crypt:efitools-1.9.2-r1:20240904-212124.log
app-crypt:efitools-1.9.2-r1:20240904-212124.log (text/plain), 30.58 KB, created by
Toralf Förster
on 2024-09-05 19:19:21 UTC
(
hide
)
Description:
app-crypt:efitools-1.9.2-r1:20240904-212124.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-09-05 19:19:21 UTC
Size:
30.58 KB
patch
obsolete
> * Package: app-crypt/efitools-1.9.2-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_musl kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2-r1/work >>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2-r1/work >>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2 ... > * Applying 1.9.2-clang16.patch ... > [ ok ] > * Applying 1.9.2-Makefile.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2 ... >make -j4 >make -C lib lib-efi.a >make[1]: Entering directory '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/lib' >x86_64-pc-linux-musl-gcc -I/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -pipe -march=native -fno-diagnostics-color -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c HelloWorld.c -o HelloWorld.o >openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB/" -keyout DB.key -out DB.crt -days 3650 -nodes -sha256 >openssl req -new -x509 -newkey rsa:2048 -subj "/CN=PK/" -keyout PK.key -out PK.crt -days 3650 -nodes -sha256 >......+++++++++++++++++++++++++++++++++++++++*....+........+...+.+...+..+....+......+........+...+...+.+...+...+..+...+.......+...+............+........+.........+...+..........+.....+.......+.....+++++++++++++++++++++++++++++++++++++++*............+...+.................+...+...+.+.........+x86_64-pc-linux-musl-gcc -I/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -pipe -march=native -fno-diagnostics-color -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o >..+....+......+........+.+.....+...............+...+......+....+...+HelloWorld.c: In function 'efi_main': >HelloWorld.c:12:25: error: initialization of 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 12 | L"HelloWorld", > | ^~~~~~~~~~~~~ >HelloWorld.c:12:25: note: (near initialization for '(anonymous)[0]') >HelloWorld.c:13:25: error: initialization of 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 13 | L"", > | ^~~ >HelloWorld.c:13:25: note: (near initialization for '(anonymous)[1]') >HelloWorld.c:14:25: error: initialization of 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 14 | L"This file is used to prove you have managed", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >HelloWorld.c:14:25: note: (near initialization for '(anonymous)[2]') >HelloWorld.c:15:25: error: initialization of 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 15 | L"To execute an unsigned binary in secure boot mode", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >HelloWorld.c:15:25: note: (near initialization for '(anonymous)[3]') >...+...........+....+..+....+...+.....+..........+........+....+....+....+........+....+......+.+...+.....+.......+..+...+.......+...+......+.....+.+.+.........+..+...+.+...+...+........++.++++++++++++++++++++++++++++++++++++++++*...+..........+......++......+...+..+..........+..+++++++++++++++++++++++++++++++++++++++*.....++...+make: *** [Make.rules:100: HelloWorld.o] Error 1 >+ >.make: *** Waiting for unfinished jobs.... >++...+......+.....+....+.....+...+..+..........+...+...+.+.........+..+....++.....+...+.+.....+..........+++++++++++++++++ >....+.++...+..+......+.++...++......+++........++.++..++...................+...++..+++.........++....++..++.++.....++....++++++++++++++++++++++++++++++++++*.+...+..+.+..........+++....+.++.+++.....++.+..+.......+...........+...................+...+..+++++++++++++++++*.....+.....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.++++*.+...+....+.............++.......+....+.........+..+.............+.......+..+...+...+.+...............+.....+.................+.....+.....+.........+.................++.......+...+....+...+.....+........+....+...+..+.+............+.......+..........+......+.+.+...+...+..++..........++...++......++.....++ >...+......+x86_64-pc-linux-musl-gcc -I/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -pipe -march=native -fno-diagnostics-color -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o >.+......+.....+..........+..+......+............+..........+----- >..+.......+.....+.............+......+...........+...+.+.....+....................................+...+.+............+........+.......+...+...........+.+..+.+...........+...+.......+...+...+..+.+..+..........+.................+...+...+....+...+.....+.......+..+.+.....+.......+..+.............+......+......+...+......+..+....+.....+.+..+............+.+...+.........+..+.........+.+.....+.........+......+...+...+....+.....................+...+......+......+...+...............+...........+.+..+......+.......+........+...................+simple_file.c: In function 'simple_file_open_by_handle': >simple_file.c:31:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 31 | Print(L"Unable to find simple file protocol (%d)\n", efi_status); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >.In file included from simple_file.c:8: >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >simple_file.c:38:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 38 | Print(L"Failed to open drive volume (%d)\n", efi_status); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >....+simple_file.c: In function 'simple_file_open': >simple_file.c:65:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 65 | Print(L"Unable to generate load path for %s\n", name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >simple_file.c: In function 'simple_dir_read_all_by_handle': >simple_file.c:90:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 90 | Print(L"Failed to get file info\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >.simple_file.c:94:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 94 | Print(L"Not a directory %s\n", name); > | ^~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >../usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >+....simple_file.c: In function 'simple_dir_read_all': >+simple_file.c:140:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 140 | Print(L"failed to open file %s: %d\n", name, status); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >simple_file.c: In function 'simple_file_read_all': >simple_file.c:160:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 160 | Print(L"Failed to get file info\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >simple_file.c:169:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 169 | Print(L"Failed to allocate buffer of size %d\n", *size); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >./usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >..+......+simple_file.c: In function 'simple_volume_selector': >simple_file.c:237:64: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 237 | if (!name || StrLen(name) == 0 || StrCmp(name, L" ") == 0) > | ^~~~ > | | > | short unsigned int * >../usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >...+....+..+...............+x86_64-pc-linux-musl-gcc -I/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -pipe -march=native -fno-diagnostics-color -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o >.+..+simple_file.c: In function 'simple_dir_filter': >simple_file.c:338:44: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 338 | if (StrCmp(next->FileName, L".") == 0) > | ^~~~ > | | > | short unsigned int * >./usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >......+......+simple_file.c:361:44: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 361 | if (StrCmp(next->FileName, L"../") == 0) { > | ^~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >..+simple_file.c:374:39: error: assignment to 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 374 | (*result)[(*count)++] = L"./"; > | ^ >..........+...+simple_file.c: In function 'simple_file_selector': >simple_file.c:403:22: error: assignment to 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 403 | name = L"\\"; > | ^ >.....+simple_file.c:405:24: error: assignment to 'CHAR16 *' {aka 'int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] > 405 | filter = L""; > | ^ >.......+simple_file.c:443:38: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 443 | if (StrCmp(selected, L"./") == 0) { > | ^~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >...............+simple_file.c:446:45: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 446 | } else if (StrCmp(selected, L"../") == 0) { > | ^~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >............simple_file.c:459:42: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 459 | if (StrCmp(name, L"\\") != 0 > | ^~~~~ > | | > | short unsigned int * >...../usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >.+simple_file.c:460:49: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] > 460 | && StrCmp(&name[i], L"..") != 0) { > | ^~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 314 | IN CONST CHAR16 *s2 >...+simple_file.c:472:41: error: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] > 472 | StrCat(newname, L"\\"); > | ^~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:369:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 369 | IN CONST CHAR16 *Src >...........+simple_file.c:487:41: error: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] > 487 | StrCat(*result, L"\\"); > | ^~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:369:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 369 | IN CONST CHAR16 *Src >....+..........................+...+......+......+......+...+....+........+....+..............+.+..............+.......+........+.+......+...+.....+.+.....+.+........+......+.+............+............+...............+...+...+..+.+make[1]: *** [../Make.rules:103: simple_file.efi.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >..+.......+..+...+.+.....+......+....+......+...........+...+.+..................+..+.+.....+....+.....+......+...++++++ >----- >pecoff.c: In function 'pecoff_read_header': >pecoff.c:81:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 81 | Print(L"Unsupported image type\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >In file included from pecoff.c:52: >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:86:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 86 | Print(L"Unsupported image - Relocations have been stripped\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:92:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 92 | Print(L"Only IA32 or X64 images supported\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:120:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 120 | Print(L"Malformed security header\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c: In function 'pecoff_image_layout': >pecoff.c:145:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 145 | Print(L"Invalid section size\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c: In function 'pecoff_relocate': >pecoff.c:178:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 178 | Print(L"pecoff_image_layout: failed to layout image\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:189:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 189 | Print(L"Image has no relocation entry\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:197:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 197 | Print(L"Reloc table overflows binary %d %d\n", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:210:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 210 | Print(L"Reloc entry overflows binary\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:216:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 216 | Print(L"Invalid fixupbase\n"); > | ^~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:265:39: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 265 | Print(L"Unknown relocation\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c: In function 'pecoff_check_mok': >pecoff.c:314:36: error: passing argument 1 of 'get_variable_attr' from incompatible pointer type [-Wincompatible-pointer-types] > 314 | status = get_variable_attr(L"MokSBState", &data, &len, > | ^~~~~~~~~~~~~ > | | > | short unsigned int * >In file included from pecoff.c:65: >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:23:27: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 23 | get_variable_attr(CHAR16 *var, UINT8 **data, UINTN *len, EFI_GUID owner, > | ~~~~~~~~^~~ >pecoff.c:329:34: error: passing argument 1 of 'find_in_variable_esl' from incompatible pointer type [-Wincompatible-pointer-types] > 329 | if (find_in_variable_esl(L"dbx", SIG_DB, hash, SHA256_DIGEST_SIZE) > | ^~~~~~ > | | > | short unsigned int * >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:28:30: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 28 | find_in_variable_esl(CHAR16* var, EFI_GUID owner, UINT8 *key, UINTN keylen); > | ~~~~~~~~^~~ >pecoff.c:334:36: error: passing argument 1 of 'get_variable_attr' from incompatible pointer type [-Wincompatible-pointer-types] > 334 | status = get_variable_attr(L"MokList", &data, &len, MOK_OWNER, &attr); > | ^~~~~~~~~~ > | | > | short unsigned int * >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:23:27: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 23 | get_variable_attr(CHAR16 *var, UINT8 **data, UINTN *len, EFI_GUID owner, > | ~~~~~~~~^~~ >pecoff.c:342:34: error: passing argument 1 of 'find_in_variable_esl' from incompatible pointer type [-Wincompatible-pointer-types] > 342 | if (find_in_variable_esl(L"MokList", MOK_OWNER, hash, SHA256_DIGEST_SIZE) == EFI_SUCCESS) > | ^~~~~~~~~~ > | | > | short unsigned int * >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:28:30: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 28 | find_in_variable_esl(CHAR16* var, EFI_GUID owner, UINT8 *key, UINTN keylen); > | ~~~~~~~~^~~ >pecoff.c:346:36: error: passing argument 1 of 'get_variable_attr' from incompatible pointer type [-Wincompatible-pointer-types] > 346 | status = get_variable_attr(L"tmpHashList", &data, &len, MOK_OWNER, > | ^~~~~~~~~~~~~~ > | | > | short unsigned int * >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:23:27: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 23 | get_variable_attr(CHAR16 *var, UINT8 **data, UINTN *len, EFI_GUID owner, > | ~~~~~~~~^~~ >pecoff.c:349:37: error: passing argument 1 of 'find_in_variable_esl' from incompatible pointer type [-Wincompatible-pointer-types] > 349 | && find_in_variable_esl(L"tmpHashList", MOK_OWNER, hash, > | ^~~~~~~~~~~~~~ > | | > | short unsigned int * >/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/include/variables.h:28:30: note: expected 'CHAR16 *' {aka 'int *'} but argument is of type 'short unsigned int *' > 28 | find_in_variable_esl(CHAR16* var, EFI_GUID owner, UINT8 *key, UINTN keylen); > | ~~~~~~~~^~~ >pecoff.c: In function 'pecoff_execute_image': >pecoff.c:402:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 402 | Print(L"Failed to read %s\n", name); > | ^~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:406:15: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 406 | Print(L"Read %d bytes from %s\n", DataSize, name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:409:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 409 | Print(L"Failed to read header\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:415:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 415 | Print(L"Failed to relocate image\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >pecoff.c:421:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] > 421 | Print(L"Invalid entry point\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > | | > | short unsigned int * >/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' > 534 | IN CONST CHAR16 *fmt, >make[1]: *** [../Make.rules:103: pecoff.efi.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2/lib' >make: *** [Makefile:48: lib/lib-efi.a] Error 2 > * ERROR: app-crypt/efitools-1.9.2-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-crypt:efitools-1.9.2-r1:20240904-212124.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2' > * S: '/var/tmp/portage/app-crypt/efitools-1.9.2-r1/work/efitools-1.9.2' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 939135
:
902146
| 902147 |
902148
|
902149
|
902150
|
902151
|
902152
|
902153