Lesstep
GitHub Actions · Ubuntu 26.04 · Checked November 22, 2026

abidiff "ELF architecture changed" on ubuntu-latest (Ubuntu 26.04)

A job that compares a library against a stored .abi reference file with abidiff passed on ubuntu-24.04 and now fails on ubuntu-latest (Ubuntu 26.04) with ELF architecture changed. The library did not change. The libabigail that reads the file did: Ubuntu's abigail-tools package is 2.4 on 24.04 and 2.9 on 26.04, and a reference file written by the older abidw names the architecture differently from what 2.9 writes. Regenerate the reference files on 26.04 with abidw --out-file, or pin runs-on: ubuntu-24.04 until you have.

The error

This is the output in actions/runner-images #15071, from the zlib-ng ABI check on runner image version 20261018.168.1:

ELF architecture changed
Functions changes summary: 0 Removed, 0 Changed (64 filtered out), 0 Added (2 filtered out) functions
Variables changes summary: 0 Removed, 0 Changed (1 filtered out), 0 Added variable

architecture changed from 'elf-unknown-arch-value-243' to 'elf-riscv'

No function or variable changed. The only difference abidiff reports is the architecture string in the two files.

When an ABI check goes red after ubuntu-latest moved: Pipeline Inbox for GitHub Actions Workflows, a plugin for JetBrains IDEs, shows the runs of your repositories with their jobs, steps and job logs in the IDE, and notifies you when one of your runs fails, with a link to the failed job's log.

Why it happens

A runner image maintainer answered on the issue. What the answer says:

So the trigger in that report is an architecture libabigail 2.4 had no name for. The issue only shows the riscv64 case.

Fix 1: regenerate the reference files with the libabigail that compares them

This is the fix the maintainer gave: regenerate the stored files with libabigail 2.9, for zlib-ng with abicheck.sh --refresh on ubuntu-26.04. For your own files, abidw writes the XML representation of a library, and --out-file sends it to a file instead of standard output (abidw manual):

abidw --out-file REFERENCE.abi LIBRARY.so

Run it in a job on ubuntu-latest, from the same build the old file came from, then commit the new file. Print abidw --version in the job so the version that wrote the file is in the log; zlib-ng's script does the same.

The reporter's objection in the thread: a project that tests on both 24.04 and 26.04 (24.04 lacks architectures that 26.04 supports) says that recreating the files removes the point of caching them in the repository. The thread does not give a way to make one file work for both versions.

Fix 2: stay on 24.04 for this job

The maintainer's suggestion in the meantime:

jobs:
  abi:
    runs-on: ubuntu-24.04

That keeps libabigail 2.4 and the old behavior. It is a stopgap: the 24.04 image will be retired later, and the files then have to be regenerated anyway.

A switch that hides the message

Reading the exit code

The abidiff manual says the exit code is 0 if the ABIs are equal and non-zero if they differ or the tool hit an error. The non-zero code is an 8-bit field:

A step that treats any non-zero exit as failure, as a shell step does, fails the same way whether the cause is a note like ELF architecture changed or a removed function. Read the summary lines before assuming the library broke.

Telling it apart

The maintainer pointed to #14748 for the ubuntu-latest rollout. #15071 itself was closed on October 26, 2026 as outside the image's scope.

See failed jobs from IntelliJ IDEA

Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, is free for run history across your repositories, jobs, steps and job logs in the IDE, and for a notification when a run of yours or of your current branch fails, with a link to the failed job's log. Pro (US$1.50 a month, with a 30-day trial) adds re-running failed jobs (or all, with debug logging), cancelling runs, running workflows with inputs and approving deployments.

Install it free from JetBrains Marketplace

GitHub and GitHub Actions are trademarks of GitHub, Inc.; Ubuntu is a trademark of Canonical Ltd.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with, sponsored or endorsed by GitHub, Inc., Canonical, the libabigail project or JetBrains.

More: "The ubuntu-latest label will migrate to Ubuntu 26" · GCC 15 on ubuntu-latest (Ubuntu 26.04) · glibc "version not found" on Ubuntu 26.04 · "cannot open shared object file" on Ubuntu 26.04 · executable stack on Ubuntu 26.04 · rpmbuild on Ubuntu 26.04 · 日本語