Comment 4 for bug 1429978

Revision history for this message
dekchay (dekchay) wrote :

cc -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -Wall -Werror -mno-red-zone -maccumulate-outgoing-args -mno-mmx -mno-sse -fno-builtin "-DDEFAULT_LOADER=L\"\\\\grubx64.efi\"" "-DDEFAULT_LOADER_CHAR=\"\\\\grubx64.efi\"" -nostdinc -ICryptlib -ICryptlib/Include -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -Iinclude -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DVENDOR_CERT_FILE=\"debian/canonical-uefi-ca.der\" -D_FORTIFY_SOURCE=2 -c -o shim.o shim.c
In file included from /usr/include/efi/efi.h:35:0,
                 from shim.c:36:
/usr/include/efi/x86_64/efibind.h:86:24: fatal error: stdint.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'shim.o' failed
make[2]: *** [shim.o] Error 1

the efibind.h header tries to include stdint.h for c99 or c11, and fails with -nostdinc.