* kernel build still pulls in host includes even with -nostdinc
@ 2017-02-19 6:41 Andrei Borzenkov
2017-02-19 9:02 ` Vladimir 'phcoder' Serbinenko
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Borzenkov @ 2017-02-19 6:41 UTC (permalink / raw)
To: The development of GNU GRUB
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel build still pulls in host includes even with -nostdinc
2017-02-19 6:41 kernel build still pulls in host includes even with -nostdinc Andrei Borzenkov
@ 2017-02-19 9:02 ` Vladimir 'phcoder' Serbinenko
2017-02-19 17:27 ` Colin Watson
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2017-02-19 9:02 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 634 bytes --]
On Sun, Feb 19, 2017, 07:41 Andrei Borzenkov <arvidjaar@gmail.com> 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
>
> So we do have definitions from /usr/lib/gcc/x86_64-linux-gnu/5/include
> used.
>
> How harmless/harmful is it?
>
We use it for va_args definition and related macros. I don't think we want
to reimplement those
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #2: Type: text/html, Size: 1502 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel build still pulls in host includes even with -nostdinc
2017-02-19 9:02 ` Vladimir 'phcoder' Serbinenko
@ 2017-02-19 17:27 ` Colin Watson
0 siblings, 0 replies; 3+ messages in thread
From: Colin Watson @ 2017-02-19 17:27 UTC (permalink / raw)
To: grub-devel
On Sun, Feb 19, 2017 at 09:02:50AM +0000, Vladimir 'phcoder' Serbinenko wrote:
> On Sun, Feb 19, 2017, 07:41 Andrei Borzenkov <arvidjaar@gmail.com> 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
> >
> > So we do have definitions from /usr/lib/gcc/x86_64-linux-gnu/5/include
> > used.
> >
> > How harmless/harmful is it?
>
> We use it for va_args definition 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.
--
Colin Watson [cjwatson@ubuntu.com]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-19 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-19 6:41 kernel build still pulls in host includes even with -nostdinc Andrei Borzenkov
2017-02-19 9:02 ` Vladimir 'phcoder' Serbinenko
2017-02-19 17:27 ` Colin Watson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).