Issue: dev-haskell/hsql-mysql-1.8.2-r1 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)
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 760882 [details]
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/crti.o is incompatible with elf32-i386