This is an auto-filed bug because x11-misc/xsnow 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 642684 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Jeroen Roovers <firstname.lastname@example.org>
AuthorDate: 2020-09-04 12:40:22 +0000
Commit: Jeroen Roovers <email@example.com>
CommitDate: 2020-09-04 12:41:54 +0000
x11-misc/xsnow: Version 3.0.7
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <firstname.lastname@example.org>
x11-misc/xsnow/Manifest | 1 +
x11-misc/xsnow/files/xsnow-3.0.7-gamesdir.patch | 12 +++++++++
x11-misc/xsnow/xsnow-3.0.7.ebuild | 34 +++++++++++++++++++++++++
3 files changed, 47 insertions(+)
New version 3.0.7 switched from imake to autotools so this isn't a duplicate of bug #729630 as such.