Bug#1142533: llvm-toolchain-21: FTBFS: fatal error: 'linux/scc.h' file not found

Adrian Bunk bunk at debian.org
Tue Jul 21 14:30:34 BST 2026


Control: tags -1 patch

On Tue, Jul 21, 2026 at 11:59:58AM +0000, Graham Inggs wrote:
> Source: llvm-toolchain-21
> Version: 1:21.1.8-7
> Severity: serious
> Tags: ftbfs
> X-Debbugs-Cc: sylvestre at debian.org, doko at debian.org
> 
> Hi Maintainer
> 
> llvm-toolchain-21 FTBFS when rebuilt against libabsl20260526 [1].
> I've copied what I hope is the relevant part of the log below.
> 
> Regards
> Graham
>...
> -c /build/reproducible-path/llvm-toolchain-21-21.1.8/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
> /build/reproducible-path/llvm-toolchain-21-21.1.8/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:160:10:
> fatal error: 'linux/scc.h' file not found
>   160 | #include <linux/scc.h>
>       |          ^~~~~~~~~~~~~
> 1 error generated.

The attached backported commit fixes the build.

cu
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-compiler-rt-sanitizer-Remove-linux-scc.h-194116.patch
Type: text/x-diff
Size: 2499 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20260721/093a8e57/attachment.patch>


More information about the Pkg-llvm-team mailing list