This is an auto-filed bug because x11-misc/x2x 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 642704 [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:17:04 +0000
Commit: Joonas Niilola <firstname.lastname@example.org>
CommitDate: 2021-04-15 06:38:55 +0000
x11-misc/x2x: fix build with -native-symlinks
Also swapped DEPEND with BDEPEND to put imake in the right block.
Signed-off-by: Ionen Wolkens <email@example.com>
Signed-off-by: Joonas Niilola <firstname.lastname@example.org>
x11-misc/x2x/x2x-1.27-r3.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)