-
Notifications
You must be signed in to change notification settings - Fork 1
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
Several shared libraries on 32-bit Bookworm are linked with 4K page alignment producing fails in systemd-nspawn #120
Comments
This is a known problem with 16KB pages. If your example is an important use case, put |
Thanks, Phil. I'm aware of the Just noting for possible future consideration that Docker users could run into this issue as well if they try to use a 32-bit Docker container on a 64-bit system. I don't know if Docker always uses it, but it appears that there are people that want to use systemd-nspawn with Docker. See, for example, section 5.8 here: https://wiki.archlinux.org/title/Systemd-nspawn Also, out of curiosity, why are 2/3 of the shared libraries in that directory linked with 16K alignment and 1/3 of them are not? Are there issues with the "not" ones if they are 16K linked, or is it a matter of scarce resources not being available to update the remaining 1/3 of the library build files? Thanks for any insights you are able to share on this. |
It is a pretty broad issue, I couldn't even execute the 32bit After setting (as a note, it was pretty difficult to find this issue, took my a few days to find this answer) |
Any update on this? This is preventing us from running programs that are only available in armhf packaging:
|
The solution is to use There is no other solution. |
While many of the shared libraries in 32-bit Bookworm are linked with 16K page alignment, several seem to be linked with 4K page alignment. This causes issues, for instance, when run in systemd-nspawn on a Pi5 with 16K pages.
I did not check the whole system, but found several here:
When programs needing these 4K page-aligned libraries are run inside a
systemd-nspawn
, they fail. For instanceThis can be easily demonstrated with the following program:
The text was updated successfully, but these errors were encountered: