From d92a4827fa39709c4204230a6e93a1ca77229409 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 19 Jun 2026 10:20:55 +0200 Subject: [PATCH 1/2] Fix Alpine static build: install gcc and musl-dev alpine:latest advanced to 3.24.1 (clang 22 / gcc 15.2 / cmake 4.2) and no longer pulls in gcc transitively. The static toolchain links with `clang --target=...-musl -static -fuse-ld=lld`, which needs the GCC runtime (crtbeginT.o, libgcc, libgcc_eh, crtend.o) plus musl crt/libc. Without them the compiler check fails with "cannot open crtbeginT.o", breaking all four static (Alpine) CI jobs. Install gcc and musl-dev explicitly so the static link works again. Co-Authored-By: Claude Opus 4.8 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0c70ce0..d56902b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apk add --no-cache \ clang-dev \ cmake \ coreutils \ + gcc \ git \ linux-headers \ lld \ @@ -16,6 +17,7 @@ RUN apk add --no-cache \ make \ mingw-w64-binutils \ mingw-w64-gcc \ + musl-dev \ ninja \ python3 From fb3db93945a05467811f85a623ced79c376a9188 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 19 Jun 2026 10:39:07 +0200 Subject: [PATCH 2/2] Fix release: export i686 artifact as a real 32-bit binary The "Export binary" step omitted `platforms:`, so it always rebuilt for the host (linux/amd64) regardless of the matrix entry. As a result the static 32-bit artifacts (wibo-i686, wibo-i686-debug) were actually 64-bit x86-64 builds, despite the README advertising wibo-i686 as the primary 32-bit download. Pass the matrix platform to the export build so the exported binary matches the platform that was tested. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a56290a..8a4645c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,6 +120,7 @@ jobs: BUILD_TYPE=${{ matrix.build_type }} WIBO_VERSION=${{ steps.version.outputs.wibo_version }} target: export + platforms: ${{ matrix.platform || 'linux/amd64' }} outputs: | type=local,dest=dist