From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] package/gcc: backport arm acle bugfix 81497
Date: Thu, 19 Jul 2018 11:49:20 +0200 [thread overview]
Message-ID: <87va9bftcv.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20180612194939.21718-1-gael.portay@savoirfairelinux.com> ("Gaël PORTAY"'s message of "Tue, 12 Jun 2018 15:49:39 -0400")
>>>>> "Ga?l" == Ga?l PORTAY <gael.portay@savoirfairelinux.com> writes:
> The compiler g++ reports an error when the header arm_acle.h is
> included from version 7.
> This patch backports the bugfix upstreamed[1] for gcc-7 and gcc-8.
> Fixes:
> In file included from ../../include/QtCore/5.10.1/QtCore/private/../../../../../src/corelib/tools/qsimd_p.h:333,
> from ../../include/QtCore/5.10.1/QtCore/private/qsimd_p.h:1,
> from global/qlogging.cpp:58:
> /home/gportay/src/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.1.0/include/arm_acle.h: In function ?void __arm_ldc(unsigned int, unsigned int, const void*)?:
> /home/gportay/src/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.1.0/include/arm_acle.h:48:46: error: invalid conversion from ?const void*? to ?const int*? [-fpermissive]
> return __builtin_arm_ldc (__coproc, __CRd, __p);
> ^~~
> <built-in>: note: initializing argument 3 of ?void __builtin_arm_ldc(unsigned int, unsigned int, const int*)?
> ...
> Makefile:196: recipe for target 'sub-corelib-make_first' failed
> make[3]: *** [sub-corelib-make_first] Error 2
> Makefile:48: recipe for target 'sub-src-make_first' failed
> make[2]: *** [sub-src-make_first] Error 2
> package/pkg-generic.mk:229: recipe for target '/home/gportay/src/buildroot/output/build/qt5base-5.10.1/.stamp_built' failed
> make[1]: *** [/home/gportay/src/buildroot/output/build/qt5base-5.10.1/.stamp_built] Error 2
> Makefile:16: recipe for target '_all' failed
> make: *** [_all] Error 2
> [1]: https://gcc.gnu.org/bugzilla//show_bug.cgi?id=81497
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
> Hi all,
> I found a build issue when I was building qt5base 5.10/5.11 for raspberrypi3.
> The issue comes from g++ and arm_acle.h. I backported the upstream bugfix and
> successfully tested it against gcc-7 and gcc-8.
Committed to 2018.02.x and 2018.05.x after dropping the gcc-8.x patch, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2018-07-19 9:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 19:49 [Buildroot] [PATCH v1] package/gcc: backport arm acle bugfix 81497 Gaël PORTAY
2018-06-28 20:42 ` Romain Naour
2018-06-28 21:15 ` Thomas Petazzoni
2018-07-19 9:49 ` Peter Korsgaard [this message]
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=87va9bftcv.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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