kernel build still pulls in host includes even with -nostdinc
Could someone comment on this?
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include
So we do have definitions from /usr/lib/gcc/x86_64-linux-gnu/5/include used.
How harmless/harmful is it?
Quoted 11 lines · On Sun, Feb 19, 2017, 07:41 Andrei Borzenkov <[email protected]> wrote:
Could someone comment on this?
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/5/includeSo we do have definitions from
/usr/lib/gcc/x86_64-linux-gnu/5/includeused.How harmless/harmful is it?
We use it for va_args definition and related macros. I don't think we want to reimplement those
Quoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 7 lines · Vladimir 'phcoder' Serbinenko
Quoted 6 lines · On Sun, Feb 19, 2017, 07:41 Andrei Borzenkov <[email protected]> wrote:
Could someone comment on this?
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/5/include
Quoted 7 lines
Quoted 4 lines
So we do have definitions from
/usr/lib/gcc/x86_64-linux-gnu/5/includeused.How harmless/harmful is it?
We use it for
va_argsdefinition and related macros. I don't think we want to reimplement those
Yeah, I'd say that that include directory is really part of the compiler rather than part of the host system as such.
Signature · 1 line
Colin Watson [[email protected]]