compiler-explorer / compiler-explorer/infra

wat2wasm 1.0.39 prebuilt binary requires GLIBC_2.38 but CE nodes run Ubuntu 22.04 (GLIBC_2.35)

Open
#2,008 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

## Problem

`wat2wasm` (WABT) 1.0.39 was added to `bin/yaml/wasm.yaml` in PR #1933, but it has been failing in the nightly install every day since.

### Root cause

WABT 1.0.39 is the first release to ship a prebuilt Linux x64 binary. That binary was built against Ubuntu 24.04 and requires `GLIBC_2.38`. However:

- **CE nodes** (`packer/node.pkr.hcl`): Ubuntu 22.04 → GLIBC 2.35 ❌
- **Admin node** (`packer/admin.pkr.hcl`): Ubuntu 18.04 → GLIBC 2.27 ❌

Neither the admin node (which runs `check_exe: bin/wat2wasm --version` to verify the install) nor the CE nodes themselves can execute the binary.

### Evidence

From the nightly install log:
```
wat2wasm-1.0.39/bin/wat2wasm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by wat2wasm-1.0.39/bin/wat2wasm)
compilers/wasm/wat2wasm 1.0.39 installed OK, but doesn't appear as installed after
```

### Options

1. **Remove for now** and revisit when CE nodes are upgraded to Ubuntu 24.04
2. **Build from source** via misc-builder or similar, targeting Ubuntu 22.04
3. **Upgrade CE nodes** to Ubuntu 24.04

A PR to comment out the entry pending a fix is being opened alongside this issue.

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.