Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 918811 Details for
Bug 949655
sys-apps/fwupd-efi-1.7: fails to link with ld.lld
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
build.log (text/x-log), 64.68 KB, created by
NHO
on 2025-02-12 14:53:26 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
NHO
Created:
2025-02-12 14:53:26 UTC
Size:
64.68 KB
patch
obsolete
>[32m * [39;49;00mPackage: sys-apps/fwupd-efi-1.7:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: johnmh@johnmh.me proxy-maint@gentoo.org >[32m * [39;49;00mUpstream: https://github.com/fwupd/fwupd-efi/issues >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_musl kernel_linux >[32m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox > [32m*[0m Checking whether python3_13 is suitable ... > [32m*[0m dev-lang/python:3.13 ... >[A[227C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m python_check_deps ... > [32m*[0m dev-python/pefile[python_targets_python3_13(-)] ... >[A[227C [34;01m[ [31;01m!![34;01m ][0m >[A[227C [34;01m[ [31;01m!![34;01m ][0m > [32m*[0m Checking whether python3_12 is suitable ... > [32m*[0m dev-lang/python:3.12 ... >[A[227C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m python_check_deps ... > [32m*[0m dev-python/pefile[python_targets_python3_12(-)] ... >[A[227C [34;01m[ [32;01mok[34;01m ][0m >[A[227C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Using python3.12 to build (via PYTHON_COMPAT iteration) >>>> Unpacking source... >>>> Unpacking fwupd-efi-1.7.gh.tar.gz to /var/tmp/portage/sys-apps/fwupd-efi-1.7/work >>>> Source unpacked in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work >>>> Preparing source in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7 ... > [32m*[0m Fixing shebang in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/generate_binary.py. > [32m*[0m Fixing shebang in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/generate_sbat.py. >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7 ... >clang-cpp: [0;1;35mwarning: [0m[1margument unused during compilation: '-E' [-Wunused-command-line-argument][0m >meson setup -Db_lto=false --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/meson.x86_64-pc-linux-musl.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Defi-libdir=/usr/lib -Defi_sbat_distro_id=gentoo -Defi_sbat_distro_summary=Gentoo GNU/Linux -Defi_sbat_distro_pkgname=fwupd-efi -Defi_sbat_distro_version=1.7 -Defi_sbat_distro_url=https://packages.gentoo.org/packages/sys-apps/fwupd-efi /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7 /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7-build >[1mThe Meson build system[0m >Version: 1.6.1 >Source dir: [1m/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7[0m >Build dir: [1m/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7-build[0m >Build type: [1mnative build[0m >Project name: [1mfwupd-efi[0m >Project version: [1m1.7[0m >C compiler for the host machine: [1mclang[0m (clang 19.1.7 "clang version 19.1.7+libcxx") >C linker for the host machine: [1mclang[0m ld.lld 19.1.7 >Host machine cpu family: [1mx86_64[0m >Host machine cpu: [1mx86_64[0m >Program [1mllvm-objcopy[0m found: [1;32mYES[0m >Found pkg-config: [1;32mYES[0m [1m(/usr/bin/x86_64-pc-linux-musl-pkg-config)[0m [1;34m2.3.0[0m >Run-time dependency [1mgnu-efi[0m found: [1;32mYES[0m [36m3.0.18[0m >Program [1mgenpeimg[0m found: [1;31mNO[0m >Program python3 found: [1;32mYES[0m (/var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/bin/python3) >Configuring [1mconfig.h[0m using configuration >Program [1muswid[0m found: [1;32mYES[0m (/usr/bin/uswid) >Program [1mgit[0m found: [1;31mNO[0m >Configuring [1mswid.xml[0m using configuration >Has header "[1m/usr/include/efi/x86_64/efibind.h[0m" : [1;32mYES[0m >efi/meson.build:110: [1;33mWARNING:[0m Cannot find SBAT section in /usr/lib/elf_x86_64_efi.lds, using local copy >efi/meson.build:118: [1;33mWARNING:[0m Switching to local copy of linker script as using SBOM >[1mMessage:[0m efi-libdir: "/usr/lib" >[1mMessage:[0m efi-ldsdir: "/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/lds" >[1mMessage:[0m efi-crtdir: "/usr/lib" >[1mMessage:[0m efi-includedir: "/usr/include/efi" >Compiler for C supports arguments -fno-merge-constants: [1;31mNO[0m >First supported argument: [1;31mNone[0m >Build targets in project: [1m9[0m > >fwupd-efi [36m1.7[0m > > [1mUser defined options[0m > Native files : /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/meson.x86_64-pc-linux-musl.amd64.ini > build.pkg_config_path : /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/pkgconfig:/usr/share/pkgconfig > b_lto : false > b_pch : false > buildtype : plain > efi-libdir : /usr/lib > efi_sbat_distro_id : gentoo > efi_sbat_distro_pkgname: fwupd-efi > efi_sbat_distro_summary: Gentoo GNU/Linux > efi_sbat_distro_url : https://packages.gentoo.org/packages/sys-apps/fwupd-efi > efi_sbat_distro_version: 1.7 > libdir : lib > localstatedir : /var/lib > pkg_config_path : /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/pkgconfig:/usr/share/pkgconfig > prefix : /usr > sysconfdir : /etc > werror : false > wrap_mode : nodownload > >Found ninja-1.12.1 at /usr/bin/ninja >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7 ... >ninja -v -j10 -l0 >[1/8] /usr/lib/llvm/19/bin/clang -c ../fwupd-efi-1.7/efi/fwup-debug.c -o efi/fwup-debug.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI >../fwupd-efi-1.7/efi/fwup-debug.c:31:10: warning: incompatible pointer types initializing 'CHAR16 *' (aka 'int *') with an expression of type 'unsigned short[19]' [-Wincompatible-pointer-types] > 31 | CHAR16 *name = L"FWUPDATE_DEBUG_LOG"; > | ^ ~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.c:55:9: warning: incompatible pointer types passing 'unsigned short[44]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 55 | Print(L"fwupdate: Allocation for debug log failed!\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:534:24: note: passing argument to parameter 'fmt' here > 534 | IN CONST CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-debug.c:61:20: warning: incompatible pointer types passing 'unsigned short[16]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 61 | out1 = PoolPrint(L"%a:%d:%a(): %s\n", file, line, func, tmp); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:568:26: note: passing argument to parameter 'fmt' here > 568 | IN CONST CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-debug.c:63:10: warning: incompatible pointer types passing 'unsigned short[44]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 63 | Print(L"fwupdate: Allocation for debug log failed!\n"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:534:24: note: passing argument to parameter 'fmt' here > 534 | IN CONST CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-debug.c:66:9: warning: incompatible pointer types passing 'unsigned short[3]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 66 | Print(L"%s", out1); > | ^~~~~ >/usr/include/efi/efilib.h:534:24: note: passing argument to parameter 'fmt' here > 534 | IN CONST CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-debug.c:73:10: warning: incompatible pointer types passing 'unsigned short[13]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 73 | Print(L"WARNING: %s\n", tmp); > | ^~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:534:24: note: passing argument to parameter 'fmt' here > 534 | IN CONST CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-debug.c:76:10: warning: incompatible pointer types passing 'unsigned short[4]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 76 | Print(L"%s\n", tmp); > | ^~~~~~~ >/usr/include/efi/efilib.h:534:24: note: passing argument to parameter 'fmt' here > 534 | IN CONST CHAR16 *fmt, > | ^ >7 warnings generated. >[2/8] /usr/lib/llvm/19/bin/clang -c ../fwupd-efi-1.7/efi/fwup-efi.c -o efi/fwup-efi.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI >../fwupd-efi-1.7/efi/fwup-efi.c:25:15: warning: incompatible pointer types passing 'unsigned short[40]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 25 | fwup_debug(L"Not deleting variable '%s' as not found", name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-efi.c:28:14: warning: incompatible pointer types passing 'unsigned short[43]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 28 | fwup_debug(L"Could not get variable '%s' for delete: %r", name, rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-efi.c:55:15: warning: incompatible pointer types passing 'unsigned short[32]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 55 | fwup_debug(L"Could not get variable '%s': %r", name, rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-efi.c:59:14: warning: incompatible pointer types passing 'unsigned short[38]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 59 | fwup_debug(L"GetVariable(%s) succeeded with size=0", name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-efi.c:64:16: warning: incompatible pointer types passing 'unsigned short[32]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 64 | fwup_warning(L"Could not get variable '%s': %r", name, rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >5 warnings generated. >[3/8] /usr/lib/llvm/19/bin/clang -c ../fwupd-efi-1.7/efi/fwup-common.c -o efi/fwup-common.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI >../fwupd-efi-1.7/efi/fwup-common.c:39:16: warning: incompatible pointer types passing 'unsigned short[22]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 39 | fwup_warning(L"Could not allocate %d", size); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-common.c:44:16: warning: incompatible pointer types passing 'unsigned short[30]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 44 | fwup_warning(L"Got bad allocation at 0x%016x", (UINT64)pageaddr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-common.c:66:16: warning: incompatible pointer types passing 'unsigned short[22]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 66 | fwup_warning(L"Could not allocate %d", size); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-common.c:75:16: warning: incompatible pointer types passing 'unsigned short[22]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 75 | fwup_warning(L"Could not allocate %d", size); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwup-common.c:115:18: warning: incompatible pointer types passing 'unsigned short[24]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 115 | fwup_warning(L"Could not read file: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >5 warnings generated. >[4/8] /var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/python3.12/bin/python3 ../fwupd-efi-1.7/efi/generate_sbat.py efi/fwup-sbat.o --cc clang --cflags '-Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches -DDEBUGDIR="/usr/lib/debug" -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI' --objcopy /usr/lib/llvm/19/bin/llvm-objcopy --project-name fwupd-efi --project-version 1.7 --sbat-version 1 --sbat-generation 1 --sbat-distro-id gentoo --sbat-distro-generation 0 --sbat-distro-summary 'Gentoo GNU/Linux' --sbat-distro-pkgname fwupd-efi --sbat-distro-version 1.7 --sbat-distro-url https://packages.gentoo.org/packages/sys-apps/fwupd-efi >[5/8] /usr/lib/llvm/19/bin/clang -c ../fwupd-efi-1.7/efi/fwupdate.c -o efi/fwupdate.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI >../fwupd-efi-1.7/efi/fwupdate.c:84:16: warning: incompatible pointer types passing 'unsigned short[28]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 84 | fwup_warning(L"Update '%s' is is too small", name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:89:16: warning: incompatible pointer types passing 'unsigned short[54]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 89 | fwup_warning(L"Update '%s' is malformed, " > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 90 | L"and cannot hold a file path", name); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:97:16: warning: incompatible pointer types passing 'unsigned short[85]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 97 | fwup_warning(L"Update '%s' has an invalid file path, " > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 98 | L"device path offset is %d, but total size is %d", > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:106:16: warning: incompatible pointer types passing 'unsigned short[87]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 106 | fwup_warning(L"Update '%s' has an invalid file path, " > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 107 | L"update info size: %d dp size: %d size for dp: %d", > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:117:16: warning: incompatible pointer types passing 'unsigned short[22]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 117 | fwup_warning(L"Could not allocate %d", StrSize(name)); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:150:17: warning: incompatible pointer types passing 'unsigned short[32]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 150 | fwup_warning(L"Could not get variable name: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:159:29: warning: incompatible pointer types passing 'unsigned short[17]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 159 | if (StrCmp(variable_name, L"FWUPDATE_VERBOSE") == 0 || > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:314:24: note: passing argument to parameter 's2' here > 314 | IN CONST CHAR16 *s2 > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:160:29: warning: incompatible pointer types passing 'unsigned short[19]' to parameter of type 'const CHAR16 *' (aka 'const int *') [-Wincompatible-pointer-types] > 160 | StrCmp(variable_name, L"FWUPDATE_DEBUG_LOG") == 0) > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/efi/efilib.h:314:24: note: passing argument to parameter 's2' here > 314 | IN CONST CHAR16 *s2 > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:164:17: warning: incompatible pointer types passing 'unsigned short[19]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 164 | fwup_warning(L"Ignoring update %s", variable_name); > | ^~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:168:14: warning: incompatible pointer types passing 'unsigned short[16]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 168 | fwup_debug(L"Found update %s", variable_name); > | ^~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:175:17: warning: incompatible pointer types passing 'unsigned short[40]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 175 | fwup_warning(L"Could not populate update info for '%s'", variable_name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:202:16: warning: incompatible pointer types passing 'unsigned short[23]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 202 | fwup_warning(L"Could not find handles"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:208:13: warning: incompatible pointer types passing 'unsigned short[29]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 208 | fwup_debug(L"Searching Device Path: %s...", DevicePathToStr(dp)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:228:13: warning: incompatible pointer types passing 'unsigned short[25]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 228 | fwup_debug(L"Device Path prepared: %s", DevicePathToStr(parent_dp)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:238:14: warning: incompatible pointer types passing 'unsigned short[27]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 238 | fwup_debug(L"Device supporting SFSP: %s", DevicePathToStr(path)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:241:15: warning: incompatible pointer types passing 'unsigned short[21]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 241 | fwup_debug(L"Comparing: %s and %s", > | ^~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:250:16: warning: incompatible pointer types passing 'unsigned short[23]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 250 | fwup_debug(L"Match up! Returning %s", > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:259:15: warning: incompatible pointer types passing 'unsigned short[31]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 259 | fwup_warning(L"Failed to find '%s' DevicePath", DevicePathToStr(*file_dp)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:279:17: warning: incompatible pointer types passing 'unsigned short[35]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 279 | fwup_warning(L"Could not locate device handle: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:286:16: warning: incompatible pointer types passing 'unsigned short[34]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 286 | fwup_warning(L"Could not find appropriate device"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:297:16: warning: incompatible pointer types passing 'unsigned short[36]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 297 | fwup_warning(L"Invalid file device path of size %d", sz); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:307:16: warning: incompatible pointer types passing 'unsigned short[36]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 307 | fwup_warning(L"Could not open device interface: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:310:13: warning: incompatible pointer types passing 'unsigned short[13]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 310 | fwup_debug(L"Found device"); > | ^~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:314:16: warning: incompatible pointer types passing 'unsigned short[26]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 314 | fwup_warning(L"Could not open volume: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:317:13: warning: incompatible pointer types passing 'unsigned short[13]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 317 | fwup_debug(L"Found volume"); > | ^~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:322:16: warning: incompatible pointer types passing 'unsigned short[29]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 322 | fwup_warning(L"Could not open file '%s': %r", filename, rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:325:13: warning: incompatible pointer types passing 'unsigned short[11]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 325 | fwup_debug(L"Found file"); > | ^~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:421:16: warning: incompatible pointer types passing 'unsigned short[24]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 421 | fwup_warning(L"Invalid capsule size %d", fsize); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:425:13: warning: incompatible pointer types passing 'unsigned short[20]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 425 | fwup_debug(L"Read file; %d bytes", fsize); > | ^~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:426:13: warning: incompatible pointer types passing 'unsigned short[17]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 426 | fwup_debug(L"updates guid: %g", &update->info->guid); > | ^~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:427:13: warning: incompatible pointer types passing 'unsigned short[14]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 427 | fwup_debug(L"File guid: %g", fbuf); > | ^~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:444:14: warning: incompatible pointer types passing 'unsigned short[28]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 444 | fwup_debug(L"Checking GOP for ux capsule"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:468:14: warning: incompatible pointer types passing 'unsigned short[47]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 468 | fwup_debug(L"QueryCapsuleCapabilities: %r max: %ld reset:%d", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:473:16: warning: incompatible pointer types passing 'unsigned short[59]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 473 | fwup_warning(L"QueryCapsuleCapabilities failed, assuming EfiResetWarm: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:477:13: warning: incompatible pointer types passing 'unsigned short[13]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 477 | fwup_debug(L"Capsules: %d", num_updates); > | ^~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:483:16: warning: incompatible pointer types passing 'unsigned short[35]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 483 | fwup_warning(L"Could not apply capsule update: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:501:17: warning: incompatible pointer types passing 'unsigned short[46]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 501 | fwup_warning(L"Could not update variable status for '%s': %r", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:525:53: warning: incompatible pointer types passing 'unsigned short[11]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 525 | efi_status = uefi_call_wrapper(RT->GetVariable, 5, L"SHIM_DEBUG", > | ^~~~~~~~~~~~~ >/usr/include/efi/x86_64/efibind.h:302:51: note: expanded from macro 'uefi_call_wrapper' > 302 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__) > | ^~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwupdate.c:529:13: warning: incompatible pointer types passing 'unsigned short[17]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 529 | L"FWUPDATE_VERBOSE", > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/efi/x86_64/efibind.h:302:51: note: expanded from macro 'uefi_call_wrapper' > 302 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__) > | ^~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwupdate.c:543:12: warning: incompatible pointer types passing 'unsigned short[64]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 543 | fwup_info(L"add-symbol-file "DEBUGDIR > | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ > 544 | L"fwupdate.efi.debug %p -s .data %p", > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 545 | &_text, &_data); > | ~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:28:95: note: expanded from macro 'fwup_info' > 28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:562:12: warning: incompatible pointer types passing 'unsigned short[22]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 562 | fwup_info(L"fwupd-efi version " PACKAGE_VERSION); > | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:28:95: note: expanded from macro 'fwup_info' > 28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:577:16: warning: incompatible pointer types passing 'unsigned short[27]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 577 | fwup_warning(L"Could not find updates: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:581:16: warning: incompatible pointer types passing 'unsigned short[46]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 581 | fwup_warning(L"No updates to process, exiting in 10 seconds."); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:595:14: warning: incompatible pointer types passing 'unsigned short[19]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 595 | fwup_debug(L"Adding new capsule"); > | ^~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:599:17: warning: incompatible pointer types passing 'unsigned short[50]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 599 | fwup_warning(L"Could not add capsule with guid %g for update: %r", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:607:16: warning: incompatible pointer types passing 'unsigned short[33]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 607 | fwup_warning(L"Could not build update list: %r\n", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:611:13: warning: incompatible pointer types passing 'unsigned short[14]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 611 | fwup_debug(L"n_updates: %d", n_updates); > | ^~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:27:97: note: expanded from macro 'fwup_debug' > 27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:619:16: warning: incompatible pointer types passing 'unsigned short[32]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 619 | fwup_warning(L"Could not set update status: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:626:16: warning: incompatible pointer types passing 'unsigned short[29]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 626 | fwup_warning(L"Could not apply capsules: %r", rc); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:29:101: note: expanded from macro 'fwup_warning' > 29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >../fwupd-efi-1.7/efi/fwupdate.c:629:12: warning: incompatible pointer types passing 'unsigned short[13]' to parameter of type 'CHAR16 *' (aka 'int *') [-Wincompatible-pointer-types] > 629 | fwup_info(L"Reset System"); > | ^~~~~~~~~~~~~~~ >../fwupd-efi-1.7/efi/fwup-debug.h:28:95: note: expanded from macro 'fwup_info' > 28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args ) > | ^~~ >../fwupd-efi-1.7/efi/fwup-debug.h:21:16: note: passing argument to parameter 'fmt' here > 21 | CHAR16 *fmt, > | ^ >50 warnings generated. >[6/8] /usr/bin/uswid --cc clang --objcopy /usr/lib/llvm/19/bin/llvm-objcopy --load efi/swid.xml --save efi/fwup-sbom.o --cflags '-Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -funsigned-char -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-all-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches -DDEBUGDIR="/usr/lib/debug" -I. -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -mno-red-zone -mno-sse -mno-mmx -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI' >[7/8] /usr/lib/llvm/19/bin/clang -nostdlib -o efi/fwup.so -Wl,-T -Wl,/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/lds/elf_x86_64_efi.lds -Wl,-shared -Wl,-Bsymbolic -Wl,-nostdlib -Wl,-znocombreloc -Wl,-znorelro -Wl,-L -Wl,/usr/lib -Wl,-L -Wl,/usr/lib -Wl,/usr/lib/crt0-efi-x86_64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o efi/fwup-sbom.o -lefi -lgnuefi /usr/lib/llvm/19/bin/../../../../lib/clang/19/lib/linux/libclang_rt.builtins-x86_64.a >[31mFAILED: [0mefi/fwup.so >/usr/lib/llvm/19/bin/clang -nostdlib -o efi/fwup.so -Wl,-T -Wl,/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/lds/elf_x86_64_efi.lds -Wl,-shared -Wl,-Bsymbolic -Wl,-nostdlib -Wl,-znocombreloc -Wl,-znorelro -Wl,-L -Wl,/usr/lib -Wl,-L -Wl,/usr/lib -Wl,/usr/lib/crt0-efi-x86_64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o efi/fwup-sbom.o -lefi -lgnuefi /usr/lib/llvm/19/bin/../../../../lib/clang/19/lib/linux/libclang_rt.builtins-x86_64.a >ld.lld: error: -shared and -pie may not be used together >clang: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > [31;01m*[0m ERROR: sys-apps/fwupd-efi-1.7::gentoo failed (compile phase): > [31;01m*[0m ninja -v -j10 -l0 failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_compile > [31;01m*[0m environment, line 3558: Called meson_src_compile > [31;01m*[0m environment, line 2542: Called eninja > [31;01m*[0m environment, line 1678: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "$@" || die -n "${*} failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-apps/fwupd-efi-1.7::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-apps/fwupd-efi-1.7::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/fwupd-efi-1.7/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7-build' > [31;01m*[0m S: '/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7'
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 949655
: 918811 |
918812