Your message dated Sun, 15 Nov 2026 15:10:29 +0000
with message-id <[email protected]>
and subject line Bug#1133421: fixed in llvm-defaults 0.75~exp2
has caused the Debian Bug report #1133421,
regarding clang: sanitizers are not available (libclang_rt.asan.a: No such file 
or directory)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1133421: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133421
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang
Version: 1:21.1.6-71+b1
Severity: normal

Dear Maintainer,

I am trying to use sanitizers (undefined, address, leak) and none of them work 
with clang/clang++ (versions 21 and 19).

Example program hello.c:
```c
#include <stdio.h>
int main(){}
```

Compile:

$ clang -fsanitize=undefined hello.c
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find 
/usr/lib/llvm-21/lib/clang/21/lib/x86_64-pc-linux-gnu/libclang_rt.ubsan_standalone.a:
 No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

$ clang -fsanitize=address hello.c
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find 
/usr/lib/llvm-21/lib/clang/21/lib/x86_64-pc-linux-gnu/libclang_rt.asan_static.a:
 No such file or directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find 
/usr/lib/llvm-21/lib/clang/21/lib/x86_64-pc-linux-gnu/libclang_rt.asan.a: No 
such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

$ clang -fsanitize=leak hello.c
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find 
/usr/lib/llvm-21/lib/clang/21/lib/x86_64-pc-linux-gnu/libclang_rt.lsan.a: No 
such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Same with clang-19 (except that it is looking into /usr/lib/llvm-19 instead 
/usr/lib/llvm-21).
I could not find such files neither on my system nor in packages.debian.org.

I have libasan8=16-20260322-1 installed but it's probably not usable by 
clang-19 and clang-21.

I looked at clang-17 and it works.

Bug #819762 seems related, but it's from 2016 and for very old clang version.

Best regards,
Marius

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.10+deb14-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clang depends on:
ii  clang-21  1:21.1.8-3+b1

clang recommends no packages.

clang suggests no packages.

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Source: llvm-defaults
Source-Version: 0.75~exp2
Done: Sylvestre Ledru <[email protected]>

We believe that the bug you reported is fixed in the latest version of
llvm-defaults, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated llvm-defaults 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 15 Nov 2026 15:18:23 +0100
Source: llvm-defaults
Architecture: source
Version: 0.75~exp2
Distribution: experimental
Urgency: medium
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Closes: 955039 1016790 1109512 1133421 1154063
Changes:
 llvm-defaults (0.75~exp2) experimental; urgency=medium
 .
   * Stop building libllvm-ocaml-dev, the OCaml bindings are no longer
     built by llvm-toolchain. (Closes: #1154063) (LP: #2168258)
   * lldb, liblldb-dev, python3-lldb: Break the older python3-lldb-N
     packages (which conflict with each other), so that apt removes them
     on upgrade instead of holding back lldb. Closes: #1016790, #1109512
   * llvm-dev: Recommend clang. Closes: #955039
   * clang: Suggest libclang-rt-dev, for the sanitizer runtimes.
     Closes: #1133421
   * Update the lldb lintian overrides for the new python3-lldb-N Breaks.
Checksums-Sha1:
 426ecbe776cbb8c63a2b2bd02ec18ddb07415a09 7433 llvm-defaults_0.75~exp2.dsc
 01e3018cb6a95d02caa7cb1282076bcd518e7846 17304 llvm-defaults_0.75~exp2.tar.xz
 fa30eff5073bb63fa7432ec4fe1078847f6323ae 16510 
llvm-defaults_0.75~exp2_amd64.buildinfo
Checksums-Sha256:
 be8f149baec81b5212e65840cbf2e14b31a518b8a6e66c0ad4e09b59f918d00c 7433 
llvm-defaults_0.75~exp2.dsc
 1cb27dc4d4b461bf442fc5b9dca81c749f579797fb68aa380dd1e2d963179db6 17304 
llvm-defaults_0.75~exp2.tar.xz
 bddd307dc50f7384268720a8f2c1eff5e5a37858ec285d488be2f4d00c73f033 16510 
llvm-defaults_0.75~exp2_amd64.buildinfo
Files:
 6607c9b23ec606c6342bd238f51803b0 7433 devel optional 
llvm-defaults_0.75~exp2.dsc
 f4de41f45d0c9e339516fa9f94c50cbb 17304 devel optional 
llvm-defaults_0.75~exp2.tar.xz
 8310f31626207df79f7e8ead0b98ab24 16510 devel optional 
llvm-defaults_0.75~exp2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmr5xdsACgkQfmUo2nUv
G+E4Eg//a6fFMgV/m5r1f72iZbCXbMeAujZZp9zuUEbb3n11dTWISkcG2QQY/vK4
KHApQ3AtASqOLKrbPIDCb72fgr+3fbiJQsKV4OtxJ6NnUzT3kUccllifdqLbo/Ah
XbSqG2s95MCb2LDecaj0o5LW7zWdJNV7eXro+dsU1qDwxKvY+Y15YiDxQELCaCd1
dzpFQA5r5ciQTuT39PTi/92IWwgli1Oa27i1WOO43JfJVgvP5NsM6lOKmq7FAwhn
5DLg7/NC6d1jyRyrOm5TNTclOX4rMj03SsO70VeoTf/Y5b6NZitibvR1tmJIdO3m
ktGeMGcQSsmFQ3UryItsNSc+izh2cpYA9wSXBq06lefaYgXnQDF3Em3YKGmPqCR7
nCNygAUkUYRmuro3ltY4Qa4ar9YD6M74K+e8HfN/pqMT7CSxCrXwsdZ6UnUOpK2c
ZsDio9pYwu6CmJt15btCZauQLvUrflJQQabqC6MQIibkq7NxAmrAwlsfVLsdHAmq
I7GYNN2F88kpXC1dwKjYkbMjZabEu6hZRS7R4XbJDgrxe3nMbhOCdSviVkYGVqTV
cAmkbAy7mA1MKBCt81BjmzeauuZCoxdj2UaagEo/6c3qPJgSrEBy09MGi+DL0LUa
ssMkTnZKgNp+XkCzajcpl85ebWGBcXHF2tFPjqi/8q+il/FeC5A=
=4Lxk
-----END PGP SIGNATURE-----

Attachment: pgpjsKWgTkmV8.pgp
Description: PGP signature


--- End Message ---

Reply via email to