Skip to contentSkip to conversation

webkitgtk24: depends on gcc >= 4.8

PATCH New Gustavo Zacarias 2 participants 2 messages Aug 5, 2015 – Aug 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 webkitgtk24: depends on gcc >= 4.8

Webkit 2.4.x depends on gcc being >= 4.8.x so use the new BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y knob and drop the manual x86* external toolchain exclusions.
Follow up in the midori package as well.

---
 package/midori/Config.in      |  6 ++++--
 package/webkitgtk24/Config.in | 11 +++--------
 2 files changed, 7 insertions(+), 10 deletions(-)
package/midori/Config.in +4 -2
index b3ab8a9..11a2806 100644
@@ -1,7 +1,8 @@
-comment "midori needs libgtk2 and a toolchain w/ C++, wchar, NPTL"
+comment "midori needs libgtk2 and a toolchain w/ C++, wchar, NPTL, gcc >= 4.8"
 	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_LIBGTK2
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_LIBGTK2 \
+		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
 
 config BR2_PACKAGE_MIDORI
 	bool "midori"
@@ -16,6 +17,7 @@ config BR2_PACKAGE_MIDORI
 	depends on BR2_INSTALL_LIBSTDCPP # webkitgtk24
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # webkitgtk24
 	depends on BR2_USE_WCHAR # webkitgtk24
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # webkitgtk24
 	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	help
 	  Midori is a lightweight web browser based on WebKit
package/webkitgtk24/Config.in +3 -8
index d8c5e93..0a30bac 100644
@@ -2,25 +2,19 @@ config BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	bool
 	# ARM needs BLX, so v5t+, BE completely untested so disabled
 	default y if BR2_arm && !BR2_ARM_CPU_ARMV4
-	# i386 / x86_64 external toolchains have issues and old gcc versions
-	# https://bugs.webkit.org/show_bug.cgi?id=132231
-	# https://stackoverflow.com/questions/9140019/yield-is-not-a-member-of-stdthis-thread
 	default y if BR2_i386 || BR2_x86_64
-	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
-	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
-	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 	# Disabled on MIPS big endian due to sigbus
 	default y if BR2_mipsel || BR2_mips64el
 	# Disabled on PowerPC pending runtime testing
 	# Disabled on SuperH because of segfault
 	depends on BR2_USE_MMU # libglib2
 
-comment "webkitgtk24 needs libgtk2 and a toolchain w/ C++, wchar, NPTL"
+comment "webkitgtk24 needs libgtk2 and a toolchain w/ C++, wchar, NPTL, gcc >=4.8"
 	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	depends on BR2_ARCH_HAS_ATOMICS
 	depends on !BR2_PACKAGE_LIBGTK2 || !BR2_PACKAGE_XORG7 || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP \
-		|| !BR2_USE_WCHAR
+		|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
 	depends on BR2_USE_MMU
 
 config BR2_PACKAGE_WEBKITGTK24
@@ -28,6 +22,7 @@ config BR2_PACKAGE_WEBKITGTK24
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
 	depends on (BR2_PACKAGE_LIBGTK2 && BR2_PACKAGE_XORG7)
 	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	depends on BR2_ARCH_HAS_ATOMICS
Signature · 1 line
2.4.6
#1 lore raw

PATCH 1/1 webkitgtk24: depends on gcc >= 4.8

Dear Gustavo Zacarias,

Quoted 10 lines · Gustavo Zacarias

Webkit 2.4.x depends on gcc being >= 4.8.x so use the new BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y knob and drop the manual x86* external toolchain exclusions.
Follow up in the midori package as well.

---
 package/midori/Config.in      |  6 ++++--
 package/webkitgtk24/Config.in | 11 +++--------
 2 files changed, 7 insertions(+), 10 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com