Skip to contentSkip to conversation

assimp: disable on Microblaze

PATCH New Thomas Petazzoni 2 participants 2 messages May 16, 2016 – May 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 assimp: disable on Microblaze

This package triggers an infinite loop bug in gcc on the Microblaze architecture when the optimization level is O1, O2 or O3. This bug has been reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124.

While Buildroot by default uses an Os optimization level, assimp's build system overrides that by O3 by default.

This problem is causing timeouts in the autobuilders that make them consume 100% of CPU during 8 hours (the timeout used by the autobuilder scripts).

Fixes:

http://autobuild.buildroot.net/results/084fc537ab81aed278126f173daf99f2699ef22c/

---
 package/assimp/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/assimp/Config.in +5 -0
index 35e2f23..93020f7 100644
@@ -1,5 +1,9 @@
 config BR2_PACKAGE_ASSIMP
 	bool "assimp"
+	# All gcc versions affected by
+	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124, that
+	# cause an infinite loop in gcc when building this package.
+	depends on !BR2_microblaze
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_ZLIB
 	help
@@ -11,4 +15,5 @@ config BR2_PACKAGE_ASSIMP
 	  http://www.assimp.org
 
 comment "assimp needs a toolchain w/ C++"
+	depends on !BR2_microblaze
 	depends on !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 assimp: disable on Microblaze

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

This package triggers an infinite loop bug in gcc on the Microblaze architecture when the optimization level is O1, O2 or O3. This bug has been reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124.

Quoted 6 lines

While Buildroot by default uses an Os optimization level, assimp's build system overrides that by O3 by default.

This problem is causing timeouts in the autobuilders that make them consume 100% of CPU during 8 hours (the timeout used by the autobuilder scripts).

It would be good if some CMake person could figure out how to drop this hardcoded -O3 so it uses our CFLAGS - But until then:

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard