Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Qt5WebKit anf gcc 6.x
Date: Thu, 22 Sep 2016 08:10:02 +0200	[thread overview]
Message-ID: <20160922081002.5c1b1e94@free-electrons.com> (raw)
In-Reply-To: <1474485754.5453.8.camel@synopsys.com>

Hello,

On Wed, 21 Sep 2016 19:22:42 +0000, Alexey Brodkin wrote:

> For G++ "QMAKE_CFLAGS_ISYSTEM = -isystem", see?https://github.com/qt/qtbase/blob/dev/mkspecs/common/gcc-base.conf#L47
> 
> That's how include path gets prefixed with either normal "-I" if path has no matches in
> QMAKE_DEFAULT_INCDIRS otherwise "-isystem " prefix is used.

OK.

> > In any case, I believe this is where the problem is: I don't see why
> > Qt5 should mess up with the addition of -isystem flags.  
> 
> Agree, but see what Qt people say in similar bug reports:
> https://bugreports.qt.io/browse/QTBUG-53367
> https://bugreports.qt.io/browse/QTBUG-53375
> 
> And BTW that commit added all this mess:
> http://code.qt.io/cgit/qt/qtbase.git/commit?id=0b144bc76a368ecc6c5c1121a1b51e888a0621ac

Thanks for the pointers. Unfortunately, the commit log is useless: it
says what the commit does, but not *why*. So we have no idea why such a
change was done, and the author is not very helpful in explanations in
the bug reports.

So, I believe there are two possibilities here:

 - Check who is adding
   XXX/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include
   to QMAKE_DEFAULT_INCDIRS, and change it to add it to INCLUDEPATH
   instead, so that it's not considered as a "system include path".
   This is what the developer suggested in
   https://bugreports.qt.io/browse/QTBUG-53367.

 - Change our package/qt5/qt5base/qmake.conf file to set
   QMAKE_CFLAGS_ISYSTEM to the empty value, which will disable this new
   "isystem" logic.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2016-09-22  6:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 15:28 [Buildroot] Qt5WebKit anf gcc 6.x Alexey Brodkin
2016-09-21 19:09 ` Thomas Petazzoni
2016-09-21 19:22   ` Alexey Brodkin
2016-09-22  6:10     ` Thomas Petazzoni [this message]
2016-09-22  7:45   ` Alexey Brodkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160922081002.5c1b1e94@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox