Skip to contentSkip to conversation

gcc/libmudflap: also unavailable for gcc 6.x

PATCH New Bernd Kuhls 3 participants 4 messages May 28, 2016 – May 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc/libmudflap: also unavailable for gcc 6.x

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

---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gcc/Config.in.host +1 -0
index 8cf2d56..ee4d0eb 100644
@@ -153,6 +153,7 @@ config BR2_GCC_ENABLE_LIBMUDFLAP
 	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
 	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: also unavailable for gcc 6.x

Quoted 13 lines · Bernd Kuhls

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

---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gcc/Config.in.host +0 -0
index 8cf2d56..ee4d0eb 100644

package/gcc/Config.in.host config BR2_GCC_ENABLE_LIBMUDFLAP · line 156

Quoted 4 lines
package/gcc/Config.in.host +1 -0
@@ -153,6 +153,7 @@ config BR2_GCC_ENABLE_LIBMUDFLAP
 	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

Since 4.7 is deprecated and 4.8 will in a year or so, perhaps it's time to
replace this with

	depends on BR2_GCC_VERSION_4_7_X || BR2_GCC_VERSION_4_8_X

Or even better

depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

That said, this patch does the trick and we want this in 2016.05, so

Regards,
Arnout

Quoted 4 lines
package/gcc/Config.in.host +0 -0
 	help
 	  libmudflap is a gcc library used for the mudflap pointer
 	  debugging functionality. It is only needed if you intend to
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 gcc/libmudflap: also unavailable for gcc 6.x

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Hi,

Quoted 10 lines

Since 4.7 is deprecated and 4.8 will in a year or so, perhaps it's time to
replace this with

	depends on BR2_GCC_VERSION_4_7_X || BR2_GCC_VERSION_4_8_X

Or even better

depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

That said, this patch does the trick and we want this in 2016.05, so

Agreed, care to send a patch for next?

Signature · 1 line
Bye, Peter Korsgaard