Bug#1022169: llvm-toolchain-15: FTBFS on mips*el: static assertion failed: struct_kernel_stat_sz == sizeof(stat)

Sylvestre Ledru sylvestre at debian.org
Fri Oct 21 12:45:15 BST 2022


Le 21/10/2022 à 13:32, Simon McVittie a écrit :
> Source: llvm-toolchain-15
> Version: 1:15.0.2-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source, making mesa unbuildable
> User: debian-mips at lists.debian.org
> Usertags: mipsel mips64el
> X-Debbugs-Cc: debian-mips at lists.debian.org, mesa at packages.debian.org
> Control: affects -1 + src:mesa
>
> Quoting from mips64el buildd logs, but mipsel has a similar failure:
>
>> /<<PKGBUILDDIR>>/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp:67:1: error: static assertion failed due to requirement 'struct_kernel_stat_sz == sizeof(stat)':
>> COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat));
> Strictly speaking this is not a regression because llvm-toolchain-15 was
> never built successfully on mips*el, but I think it should be treated as
> RC anyway, because older llvm-toolchain-* were buildable on mips*el (and
> mesa is already using llvm-toolchain-15, making it a key package).

I reported it early sept:

https://github.com/llvm/llvm-project/issues/57521

S



More information about the Pkg-llvm-team mailing list