🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6313

Bug#1155443: Regression: objdump no longer recognizes Guile compiled ELF (.go) files

#6313
From: Tommi Höynälänmaa
Date: Thu, 26 Nov 2026 13:40
70 lines
3692 bytes
Package: binutils
Version: 2.47.50.20261120-1
Severity: important
X-Debbugs-Cc: tommi.hoynalanmaa@iki.fi

Dear Maintainer,

Package: binutils
Version: 2.47.50.20261120-1
Severity: normal

The new version of binutils fails to recognize Guile compiled .go files.

**Steps to reproduce:**

Install guile-3.0 and binutils on Debian unstable (amd64) and execute:

```
objdump -p /usr/lib/x86_64-linux-gnu/guile/3.0/ccache/ice-9/boot-9.go
```

**Actual result:**

```
objdump: /usr/lib/x86_64-linux-gnu/guile/3.0/ccache/ice-9/boot-9.go: file format not recognized
```

**Expected result:**

The file should be recognized as elf64-little,
as with the previous version of binutils.

**Version comparison:**

- Binutils 2.47.50.20261021: works.
- Binutils 2.47.50.20261120: fails.
- Guile package version in both environments: 3.0.11-2+b1.

The problem also occurs with compiled Guile modules provided by the
guile-library package.

Explicitly specifying the BFD target with `objdump -b elf64-little`
does not solve the problem.

The ELF header of a tested compiled Guile file contains the following values:

- Class: ELF64
- OS/ABI: 0xff
- Type: DYN
- Machine: None (EM_NONE)

The readelf command continues to recognize the file correctly.

I discovered this regression while building the g-golf Debian package using sbuild. The regression causes dh_makeshlibs to fail, preventing the package from
being built.

I have verified that the same g-golf.go file generated inside the sbuild environment is rejected by the newer version of objdump but recognized correctly by
the older version outside the build environment.

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.5+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Technical Details
Message-ID: <O3HRD-egWZ-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Tommi Höynälänmaa <tommi.hoynalanmaa@iki.fi>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155443: Regression: objdump no longer recognizes Guile compiled ELF (.go) files
Date: Thu, 26 Nov 2026 14:40:01 +0100
Message-ID: <O3HRD-egWZ-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 13:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Tommi Höynälänmaa <tommi.hoynalanmaa@iki.fi>, 1155443@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: tommi.hoynalanmaa@iki.fi, doko@debian.org
X-Debian-Pr-Message: report 1155443
X-Debian-Pr-Package: binutils
X-Debian-Pr-Source: binutils, experimen, experimental;, unstable;, urgency=low
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005212
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 70
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 15:29:40 +0200
X-Original-Message-ID: <179569978037.121981.18276263833412252964.reportbug@th-testing.tohoyn.fi>