Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 10091] gcc7.1 does not build with graphite support due to old isl
Date: Tue, 18 Jul 2017 18:07:39 +0000	[thread overview]
Message-ID: <bug-10091-163-2YedWbz1tB@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-10091-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=10091

--- Comment #11 from Peter Seiderer <ps.report@gmx.net> ---
$ ./host/usr/bin/arm-buildroot-linux-gnueabihf-g++ --version
arm-buildroot-linux-gnueabihf-g++.br_real (Buildroot
2017.08-git-01151-g8303ff38ef) 7.1.0

Include arm_acle.h and compile as C:

$ cat test_arm_acle_include.c 
#include <arm_acle.h>

int main(int argc, char* argv[]) {
        return 0;
}

$ ./host/usr/bin/arm-buildroot-linux-gnueabihf-gcc test_arm_acle_include.c

O.k, no failure


Include arm_acle.h and compile as C++:

$ cat test_arm_acle_include.cpp 
#include <arm_acle.h>

int main(int argc, char* argv[]) {
        return 0;
}

$ ./host/usr/bin/arm-buildroot-linux-gnueabihf-g++ test_arm_acle_include.cpp 
In file included from test_arm_acle_include.cpp:1:0:
/home/seiderer/Work/zeiss/freescale-imx6/build_rpi3_002/build-002-gcc-7-001/host/lib/gcc/arm-buildroot-linux-gnueabihf/7.1.0/include/arm_acle.h:
In function ?void __arm_ldc(unsigned int, unsigned int, const void*)?:
/home/seiderer/Work/zeiss/freescale-imx6/build_rpi3_002/build-002-gcc-7-001/host/lib/gcc/arm-buildroot-linux-gnueabihf/7.1.0/include/arm_acle.h:48:49:
error: invalid conversion from ?const void*? to ?const int*? [-fpermissive]
   return __builtin_arm_ldc (__coproc, __CRd, __p);
[...]

$ ./host/usr/bin/arm-buildroot-linux-gnueabihf-g++ -fpermissive
test_arm_acle_include.cpp

O.k., no failure...

Quick fix: add -fpermissive for the qt compile in case of gcc-7.x

Long term fix: ask the gcc people to fix arm_acle.h for C++ compile

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2017-07-18 18:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 14:24 [Buildroot] [Bug 10091] New: gcc7.1 does not build with graphite support due to old isl bugzilla at busybox.net
2017-07-17 14:26 ` [Buildroot] [Bug 10091] " bugzilla at busybox.net
2017-07-17 15:15 ` bugzilla at busybox.net
2017-07-17 17:00 ` bugzilla at busybox.net
2017-07-17 17:34 ` bugzilla at busybox.net
2017-07-17 18:59 ` bugzilla at busybox.net
2017-07-17 20:54 ` bugzilla at busybox.net
2017-07-17 23:26 ` bugzilla at busybox.net
2017-07-17 23:39 ` bugzilla at busybox.net
2017-07-18  1:54 ` bugzilla at busybox.net
2017-07-18 17:58 ` bugzilla at busybox.net
2017-07-18 18:07 ` bugzilla at busybox.net [this message]
2017-07-18 19:42 ` bugzilla at busybox.net
2017-07-19 18:46 ` bugzilla at busybox.net
2017-07-21 12:19 ` bugzilla at busybox.net
2017-07-24 20:36 ` bugzilla at busybox.net
2017-08-02 20:17 ` bugzilla at busybox.net

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=bug-10091-163-2YedWbz1tB@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --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