This is an auto-filed bug because x11-misc/xearth 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 642690 [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 12:42:19 +0000
Commit: Joonas Niilola <firstname.lastname@example.org>
CommitDate: 2021-04-15 06:38:56 +0000
x11-misc/xearth: fix build with -native-symlinks
Signed-off-by: Ionen Wolkens <email@example.com>
Signed-off-by: Joonas Niilola <firstname.lastname@example.org>
x11-misc/xearth/xearth-1.1-r1.ebuild | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)