Skip to content

Support lower AMD64 version? #78

Closed

Description

@tefkah

Hi! We recently started using the Readium cli and ts-toolkit in Storyteller, and it's been working very nicely!

One issue we have seen users reporting is that they cannot run the readium cli on older devices, throwing this error

This program can only be run on AMD64 processors with v3 microarchitecture support.

This seems to be due to v3 being the lowest support version set here

cli/.goreleaser.yml

Lines 26 to 27 in 0b09128

goamd64:
- v3

My question: is this a strict requirement for readium to operate? If it would be at all possible to use v2 instead, many more of our users would be able to continue to self-host.

From my very limited testing (serving both media files and manifests) I don't notice any particular difference between a version compiled with GOAMD64=v2 and GOAMD64=v3, but that does not mean one doesn't exist of course.

Activity

  1. chocolatkey commented on Oct 20, 2025

    @chocolatkey
    Member

    Nice to know you’re using the project.
    First of all, Are you using the docker image or the binaries?
    Edit: I found your install script
    I thought a bit about it, and was considering having separate builds for v2 and v3, but I’d rather keep the downloads simple to avoid confusing because most people will have no idea which one is appropriate for their processor.

    For our next release, the builds will use v2. Do you happen to know what processors this impacts in your community?

  2. tefkah commented on Oct 22, 2025

    @tefkah
    ContributorAuthor

    Fantastic!

    Most of the issues we see are actually people using VMs using eg Proxmox, where they emulate older CPUs for efficiency (i guess), or on users running it on a quite ancient laptop.
    One user reported that changing their vCPU to emulate Skylake (which is from 2015!!) did already fix their issue, so this does only afflict positively ancient machines, but if at all possible it would be nice to be able to support those :)

  3. added a commit that references this issue on Oct 27, 2025
  4. chocolatkey commented on Nov 3, 2025

    @chocolatkey
    Member

    @tefkah it's fixed, please pay attention to the changelog, you'll probably need to make an adjustment on your side for the other changes

  5. tefkah commented on Nov 3, 2025

    @tefkah
    ContributorAuthor

    thank you so much! really appreciate you changing this, and so quickly!!

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions