Created attachment 712755 [details] build log The compilation fails with the clang toolchain, but i have the suspicion is the fault of lld,to be precise of the -fuse-ld=lld LDFLAG. Does binutils require another linker?
Created attachment 712758 [details] config log
Created attachment 712761 [details] emerge info
Created attachment 712764 [details] emerge pqv
You have some interesting CFLAGS. Please try with a simple set of flags. If that resolves the issue, please try to figure out which flag(s) are triggering the failure.
From the sound of it in other bugs, you're also using default-* on clang which tend to be further unexpected by packages. Support for using clang globally (i.e. every packages) is already fairly limited, and along with these *FLAGS is likely to cause generalized failures. So I wouldn't call this an issue with these packages at the moment. Please use more common toolchain settings.
*** Bug 793206 has been marked as a duplicate of this bug. ***
*** Bug 793215 has been marked as a duplicate of this bug. ***