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

Bug 785787

Summary: [guru] dev-python/portio-0.5 fails to link with LLD because of /usr/lib in the link command line
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: GURU project <guru-bugs>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-26 06:52:12 UTC

Issue: dev-python/portio-0.5 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: guru_tinderbox)

This PR gives an idea about a fix:
This machine uses a clang/LLVM toolchain with LLD as linker.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-26 06:52:15 UTC
Created attachment 702555 [details]

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

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/crti.o is incompatible with elf32-i386
Comment 3 Larry the Git Cow gentoo-dev 2021-04-28 08:08:13 UTC
The bug has been closed via the following commit(s):

commit 4864ed4b81ad84f3b864fbae046315be316b5757
Author:     Theo Anderson <>
AuthorDate: 2021-04-28 02:03:08 +0000
Commit:     Theo Anderson <>
CommitDate: 2021-04-28 02:03:08 +0000

    dev-python/portio: fix link with lld
    Signed-off-by: Theo Anderson <>

 dev-python/portio/portio-0.5.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)