[PR #2397] [MERGED] Fix building mimalloc on armv6 #6726

Closed
opened 2026-03-07 21:03:49 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2397
Author: @BlackDex
Created: 3/27/2022
Status: Merged
Merged: 3/27/2022
Merged by: @dani-garcia

Base: mainHead: fix-mimalloc-build


📝 Commits (1)

  • d98f95f Fix building mimalloc on armv6

📊 Changes

9 files changed (+20 additions, -21 deletions)

View changed files

📝 docker/Dockerfile.j2 (+4 -5)
📝 docker/amd64/Dockerfile.alpine (+0 -1)
📝 docker/amd64/Dockerfile.buildx.alpine (+0 -1)
📝 docker/arm64/Dockerfile.alpine (+2 -2)
📝 docker/arm64/Dockerfile.buildx.alpine (+2 -2)
📝 docker/armv6/Dockerfile.alpine (+4 -2)
📝 docker/armv6/Dockerfile.buildx.alpine (+4 -2)
📝 docker/armv7/Dockerfile.alpine (+2 -3)
📝 docker/armv7/Dockerfile.buildx.alpine (+2 -3)

📄 Description

The armv6 builds need a specific location for the libatomic.a file.
This commit fixes that by adding a RUSTFLAGS argument for this.

Also removed the link-arg=-s since this is now already done during via the release profile
And removed the CFLAGS for armv7, this is already fixed by default in the blackdex/rust-musl images.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2397 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 3/27/2022 **Status:** ✅ Merged **Merged:** 3/27/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-mimalloc-build` --- ### 📝 Commits (1) - [`d98f95f`](https://github.com/dani-garcia/vaultwarden/commit/d98f95f5363d62c0915f175eea04302c0dba9d9e) Fix building mimalloc on armv6 ### 📊 Changes **9 files changed** (+20 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile.j2` (+4 -5) 📝 `docker/amd64/Dockerfile.alpine` (+0 -1) 📝 `docker/amd64/Dockerfile.buildx.alpine` (+0 -1) 📝 `docker/arm64/Dockerfile.alpine` (+2 -2) 📝 `docker/arm64/Dockerfile.buildx.alpine` (+2 -2) 📝 `docker/armv6/Dockerfile.alpine` (+4 -2) 📝 `docker/armv6/Dockerfile.buildx.alpine` (+4 -2) 📝 `docker/armv7/Dockerfile.alpine` (+2 -3) 📝 `docker/armv7/Dockerfile.buildx.alpine` (+2 -3) </details> ### 📄 Description The armv6 builds need a specific location for the libatomic.a file. This commit fixes that by adding a RUSTFLAGS argument for this. Also removed the `link-arg=-s` since this is now already done during via the release profile And removed the CFLAGS for armv7, this is already fixed by default in the blackdex/rust-musl images. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-07 21:03:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#6726