https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-fs/mdadm fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 648958 [details] build.log build log and emerge --info
Looks like the root cause of this is bad usage of STRIP. I was able to reproduce this with a gcc toolchain by setting STRIP in make.conf. Unsetting STRIP and building with clang was successful.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7874f59d18ef92104d413b396989fd40c268d42b commit 7874f59d18ef92104d413b396989fd40c268d42b Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-12-14 18:29:09 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-12-14 18:29:09 +0000 sys-fs/mdadm: set STRIP to blank The Makefile passes STRIP strip to the "install" command. It should either be empty, or set to "-s". Closes: https://bugs.gentoo.org/732276 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/mdadm/mdadm-4.1.ebuild | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)