Commit Graph

3 Commits

Author SHA1 Message Date
Giulio Benetti
28a9aec018 package/bullet: re-enable package when gcc bug 85180 is present
With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This
package has been excluded from building on Microblaze due to this.

To be consistent with how we deal with this issue in other packages,
we re-enable the package and instead work around the issue by building
with -O0, since gcc bug 85180 manifests itself only when optimization
is enabled.

To achieve this pass -O0 in CMAKE_CXX_FLAGS and remove 'depends on
!BR2_microblaze' and its comment if not available from Config.in.

Note that the comment was talking about gcc bug 68476, but this gcc
bug is a duplicate of 85180. Since all Buildroot packages now use the
reference to gcc bug 85180 and the option is named
BR2_TOOLCHAIN_HAS_GCC_BUG_85180, we use this naming as well for
bullet.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-06-19 14:44:54 +02:00
Arnout Vandecappelle
eaa876ad31 bullet: disable on microblaze
gcc doesn't finish compiling btSoftBody.cpp when optimization is
enabled.

Fixes:
http://autobuild.buildroot.net/results/6e4a9ede477b031f47f7e271c38f67f432a3573c
http://autobuild.buildroot.net/results/7dc4ab759dd3b1e3e03fe52c78e31327340bf8c9
http://autobuild.buildroot.net/results/637bae8b2be6c4c64f4f7c661cc8d4606b553538

[Thomas: add reference to gcc bug.]

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-22 14:04:01 +01:00
Romain Naour
176e408b36 package/bullet: new package
[Thomas:
  - move package to 'Libraries -> Graphics'
  - wrap the Config.in help text
  - change license from "Zlib" to "zlib license" to match what the
    zlib package is doing.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-25 11:09:41 +02:00