Skip to contentSkip to conversation

gcc/libmudflap: unavailable for gcc >= 4.9

PATCH New Bernd Kuhls 2 participants 2 messages Jun 4, 2016 – Jun 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc/libmudflap: unavailable for gcc >= 4.9

Rework gcc dependency for mudflap as suggested by Arnout and Peter:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149813

libmudflap was removed in gcc 4.9:
https://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging

---
 package/gcc/Config.in.host | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
package/gcc/Config.in.host +1 -3
index cfb0958..529f8da 100644
@@ -151,9 +151,7 @@ config BR2_GCC_ENABLE_LIBMUDFLAP
 	# There are architectures, or specific configurations for
 	# which mudflap is not supported.
 	depends on !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
-	depends on !BR2_GCC_VERSION_4_9_X
-	depends on !BR2_GCC_VERSION_5_X
-	depends on !BR2_GCC_VERSION_6_X
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	help
 	  libmudflap is a gcc library used for the mudflap pointer
 	  debugging functionality. It is only needed if you intend to
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 gcc/libmudflap: unavailable for gcc >= 4.9

Hello,

Quoted 10 lines · Bernd Kuhls

Rework gcc dependency for mudflap as suggested by Arnout and Peter:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149813

libmudflap was removed in gcc 4.9:
https://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging

---
 package/gcc/Config.in.host | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Applied to master, thanks. We will be able to remove mudflap support when gcc 4.8 gets deprecated.

Thomas

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