Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bullet: upgrade and fix on aarch64 #33494

Merged
merged 2 commits into from Jan 11, 2018
Merged

Bullet: upgrade and fix on aarch64 #33494

merged 2 commits into from Jan 11, 2018

Conversation

lheckemann
Copy link
Member

Motivation for this change

New upstream version, aarch64 build was broken

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@lheckemann
Copy link
Member Author

@GrahamcOfBorg build bullet

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

      _main in main_opengl_single_example.o
  "_useShadowMap", referenced from:
      GL_ShapeDrawer::drawScene(btDiscreteDynamicsWorld const*, bool, int) in GL_ShapeDrawer.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/build.make:230: examples/BasicDemo/AppBasicExampleGui] Error 1
make[1]: *** [CMakeFiles/Makefile2:344: examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
builder for ‘/nix/store/5kisf2hk2rrxr2a234z2rjqf39yc4yzk-bullet-2.87.drv’ failed with exit code 2
error: build of ‘/nix/store/5kisf2hk2rrxr2a234z2rjqf39yc4yzk-bullet-2.87.drv’ failed

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: aarch64-linux

/nix/store/iimnki16vgjsq8xds6bm8rjdkrr68lfg-bullet-2.87

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-linux

shrinking /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib/libBulletCollision.so.2.87
shrinking /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib/libBulletInverseDynamicsUtils.so.2.87
shrinking /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib/libHACD.so.2.87
shrinking /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib/libBullet3Dynamics.so.2.87
shrinking /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib/libBullet2FileLoader.so.2.87
strip is /nix/store/wxn5gn8amxm1w0ikcx4gbs8a17wvss4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87/lib 
patching script interpreter paths in /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87
checking for references to /tmp/nix-build-bullet-2.87.drv-0 in /nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87...
/nix/store/y1dq6q65bqsva03c9g72pwlajc8rw5n6-bullet-2.87

@lheckemann
Copy link
Member Author

The darwin failure is not introduced by this change: https://hydra.nixos.org/build/66960784

@lheckemann
Copy link
Member Author

@aforemny any feedback?

@aforemny
Copy link
Contributor

aforemny commented Jan 11, 2018

@lheckemann Looks good to me! Thank you!

@aforemny aforemny merged commit 9ab7768 into NixOS:master Jan 11, 2018
@lheckemann lheckemann deleted the bullet branch January 11, 2018 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants