Bug#897275: closed by Debian FTP Masters <ftpmaster at ftp-master.debian.org> (Bug#1000941: Removed package(s) from unstable)

Helmut Grohne helmut at subdivi.de
Sat Nov 19 16:06:16 GMT 2022


Control: reopen -1
Control: reassign -1 llvm-10,llvm-13,llvm-14,llvm-15,llvm-16

On Sat, Nov 19, 2022 at 03:39:49PM +0000, Debian Bug Tracking System wrote:
> llvm-6.0 ships a llvm-config tool for discovering aspects such as
> libdir. I have no clue what prevented upstream from using the
> well-established pkg-config mechanism, but the present llvm-config is
> completely unusable for cross compilation:
>  * You cannot query the build llvm-config, because it gives you the
>    wrong values.
>  * You cannot query the host llvm-config, because Exec format error.
> 
> Others have recognized that llvm-config is a repetition of a widley
> known mistake:
>  * https://bugs.llvm.org/show_bug.cgi?id=9405
>  * https://bugs.chromium.org/p/chromium/issues/detail?id=219369
> 
> Others are implementing workarounds now:
>  * https://github.com/voidlinux/void-packages/issues/1531
>  * https://github.com/mesonbuild/meson/issues/3327
> 
> There even is a tool to derive the .pc file from llvm-config:
>  * https://hackage.haskell.org/package/llvm-pkg-config
> 
> Helmut


The problem remains fully unsolved.

Helmut



More information about the Pkg-llvm-team mailing list