Skip to content

Building silo for x86 (32bit platform fails). Maybe 32 bit support feasible? #356

Backlog

Description

@luckcolors

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. 😄

Current Behavior

Doesn't build.

Possible Solution

Waiting for this to land in upstream and bumping the imported version.
See https://codeberg.org/aead/mtls/pulls/19.

Steps to Reproduce (for bugs)

Try to build with any 32bit goarch.

Context

Unable to compile minio without patching the aead/mtls dependency.

Regression

No.

Your Environment

  • Golang version: 1.27.4
  • Version used (silo --version): 20261112

Activity

  1. luckcolors commented on Nov 24, 2026

    @luckcolors
    Author

    I will also run tests on the minio binary and report if any other minor fixable things exist.

  2. 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
  3. luckcolors commented on Nov 24, 2026

    @luckcolors
    Author

    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).

    1. Bug: Misaligned int64 field access in

      type messageWriter struct {

      and
      type Target struct {

      Fix: Simply move the fields delcaration to beginning of struct as golang guarantees aligment.

    2. 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).

    3. Bug: pCache in ReplicationStats needs to become a pointer type to gurante alignment in

      type ReplicationStats struct {

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions