https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: x11-wm/wmii-3.9.2-r6 fails to link with LLD because of /usr/lib in the link command line. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses CLANG as a compiler and LLD as a linker This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Created attachment 764069 [details] build.log build log and emerge --info
Error(s) that match a know pattern: ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crt1.o is incompatible with elf32-i386
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb55b251745f54c94f6bd20530f8a506ef8e5463 commit cb55b251745f54c94f6bd20530f8a506ef8e5463 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-14 12:37:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-14 12:54:05 +0000 x11-wm/wmii: fix build w/ lld; fix VariableScope Closes: https://bugs.gentoo.org/836124 Closes: https://bugs.gentoo.org/832476 Signed-off-by: Sam James <sam@gentoo.org> x11-wm/wmii/files/wmii-3.9.2-libdir.patch | 12 +++++ x11-wm/wmii/wmii-3.9.2-r7.ebuild | 84 +++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+)