Skip to contentSkip to conversation

git-crypt: disable for gcc affected by bug #64735

PATCH New Baruch Siach 2 participants 2 messages Aug 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-crypt: disable for gcc affected by bug #64735

git-crypt needs exception_ptr. gcc older than 7 don't provide that on all architectures due to gcc bug #64735.

Fixes:
http://autobuild.buildroot.net/results/2a7/2a76ce39bc639b4f17ff33f8447d9094215e68d8/

---
 package/git-crypt/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/git-crypt/Config.in +5 -0
index bb86219cf89f..9a270b8f9d07 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GIT_CRYPT
 	bool "git-crypt"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
 	depends on BR2_USE_MMU # git
 	select BR2_PACKAGE_GIT # runtime
 	select BR2_PACKAGE_OPENSSL
@@ -15,3 +16,7 @@ comment "git-crypt needs a toolchain w/ C++, gcc >= 4.9"
 	depends on !BR2_INSTALL_LIBSTDCPP \
 		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	depends on BR2_USE_MMU
+
+comment "git-crypt needs a toolchain not affected by GCC bug 64735"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 git-crypt: disable for gcc affected by bug #64735

Hello,

Quoted 10 lines · Baruch Siach

git-crypt needs exception_ptr. gcc older than 7 don't provide that on all architectures due to gcc bug #64735.

Fixes:
http://autobuild.buildroot.net/results/2a7/2a76ce39bc639b4f17ff33f8447d9094215e68d8/

---
 package/git-crypt/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com