diff mbox series

[2/6] package/gcc: remove libmudflap option

Message ID 20190802130937.12591-2-romain.naour@smile.fr
State Accepted
Commit 77b3c089e9385ae43daa359d476a7339cc2905bb
Headers show
Series [1/6] package/gdb: remove gdb 7.12.1 | expand

Commit Message

Romain Naour Aug. 2, 2019, 1:09 p.m. UTC
libmudflap was removed from gcc 4.9 [1] so it depends on gcc <= 4.9.
This option can't be selected since we removed gcc 4.8 from Buildroot
[2].

[1] 4a692aefee10088c385d30e829abf80af1616d1b
[2] f66952197b41452b77dfa065adc7172137e4c243

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 package/gcc/Config.in.host         | 16 ----------------
 package/gcc/gcc-final/gcc-final.mk |  8 --------
 package/gcc/gcc.mk                 |  6 ------
 3 files changed, 30 deletions(-)

Comments

Peter Korsgaard Aug. 2, 2019, 8:52 p.m. UTC | #1
>>>>> "Romain" == Romain Naour <romain.naour@smile.fr> writes:

 > libmudflap was removed from gcc 4.9 [1] so it depends on gcc <= 4.9.
 > This option can't be selected since we removed gcc 4.8 from Buildroot
 > [2].

 > [1] 4a692aefee10088c385d30e829abf80af1616d1b
 > [2] f66952197b41452b77dfa065adc7172137e4c243

 > Signed-off-by: Romain Naour <romain.naour@smile.fr>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index a3ba7cf90d..15ce7b81b5 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -154,22 +154,6 @@  config BR2_GCC_ENABLE_OPENMP
 	help
 	  Enable OpenMP support for the compiler
 
-config BR2_GCC_ENABLE_LIBMUDFLAP
-	bool "Enable libmudflap support"
-	# There are architectures, or specific configurations for
-	# which mudflap is not supported.
-	depends on !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
-	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
-	  use the -fmudflap gcc flag.
-
-	  See http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging and
-	  the help of the gcc -fmudflap option for more details.
-
-	  If you're unsure, leave this option disabled.
-
 config BR2_GCC_ENABLE_GRAPHITE
 	bool "Enable graphite support"
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index 49f16f699e..f478fde0d7 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -184,14 +184,6 @@  ifeq ($(BR2_GCC_ENABLE_OPENMP),y)
 HOST_GCC_FINAL_USR_LIBS += libgomp
 endif
 
-ifeq ($(BR2_GCC_ENABLE_LIBMUDFLAP),y)
-ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
-HOST_GCC_FINAL_USR_LIBS += libmudflapth
-else
-HOST_GCC_FINAL_USR_LIBS += libmudflap
-endif
-endif
-
 ifneq ($(HOST_GCC_FINAL_USR_LIBS),)
 define HOST_GCC_FINAL_INSTALL_STATIC_LIBS
 	for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 46ad16df13..20ef544ef5 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -155,12 +155,6 @@  ifeq ($(BR2_GCC_ENABLE_LTO),y)
 HOST_GCC_COMMON_CONF_OPTS += --enable-plugins --enable-lto
 endif
 
-ifeq ($(BR2_GCC_ENABLE_LIBMUDFLAP),y)
-HOST_GCC_COMMON_CONF_OPTS += --enable-libmudflap
-else
-HOST_GCC_COMMON_CONF_OPTS += --disable-libmudflap
-endif
-
 ifeq ($(BR2_PTHREADS_NONE),y)
 HOST_GCC_COMMON_CONF_OPTS += \
 	--disable-threads \