You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Building silo for x86 (32bit platform fails). Maybe 32 bit support feasible? #356
Building for 32 bit platform causes build failure.
Expected Behavior
Admitedly i don't expect any project 32 bit support anywhere anymore, but given how small the patch (one line) required to get this to build is, maybe it makes sense. 😄
changed the title [-]Building silo for x86 (32bit platform fails). Dependency aead.dev/mtls requires patch.[/-][+]Building silo for x86 (32bit platform fails). Maybe 32 bit support feasible?[/+]on Nov 24, 2026
JUst to clarify i am not asking for you to add build artifacts for 32bits officially.
I'm sure there's more limitations i am not seeing that come from running minio on 32 bit, but for a small s3 machine it could make sense.
So following here's my found bugs currently present in the project wich prevent it from working.
Let me know if you would like to see a pull-request.
So i found two more issues at runtime.
I ran the minio test suite using qemu arm32. (I will run it on real arm later too).
Fix: Simply move the fields delcaration to beginning of struct as golang guarantees aligment.
Bug: Raw uint64 atomic struct fields in cmd/*.go suffer a similar issue, a solution here is to switch to the boxed version eg atomic.Uint64 (wich guarantees alignment).
Bug: pCache in ReplicationStats needs to become a pointer type to gurante alignment in
Activity
luckcolors commentedon Nov 24, 2026
I will also run tests on the minio binary and report if any other minor fixable things exist.
[-]Building silo for x86 (32bit platform fails). Dependency aead.dev/mtls requires patch.[/-][+]Building silo for x86 (32bit platform fails). Maybe 32 bit support feasible?[/+]luckcolors commentedon Nov 24, 2026
JUst to clarify i am not asking for you to add build artifacts for 32bits officially.
I'm sure there's more limitations i am not seeing that come from running minio on 32 bit, but for a small s3 machine it could make sense.
So following here's my found bugs currently present in the project wich prevent it from working.
Let me know if you would like to see a pull-request.
So i found two more issues at runtime.
I ran the minio test suite using qemu arm32. (I will run it on real arm later too).
Bug: Misaligned int64 field access in
silo/internal/s3select/message.go
Line 247 in d660200
and
silo/internal/logger/target/kafka/kafka.go
Line 82 in d660200
Fix: Simply move the fields delcaration to beginning of struct as golang guarantees aligment.
Bug: Raw uint64 atomic struct fields in cmd/*.go suffer a similar issue, a solution here is to switch to the boxed version eg atomic.Uint64 (wich guarantees alignment).
Bug: pCache in ReplicationStats needs to become a pointer type to gurante alignment in
silo/cmd/bucket-replication-stats.go
Line 40 in d660200
Those seem minor patches and shouldn't inpact anything elsewere.
I do not believe there are more untill i run the suite again on real hardware.