Skip to content

build: release script fails at linux-s390x (aead/chacha20 assembly rejected by current Go toolchain) and windows/arm no longer supported #536

Open

Description

@Roasbeef

Problem

make release on master fails partway through:

  1. linux-s390x: the legacy github.com/aead/chacha20 module (pinned at v0.0.0-20180709150244-8b13a72661da, pulled in via lndclient/aperture) contains big-endian assembly that the current Go assembler rejects:

    chacha_ref.go:32:18: illegal combination MOVWBR ADDR NONE NONE NONE NONE REG
    

    Confirmed pre-existing at 561c94b (before the v0.7.3-beta dependency bumps), so this is not a regression from build(deps): bump gRPC to 1.85.0, x/net to 0.62.0, plus compress, runc, otel security fixes #531 — the toolchain moved, the ancient module did not. v0.6.4-beta still shipped a s390x archive; v0.7.3-beta could not.

  2. windows-arm: env GOOS=windows GOARCH=arm go build now fails with unsupported GOOS/GOARCH pair windows/arm. windows-arm64 was built instead.

Suggested fix

  • Replace aead/chacha20 (abandoned) with golang.org/x/crypto/chacha20poly1305 in the dependency chain — the module is only reachable via lndclient/aperture, so it likely needs upstream fixes or a replace directive.
  • Remove linux-s390x and windows-arm from BUILD_SYSTEM in make/release_flags.mk if the platforms are being dropped intentionally, or fix the chacha20 issue if s390x support is retained.

Context

v0.7.3-beta was published without a s390x archive and with windows-arm64 instead of windows-arm; both gaps are documented in the release notes at https://github.com/lightninglabs/pool/releases/tag/v0.7.3-beta

Activity

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