[Buildroot] [git commit] xvisor: needs gcc >= 4.9

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 25 19:58:07 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=e31047163033e218640145b6f4d6bc5108353e07
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/xvisor/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/xvisor/Config.in b/package/xvisor/Config.in
index c7a3b49..996d37a 100644
--- a/package/xvisor/Config.in
+++ b/package/xvisor/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
 menuconfig BR2_PACKAGE_XVISOR
 	bool "xvisor"
 	depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	help
 	  Xvisor is an open-source type-1 hypervisor, which aims at providing
 	  a monolithic, light-weight, portable, and flexible virtualization
@@ -61,3 +62,7 @@ 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_PACKAGE_XVISOR_ARCH_SUPPORTS


More information about the buildroot mailing list