Package: ldc Version: 1:1.20.1-1 Severity: normal Dear Maintainer,
$ dpkg -L llvm-10-dev | grep gold /usr/lib/llvm-10/lib/LLVMgold.so $ time ldc2 -mcpu=native --flto=full -d-version=benchmark -of=bench_ldc2 bench.d Error: The LLVMgold.so plugin (needed for LTO) was not found. You can specify its path with -flto-binary=<file>. $ Passing -flto-binary=/usr/lib/llvm-10/lib/LLVMgold.so to the ldc2 solves the issue, but I find it weird it is not done automatically. Regards, Witold -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ldc depends on: ii libc6 2.30-7 ii libgcc-s1 10.1.0-1 ii libllvm9 1:9.0.1-12 ii libphobos2-ldc-shared-dev 1:1.20.1-1 ii libstdc++6 10.1.0-1 ii zlib1g 1:1.2.11.dfsg-2 ldc recommends no packages. ldc suggests no packages. -- no debconf information

