This is an auto-filed bug because x11-misc/xtoolwait calls ld directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different linker implementation (like llvm-link) by setting the LD variable. So this issue has been reproduced by setting the LD variable to x86_64-pc-linux-gnu-ld and by removing the /usr/bin/ld binary.
Created attachment 642694 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Ionen Wolkens <email@example.com>
AuthorDate: 2021-04-14 13:29:09 +0000
Commit: Joonas Niilola <firstname.lastname@example.org>
CommitDate: 2021-04-15 06:38:57 +0000
x11-misc/xtoolwait: fix build with -native-symlinks
Signed-off-by: Ionen Wolkens <email@example.com>
Signed-off-by: Joonas Niilola <firstname.lastname@example.org>
x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)