[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1000934: clazy: Please upgrade to llvm-toolchain-12 or 13



Control: severity -1 serious
Control: tags -1 ftbfs sid bookworm
Control: found -1 1.10-2
control: retitle -1 clazy: FTBFS on i386 with llvm-toolchain-13

On 2021-12-01 00:10:55, Sylvestre Ledru wrote:
> Source: clazy
> Severity: important
> 
> Dear Maintainer,
> 
> As part of the effort to limit the number of llvm packages in the
> archive, it would be great if you could upgrade to -13 (or -12).
> 
> Bookworm won't ship with llvm-toolchain-11
> 
> llvm-defaults is now pointing to -13.

clazy fails to build on i386 if built with llvm-toolchain-13 as default:
| [FAIL] clazy (Failed to build test. Check clazy/qt4compat1.cpp.out for details)
| -------------------
| Contents of clazy/qt4compat1.cpp.out:
| clang: /usr/lib/llvm-13/include/clang/Basic/DirectoryEntry.h:135: const RefTy& clang::FileMgr::MapEntryOptionalStorage<RefTy>::getValue() const & [with RefTy = clang::FileEntryRef]: Assertion `hasValue()' failed.
| PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
| Stack dump:
| 0.  Program arguments: clang -Xclang -load -Xclang ClazyPlugin.so -Xclang -add-plugin -Xclang clazy -Wno-unused-value -Qunused-arguments -std=c++14 -isystem /usr/include/i386-linux-gnu/qt5 -fPIC -L /usr/lib/i386-linux-gnu -c -Xclang -plugin-arg-clazy -Xclang old-style-connect -Xclang -plugin-arg-clazy -Xclang export-fixes clazy/qt4compat1.cpp
| #0 0xefde1da1 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/i386-linux-gnu/libLLVM-13.so.1+0x916da1)
| #1 0x00000000 
| clang: error: clang frontend command failed with exit code 134 (use -v
| to see invocation)
| Debian clang version 13.0.0-9+b1
| Target: i386-unknown-linux-gnu
| Thread model: posix
| InstalledDir: /usr/bin
| clang: note: diagnostic msg: 
| ********************
|
| PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
| Preprocessed source(s) and associated run script(s) are located at:
| clang: note: diagnostic msg: /tmp/qt4compat1-4272e4.cpp
| clang: note: diagnostic msg: /tmp/qt4compat1-4272e4.sh
| clang: note: diagnostic msg: 
|
| ********************

See
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=i386&ver=1.10-2%2Bb1&stamp=1638378488&raw=0

Cheers
-- 
Sebastian Ramacher


Reply to: