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

Bug 831388

Summary: net-nntp/tin-2.6.1 fails to link with LLD because of /usr/lib in the link command line
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: toralf
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 2022-01-18 07:38:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-nntp/tin-2.6.1 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-18 07:38:25 UTC
Created attachment 762457 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-18 07:38:26 UTC
Error(s) that match a know pattern:

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crt1.o is incompatible with elf32-i386
Comment 3 SpanKY gentoo-dev 2023-12-01 11:17:23 UTC
i think this is fixed in tin-2.6.2 with the switch to pcre2-config (which defaults to $CHOST-pcre2-config)
Comment 4 SpanKY gentoo-dev 2023-12-01 11:21:15 UTC
*** Bug 884341 has been marked as a duplicate of this bug. ***