* [Buildroot] [PATCH] xvisor: needs gcc >= 4.9
@ 2016-09-24 12:47 Eric Le Bihan
2016-09-25 20:00 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Eric Le Bihan @ 2016-09-24 12:47 UTC (permalink / raw)
To: buildroot
xvisor needs gcc >= 4.9, as previous versions trigger an ICE on
dwarf2out_frame_debug_adjust_cfa() [1].
Fixes:
- http://autobuild.buildroot.net/results/fdb/fdb5a568fb38a9d20780cd37eecb71b60b6ca96a/
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60264
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
package/xvisor/Config.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/xvisor/Config.in b/package/xvisor/Config.in
index f450f6f..92e8937 100644
--- a/package/xvisor/Config.in
+++ b/package/xvisor/Config.in
@@ -1,6 +1,7 @@
menuconfig BR2_PACKAGE_XVISOR
bool "xvisor"
depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_arm || BR2_aarch64 || BR2_x86_64
depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV7M
help
@@ -56,3 +57,9 @@ config BR2_PACKAGE_XVISOR_BUILD_TEST_DTB
Build test device-tree blobs for popular boards.
endif
+
+comment "xvisor needs a toolchain w/ gcc >= 4.9"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ depends on BR2_USE_MMU
+ depends on BR2_arm || BR2_aarch64 || BR2_x86_64
+ depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV7M
--
2.4.11
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] xvisor: needs gcc >= 4.9
2016-09-24 12:47 [Buildroot] [PATCH] xvisor: needs gcc >= 4.9 Eric Le Bihan
@ 2016-09-25 20:00 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-09-25 20:00 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 24 Sep 2016 14:47:40 +0200, Eric Le Bihan wrote:
> xvisor needs gcc >= 4.9, as previous versions trigger an ICE on
> dwarf2out_frame_debug_adjust_cfa() [1].
>
> Fixes:
>
> - http://autobuild.buildroot.net/results/fdb/fdb5a568fb38a9d20780cd37eecb71b60b6ca96a/
>
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60264
>
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
> package/xvisor/Config.in | 7 +++++++
> 1 file changed, 7 insertions(+)
I've applied to master, after adding before a patch that adds a
BR2_PACKAGE_XVISOR_ARCH_SUPPORTS option, in order to avoid repeating
the architecture dependencies between the main option and the comment.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-25 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-24 12:47 [Buildroot] [PATCH] xvisor: needs gcc >= 4.9 Eric Le Bihan
2016-09-25 20:00 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox