Build of gnu-efi-libs with vanilla toolchain

The build took 00h 00m 49s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
14,467 ansic
1,231 asm
193 makefile
15,891 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: gnu-efi-libs 3.0.3-1 (Wed Aug 24 13:07:17 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# mkdir -p /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib
# make -C /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib -f /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/Makefile SRCDIR=/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib ARCH=x86_64
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib'
# for sdir in ia32 x86_64 ia64 aarch64 arm runtime; do mkdir -p $sdir; done
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/boxdraw.c -o boxdraw.o
# ar rv libefi.a boxdraw.o
# ar: creating libefi.a
# a - boxdraw.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/smbios.c -o smbios.o
# ar rv libefi.a smbios.o
# a - smbios.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/console.c -o console.o
# ar rv libefi.a console.o
# a - console.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/crc.c -o crc.o
# ar rv libefi.a crc.o
# a - crc.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/data.c -o data.o
# ar rv libefi.a data.o
# a - data.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/debug.c -o debug.o
# ar rv libefi.a debug.o
# a - debug.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/dpath.c -o dpath.o
# ar rv libefi.a dpath.o
# a - dpath.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/error.c -o error.o
# ar rv libefi.a error.o
# a - error.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/event.c -o event.o
# ar rv libefi.a event.o
# a - event.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/guid.c -o guid.o
# ar rv libefi.a guid.o
# a - guid.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c -o hand.o
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c: In function 'LibLocateHandleByDiskSignature':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c:120:28: warning: variable 'Start' set but not used [-Wunused-but-set-variable]
# EFI_DEVICE_PATH *Start, *Next, *DevPath;
# ^~~~~
# ar rv libefi.a hand.o
# a - hand.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c -o hw.o
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'ReadPort':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:79:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'WritePort':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:94:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'ReadPciConfig':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:109:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'WritePciConfig':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:124:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# ar rv libefi.a hw.o
# a - hw.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/init.c -o init.o
# ar rv libefi.a init.o
# a - init.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/lock.c -o lock.o
# ar rv libefi.a lock.o
# a - lock.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/misc.c -o misc.o
# ar rv libefi.a misc.o
# a - misc.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/print.c -o print.o
# ar rv libefi.a print.o
# a - print.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/sread.c -o sread.o
# ar rv libefi.a sread.o
# a - sread.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/str.c -o str.o
# ar rv libefi.a str.o
# a - str.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c -o cmdline.o
# In file included from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/efi.h:35:0,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/lib.h:20,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:1:
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c: In function 'GetShellArgcArgvFromLoadedImage':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:42:30: warning: passing argument 3 of 'BS->OpenProtocol' from incompatible pointer type [-Wincompatible-pointer-types]
# &LoadedImage,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:42:30: note: expected 'void **' but argument is of type 'EFI_LOADED_IMAGE ** {aka struct **}'
# &LoadedImage,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# ar rv libefi.a cmdline.o
# a - cmdline.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtlock.c -o runtime/rtlock.o
# ar rv libefi.a runtime/rtlock.o
# a - runtime/rtlock.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/efirtlib.c -o runtime/efirtlib.o
# ar rv libefi.a runtime/efirtlib.o
# a - runtime/efirtlib.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtstr.c -o runtime/rtstr.o
# ar rv libefi.a runtime/rtstr.o
# a - runtime/rtstr.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/vm.c -o runtime/vm.o
# ar rv libefi.a runtime/vm.o
# a - runtime/vm.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtdata.c -o runtime/rtdata.o
# ar rv libefi.a runtime/rtdata.o
# a - runtime/rtdata.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/initplat.c -o x86_64/initplat.o
# ar rv libefi.a x86_64/initplat.o
# a - x86_64/initplat.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/math.c -o x86_64/math.o
# ar rv libefi.a x86_64/math.o
# a - x86_64/math.o
# gcc -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c -o x86_64/setjmp.o /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/setjmp.S
# ar rv libefi.a x86_64/setjmp.o
# a - x86_64/setjmp.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/callwrap.c -o x86_64/callwrap.o
# ar rv libefi.a x86_64/callwrap.o
# a - x86_64/callwrap.o
# gcc -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c -o x86_64/efi_stub.o /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/efi_stub.S
# ar rv libefi.a x86_64/efi_stub.o
# a - x86_64/efi_stub.o
# rm hand.o x86_64/setjmp.o data.o runtime/efirtlib.o cmdline.o print.o debug.o misc.o console.o str.o x86_64/initplat.o error.o crc.o smbios.o hw.o x86_64/math.o runtime/rtdata.o runtime/rtlock.o guid.o runtime/vm.o boxdraw.o init.o x86_64/callwrap.o x86_64/efi_stub.o event.o sread.o runtime/rtstr.o dpath.o lock.o
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib'
# mkdir -p /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi
# make -C /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi -f /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/Makefile SRCDIR=/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi ARCH=x86_64
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi'
# gcc -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c -o crt0-efi-x86_64.o /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/crt0-efi-x86_64.S
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/reloc_x86_64.c -o reloc_x86_64.o
# ar rv libgnuefi.a reloc_x86_64.o
# ar: creating libgnuefi.a
# a - reloc_x86_64.o
# rm reloc_x86_64.o
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi'
# mkdir -p /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc
# make -C /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc -f /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/inc/Makefile SRCDIR=/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/inc ARCH=x86_64
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc'
# mkdir -p /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps
# make -C /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps -f /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/Makefile SRCDIR=/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps ARCH=x86_64
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps'
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t.c -o t.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t.o -o t.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t.so t.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t2.c -o t2.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t2.o -o t2.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t2.so t2.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t3.c -o t3.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t3.o -o t3.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t3.so t3.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t4.c -o t4.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t4.o -o t4.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t4.so t4.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t5.c -o t5.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t5.o -o t5.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t5.so t5.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t6.c -o t6.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t6.o -o t6.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t6.so t6.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/printenv.c -o printenv.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o printenv.o -o printenv.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 printenv.so printenv.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t7.c -o t7.o
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t7.c: In function 'efi_main':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t7.c:8:13: warning: variable 'efi_status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS efi_status;
# ^~~~~~~~~~
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t7.o -o t7.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t7.so t7.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/t8.c -o t8.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o t8.o -o t8.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 t8.so t8.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/tcc.c -o tcc.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o tcc.o -o tcc.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 tcc.so tcc.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/modelist.c -o modelist.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o modelist.o -o modelist.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 modelist.so modelist.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/route80h.c -o route80h.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o route80h.o -o route80h.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 route80h.so route80h.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0_use.c -o drv0_use.o
# In file included from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/efi.h:35:0,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0_use.c:7:
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0_use.c: In function 'PlayWithGnuEfiAppsDrv0Protocol':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0_use.c:26:30: warning: passing argument 3 of 'BS->OpenProtocol' from incompatible pointer type [-Wincompatible-pointer-types]
# &drv,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0_use.c:26:30: note: expected 'void **' but argument is of type 'GNU_EFI_APPS_DRV0_PROTOCOL ** {aka struct _GNU_EFI_APPS_DRV0_PROTOCOL **}'
# &drv,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o drv0_use.o -o drv0_use.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 drv0_use.so drv0_use.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/AllocPages.c -o AllocPages.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o AllocPages.o -o AllocPages.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 AllocPages.so AllocPages.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/FreePages.c -o FreePages.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o FreePages.o -o FreePages.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 FreePages.so FreePages.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/setjmp.c -o setjmp.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o setjmp.o -o setjmp.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 setjmp.so setjmp.efi
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/debughook.c -o debughook.o
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o debughook.o -o debughook.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-app-x86_64 debughook.so debughook.efi
# objcopy -j .debug_info -j .debug_abbrev -j .debug_aranges \
# -j .debug_line -j .debug_str -j .debug_ranges \
# -j .note.gnu.build-id \
# --target efi-app-x86_64 debughook.so debughook.efi.debug
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -D__KERNEL__ -I/usr/src/sys/build/include -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0.c -o drv0.o
# In file included from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/efi.h:35:0,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0.c:90:
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0.c: In function 'efi_main':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0.c:169:30: warning: passing argument 3 of 'BS->OpenProtocol' from incompatible pointer type [-Wincompatible-pointer-types]
# &LoadedImage, ImageHandle,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/drv0.c:169:30: note: expected 'void **' but argument is of type 'EFI_LOADED_IMAGE ** {aka struct **}'
# &LoadedImage, ImageHandle,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L../lib -L../gnuefi ../gnuefi/crt0-efi-x86_64.o drv0.o -o drv0.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/libgcc.a -T /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/apps/../gnuefi/elf_x86_64_efi.lds
# objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
# -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
# -j .reloc --target efi-bsdrv-x86_64 drv0.so drv0.efi
# rm debughook.so t3.o debughook.o t5.so drv0.so printenv.so tcc.so drv0_use.o t4.so t.o route80h.o t6.o AllocPages.o t3.so setjmp.o FreePages.o t5.o t.so t2.o drv0_use.so t8.o modelist.o t7.o route80h.so t6.so AllocPages.so drv0.o setjmp.so printenv.o tcc.o t4.o FreePages.so t2.so t8.so modelist.so t7.so
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib'
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/boxdraw.c -o boxdraw.o
# ar rv libefi.a boxdraw.o
# r - boxdraw.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/smbios.c -o smbios.o
# ar rv libefi.a smbios.o
# r - smbios.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/console.c -o console.o
# ar rv libefi.a console.o
# r - console.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/crc.c -o crc.o
# ar rv libefi.a crc.o
# r - crc.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/data.c -o data.o
# ar rv libefi.a data.o
# r - data.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/debug.c -o debug.o
# ar rv libefi.a debug.o
# r - debug.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/dpath.c -o dpath.o
# ar rv libefi.a dpath.o
# r - dpath.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/error.c -o error.o
# ar rv libefi.a error.o
# r - error.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/event.c -o event.o
# ar rv libefi.a event.o
# r - event.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/guid.c -o guid.o
# ar rv libefi.a guid.o
# r - guid.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c -o hand.o
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c: In function 'LibLocateHandleByDiskSignature':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hand.c:120:28: warning: variable 'Start' set but not used [-Wunused-but-set-variable]
# EFI_DEVICE_PATH *Start, *Next, *DevPath;
# ^~~~~
# ar rv libefi.a hand.o
# r - hand.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c -o hw.o
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'ReadPort':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:79:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'WritePort':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:94:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'ReadPciConfig':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:109:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c: In function 'WritePciConfig':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/hw.c:124:17: warning: variable 'Status' set but not used [-Wunused-but-set-variable]
# EFI_STATUS Status;
# ^~~~~~
# ar rv libefi.a hw.o
# r - hw.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/init.c -o init.o
# ar rv libefi.a init.o
# r - init.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/lock.c -o lock.o
# ar rv libefi.a lock.o
# r - lock.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/misc.c -o misc.o
# ar rv libefi.a misc.o
# r - misc.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/print.c -o print.o
# ar rv libefi.a print.o
# r - print.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/sread.c -o sread.o
# ar rv libefi.a sread.o
# r - sread.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/str.c -o str.o
# ar rv libefi.a str.o
# r - str.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c -o cmdline.o
# In file included from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/efi.h:35:0,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/lib.h:20,
# from /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:1:
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c: In function 'GetShellArgcArgvFromLoadedImage':
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:42:30: warning: passing argument 3 of 'BS->OpenProtocol' from incompatible pointer type [-Wincompatible-pointer-types]
# &LoadedImage,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/cmdline.c:42:30: note: expected 'void **' but argument is of type 'EFI_LOADED_IMAGE ** {aka struct **}'
# &LoadedImage,
# ^
# /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
# #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
# ^~~~~~~~~~~
# ar rv libefi.a cmdline.o
# r - cmdline.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtlock.c -o runtime/rtlock.o
# ar rv libefi.a runtime/rtlock.o
# r - runtime/rtlock.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/efirtlib.c -o runtime/efirtlib.o
# ar rv libefi.a runtime/efirtlib.o
# r - runtime/efirtlib.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtstr.c -o runtime/rtstr.o
# ar rv libefi.a runtime/rtstr.o
# r - runtime/rtstr.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/vm.c -o runtime/vm.o
# ar rv libefi.a runtime/vm.o
# r - runtime/vm.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/runtime/rtdata.c -o runtime/rtdata.o
# ar rv libefi.a runtime/rtdata.o
# r - runtime/rtdata.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/initplat.c -o x86_64/initplat.o
# ar rv libefi.a x86_64/initplat.o
# r - x86_64/initplat.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/math.c -o x86_64/math.o
# ar rv libefi.a x86_64/math.o
# r - x86_64/math.o
# gcc -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c -o x86_64/setjmp.o /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/setjmp.S
# ar rv libefi.a x86_64/setjmp.o
# r - x86_64/setjmp.o
# gcc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/x86_64 -I/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -g -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/callwrap.c -o x86_64/callwrap.o
# ar rv libefi.a x86_64/callwrap.o
# r - x86_64/callwrap.o
# gcc -DCONFIG_x86_64 -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -c -o x86_64/efi_stub.o /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/lib/x86_64/efi_stub.S
# ar rv libefi.a x86_64/efi_stub.o
# r - x86_64/efi_stub.o
# mkdir -p /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/lib
# install -m 644 libefi.a /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/lib/
# rm hand.o x86_64/setjmp.o data.o runtime/efirtlib.o cmdline.o print.o debug.o misc.o console.o str.o x86_64/initplat.o error.o crc.o smbios.o hw.o x86_64/math.o runtime/rtdata.o runtime/rtlock.o guid.o runtime/vm.o boxdraw.o init.o x86_64/callwrap.o x86_64/efi_stub.o event.o sread.o runtime/rtstr.o dpath.o lock.o
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/lib'
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi'
# mkdir -p /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/lib
# install -m 644 crt0-efi-x86_64.o libgnuefi.a /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/lib
# install -m 644 /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/gnuefi/elf_x86_64_efi.lds /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/lib
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/gnuefi'
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc'
# mkdir -p /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi
# mkdir -p /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi/protocol
# mkdir -p /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi/x86_64
# install -m 644 /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/inc/*.h /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi
# install -m 644 /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/inc/protocol/*.h /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi/protocol
# install -m 644 /tmp/gnu-efi-libs/src/gnu-efi-3.0.3/inc/x86_64/*.h /tmp/gnu-efi-libs/pkg/gnu-efi-libs/usr/include/efi/x86_64
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/inc'
# make[1]: Entering directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps'
# make[1]: Nothing to be done for 'install'.
# make[1]: Leaving directory '/tmp/gnu-efi-libs/src/gnu-efi-3.0.3/x86_64/apps'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "gnu-efi-libs"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: gnu-efi-libs 3.0.3-1 (Wed Aug 24 13:07:27 UTC 2016)

CMD: pacman --query --file gnu-efi-libs-3.0.3-1-x86_64.pkg.tar.xz
# gnu-efi-libs 3.0.3-1

Creating hybrid package for 'gnu-efi-libs'

Trying to find vanilla package 'gnu-efi-libs'...

CMD: pacman --query --file /mirror/gnu-efi-libs-3.0.3-1.pkg.tar.xz
# gnu-efi-libs 3.0.3-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/gnu-efi/apps/x86_64/tcc.efi
# /usr/share/gnu-efi/apps/x86_64/t8.efi
# /usr/share/gnu-efi/apps/x86_64/t7.efi
# /usr/share/gnu-efi/apps/x86_64/t6.efi
# /usr/share/gnu-efi/apps/x86_64/t5.efi
# /usr/share/gnu-efi/apps/x86_64/t4.efi
# /usr/share/gnu-efi/apps/x86_64/t3.efi
# /usr/share/gnu-efi/apps/x86_64/t2.efi
# /usr/share/gnu-efi/apps/x86_64/t.efi
# /usr/share/gnu-efi/apps/x86_64/setjmp.efi
# /usr/share/gnu-efi/apps/x86_64/route80h.efi
# /usr/share/gnu-efi/apps/x86_64/printenv.efi
# /usr/share/gnu-efi/apps/x86_64/modelist.efi
# /usr/share/gnu-efi/apps/x86_64/drv0_use.efi
# /usr/share/gnu-efi/apps/x86_64/drv0.efi
# /usr/share/gnu-efi/apps/x86_64/debughook.efi
# /usr/share/gnu-efi/apps/x86_64/FreePages.efi
# /usr/share/gnu-efi/apps/x86_64/AllocPages.efi
# /usr/include/efi/romload.h
# /usr/include/efi/pci22.h
# /usr/include/efi/libsmbios.h
# /usr/include/efi/efiui.h
# /usr/include/efi/efiudp.h
# /usr/include/efi/efitcp.h
# /usr/include/efi/efistdarg.h
# /usr/include/efi/efishellparm.h
# /usr/include/efi/efishellintf.h
# /usr/include/efi/efisetjmp.h
# /usr/include/efi/efiser.h
# /usr/include/efi/efirtlib.h
# /usr/include/efi/efipxebc.h
# /usr/include/efi/efiprot.h
# /usr/include/efi/efipoint.h
# /usr/include/efi/efipciio.h
# /usr/include/efi/efipart.h
# /usr/include/efi/efinet.h
# /usr/include/efi/efilink.h
# /usr/include/efi/efilib.h
# /usr/include/efi/efiip.h
# /usr/include/efi/efigpt.h
# /usr/include/efi/efifs.h
# /usr/include/efi/efierr.h
# /usr/include/efi/efidevp.h
# /usr/include/efi/efidef.h
# /usr/include/efi/efidebug.h
# /usr/include/efi/eficon.h
# /usr/include/efi/efiapi.h
# /usr/include/efi/efi_pxe.h
# /usr/include/efi/efi_nii.h
# /usr/include/efi/efi.h
# /usr/include/efi/x86_64/pe.h
# /usr/include/efi/x86_64/efisetjmp_arch.h
# /usr/include/efi/x86_64/efilibplat.h
# /usr/include/efi/x86_64/efibind.h
# /usr/include/efi/protocol/vgaclass.h
# /usr/include/efi/protocol/piflash64.h
# /usr/include/efi/protocol/legacyboot.h
# /usr/include/efi/protocol/intload.h
# /usr/include/efi/protocol/efivar.h
# /usr/include/efi/protocol/efidbg.h
# /usr/include/efi/protocol/eficonsplit.h
# /usr/include/efi/protocol/adapterdebug.h
# /usr/lib/elf_x86_64_efi.lds
# /usr/lib/libgnuefi.a
# /usr/lib/crt0-efi-x86_64.o
# /usr/lib/libefi.a
# /sysroot/usr/lib/libefi.a
# /sysroot/usr/lib/crt0-efi-x86_64.o
# /sysroot/usr/lib/libgnuefi.a
# /sysroot/usr/lib/elf_x86_64_efi.lds
# /sysroot/usr/include/efi/efi.h
# /sysroot/usr/include/efi/efi_nii.h
# /sysroot/usr/include/efi/efi_pxe.h
# /sysroot/usr/include/efi/efiapi.h
# /sysroot/usr/include/efi/eficon.h
# /sysroot/usr/include/efi/efidebug.h
# /sysroot/usr/include/efi/efidef.h
# /sysroot/usr/include/efi/efidevp.h
# /sysroot/usr/include/efi/efierr.h
# /sysroot/usr/include/efi/efifs.h
# /sysroot/usr/include/efi/efigpt.h
# /sysroot/usr/include/efi/efiip.h
# /sysroot/usr/include/efi/efilib.h
# /sysroot/usr/include/efi/efilink.h
# /sysroot/usr/include/efi/efinet.h
# /sysroot/usr/include/efi/efipart.h
# /sysroot/usr/include/efi/efipciio.h
# /sysroot/usr/include/efi/efipoint.h
# /sysroot/usr/include/efi/efiprot.h
# /sysroot/usr/include/efi/efipxebc.h
# /sysroot/usr/include/efi/efirtlib.h
# /sysroot/usr/include/efi/efiser.h
# /sysroot/usr/include/efi/efisetjmp.h
# /sysroot/usr/include/efi/efishellintf.h
# /sysroot/usr/include/efi/efishellparm.h
# /sysroot/usr/include/efi/efistdarg.h
# /sysroot/usr/include/efi/efitcp.h
# /sysroot/usr/include/efi/efiudp.h
# /sysroot/usr/include/efi/efiui.h
# /sysroot/usr/include/efi/libsmbios.h
# /sysroot/usr/include/efi/pci22.h
# /sysroot/usr/include/efi/romload.h
# /sysroot/usr/include/efi/protocol/adapterdebug.h
# /sysroot/usr/include/efi/protocol/eficonsplit.h
# /sysroot/usr/include/efi/protocol/efidbg.h
# /sysroot/usr/include/efi/protocol/efivar.h
# /sysroot/usr/include/efi/protocol/intload.h
# /sysroot/usr/include/efi/protocol/legacyboot.h
# /sysroot/usr/include/efi/protocol/piflash64.h
# /sysroot/usr/include/efi/protocol/vgaclass.h
# /sysroot/usr/include/efi/x86_64/efibind.h
# /sysroot/usr/include/efi/x86_64/efilibplat.h
# /sysroot/usr/include/efi/x86_64/efisetjmp_arch.h
# /sysroot/usr/include/efi/x86_64/pe.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf gnu-efi-libs.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/gnu-efi-libs.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/gnu-efi-libs.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 1515

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/gnu-efi-libs.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/gnu-efi-libs.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'