On Fri, Jul 11, 2014 at 02:58:20PM +0200, Julian Andres Klode wrote: > That's true. IMO Gnu EFI needs to be patched to not include efistdarg.h by > default and hide the vaargs functions if the header is not included. That > would fix all issues. > > Or change it to define the va functions in terms of GCC builtins. This > should work as well IMO.
I think it'd be easiest to just stub out va_copy as well (it's used in lib/print.c - as long as the stdlib.h include remains patched out): #define va_copy(d,s) ((d) = (s)) That resolves the dangling reference at gnu-efi compile-time and lets gummiboot compile. I did not test the end result, but we're talking about DbgPrint which gummiboot does not even use. Kind regards Philipp Kern
signature.asc
Description: Digital signature