All of lore.kernel.org
 help / color / mirror / Atom feed
* gcc 6.1+ and isystem
@ 2016-08-30 15:37 Jack Mitchell
  2016-08-30 17:00 ` Richard Purdie
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jack Mitchell @ 2016-08-30 15:37 UTC (permalink / raw)
  To: OE-core

Some of the headers shipped with gcc 6.1 and above now use #include_next 
to try to and do clever things with munging system header files. Our 
injection of isystem into the build at 'meta/conf/bitbake.conf' seems to 
be causing some programs to fail to compile. A full explanation can be 
found at [1], a bug report from GCC specifying that it should only be 
used in extreme cases at [2].

Since we seem to be adding -isystem unconditionally to BUILD_CFLAGS from 
bitbake, and that the default behavior has now changed should this be 
revisited? I'll admit that I am no where near experienced enough with 
GCC and friends internals to make a call on this one, I'm just looking 
for some input.

Regards,
Jack.

[1] 
http://stackoverflow.com/questions/37218953/isystem-on-a-system-include-directory-causes-errors
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-30 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 15:37 gcc 6.1+ and isystem Jack Mitchell
2016-08-30 17:00 ` Richard Purdie
2016-08-30 17:11   ` Andreas Müller
2016-08-30 18:47 ` Philip Balister
2016-08-30 19:36 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.