🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Sylvestre Ledru Sun, 15 Nov 2026 13:40
Bug#1154057: dnsdist: FTBFS with LLVM 23 as default: clang 23 LTO objects linked by lld-22
#4589
Author: Sylvestre Ledru
Date: Sun, 15 Nov 2026 13:40
42 lines
2836 bytes
Source: dnsdist
Version: 2.1.3-1
Severity: important
Tags: ftbfs
User: pkg-llvm-team@lists.alioth.debian.org
Usertags: llvm-23-default
Control: affects -1 + src:llvm-defaults
Control: block 1154024 by -1

Hello,

We are going to switch the default LLVM version to 23 (transition bug
#1154024). llvm-defaults 0.75~exp1, in experimental, already points to
23.

dnsdist fails to build in unstable with it, and builds without it:

ld.lld-22: error: testrunner.p/testrunner.cc.o: Not an int attribute
(Producer: 'LLVM23.1.4' Reader: 'LLVM 22.1.8')
clang++: error: linker command failed with exit code 1

The package builds with the unversioned clang but links with lld-22
(added to match rustc's LLVM 22, #1149737): lld 22 can't read the
bitcode produced by clang 23.

To reproduce, with sbuild:

  sbuild -d unstable \
    --extra-repository='deb http://deb.debian.org/debian experimental main' \
    --build-dep-resolver=aptitude \
    --add-depends='clang (>= 1:23~), llvm-dev (>= 1:23~), libclang-dev (>= 1:23~)' \
    <package>

The --add-depends forces the llvm-defaults packages from experimental
(the default apt resolver won't pick them, aptitude does), everything
else comes from unstable.

The severity will be raised to serious once llvm-defaults 23 is in
unstable.

Cheers,
Sylvestre
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads