[Bug 1429978] [NEW] fix ftbfs with GCC 5

Matthias Klose doko at ubuntu.com
Mon Mar 9 18:59:42 UTC 2015


Public bug reported:

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.

** Affects: shim (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: ftbfs

** Patch added: "shim.debdiff"
   https://bugs.launchpad.net/bugs/1429978/+attachment/4339172/+files/shim.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim in Ubuntu.
https://bugs.launchpad.net/bugs/1429978

Title:
  fix ftbfs with GCC 5

Status in shim package in Ubuntu:
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1429978/+subscriptions



More information about the foundations-bugs mailing list