assimp: disable on Microblaze
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 16 May 2016 22:03:19 +0000 (00:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 17 May 2016 11:22:11 +0000 (13:22 +0200)
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/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/assimp/Config.in

index 35e2f239acf3bc9d35f53bc076f3aa0238b61f86..93020f72382a49bf0b9073df2636ad37c7636b86 100644 (file)
@@ -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