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

mongodb-5_0: fix building on aarch64-linux #327173

Closed
wants to merge 1 commit into from

Conversation

qubitnano
Copy link
Contributor

@qubitnano qubitnano commented Jul 14, 2024

Description of changes

Fixes #327078

src/mongo/db/stats/counters.h:224:47: error: static assertion failed: cache line spill
  224 |     static_assert(sizeof(decltype(_together)) <= stdx::hardware_constructive_interference_size,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Compiled with nix build --impure .#pkgsCross.aarch64-multiplatform.mongodb-5_0

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux (pkgsCross)
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@qubitnano qubitnano added the backport release-24.05 Backport PR automatically label Jul 14, 2024
@qubitnano qubitnano force-pushed the mongo5-aarch64 branch 3 times, most recently from ddb66c7 to 0d89b2c Compare August 18, 2024 20:28
@qubitnano qubitnano changed the title mongodb-5_0: fix building on aarch64 mongodb-5_0: fix building on aarch64-linux Aug 18, 2024
src/mongo/db/stats/counters.h:224:47: error: static assertion failed:
cache line spill
  224 |     static_assert(sizeof(decltype(_together)) <=
stdx::hardware_constructive_interference_size,
      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@qubitnano
Copy link
Contributor Author

mongodb-5_0 was removed

@qubitnano qubitnano closed this Oct 7, 2024
@qubitnano qubitnano deleted the mongo5-aarch64 branch October 7, 2024 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant