Source: pdns-recursor
Version: 5.4.9-1
Severity: important
Tags: ftbfs
User: [email protected]
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.

pdns-recursor fails to build in unstable with it, and builds without it:

warning: Failed to read symbol table from LLVM bitcode: LLVM error: Not
an int attribute (Producer: 'LLVM23.1.4' Reader: 'LLVM 22.1.8')

The package builds with the unversioned clang but links with lld-22
(added in 5.4.6-2 to match rustc's LLVM 22, #1149822): lld 22 can't
read the bitcode produced by clang 23.
(Found with 5.4.8, the build-deps and debian/rules are the same in
5.4.9-1.)

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

Reply via email to