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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98152105039b86d7ffeb652a91f27d2513132f7

commit e98152105039b86d7ffeb652a91f27d2513132f7
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-04-14 08:35:49 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
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.
    
    Bug: https://bugs.gentoo.org/739120
    Closes: https://bugs.gentoo.org/730814
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

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