Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730814 - games-arcade/xscavenger calls ld directly
Summary: games-arcade/xscavenger calls ld directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-07-05 08:21 UTC by Agostino Sarubbo
Modified: 2021-04-15 06:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,7.64 KB, text/plain)
2020-07-05 08:21 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-05 08:21:41 UTC

Issue: games-arcade/xscavenger calls ld directly.
Discovered on: amd64

As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different LD implementation (like llvm-link). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the LD variable to x86_64-pc-linux-gnu-ld.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-05 08:21:46 UTC
Created attachment 647676 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-15 06:39:32 UTC
The bug has been closed via the following commit(s):

commit e98152105039b86d7ffeb652a91f27d2513132f7
Author:     Ionen Wolkens <>
AuthorDate: 2021-04-14 08:35:49 +0000
Commit:     Joonas Niilola <>
CommitDate: 2021-04-15 06:38:51 +0000

    games-arcade/xscavenger: fix build with -native-symlinks
    wrt bug #739120 with clang/llvm toolchain, it now gets past
    ld/gcc missing but will fail due to traditional cpp.
    Can workaround with a gcc exception: IMAKECPP=cpp
    However will finally fail trivially due a lacking return
    value in non-void main() that clang doesn't like.
    Signed-off-by: Ionen Wolkens <>
    Signed-off-by: Joonas Niilola <>

 games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)