Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 785670

Summary: [guru] app-portage/version-0.20.1_alpha fails to link with LLD because of /usr/lib in the link command line
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: azaeldevel <azael.devel>
Status: CONFIRMED ---    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-25 17:39:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-portage/version-0.20.1_alpha fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
This machine uses a clang/LLVM toolchain with LLD as linker.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-25 17:39:10 UTC
Created attachment 702483 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-25 17:39:13 UTC
Possible context of error(s):

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/crt1.o is incompatible with elf32-i386