Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831799 - sci-libs/qd-2.3.23 fails to link with LLD because of /usr/lib in the link command line
Summary: sci-libs/qd-2.3.23 fails to link with LLD because of /usr/lib in the link com...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 919723 (view as bug list)
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2022-01-22 09:42 UTC by Agostino Sarubbo
Modified: 2024-03-07 12:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,63.62 KB, text/plain)
2022-01-22 09:42 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 2022-01-22 09:42:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/qd-2.3.23 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-22 09:42:22 UTC
Created attachment 763136 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-22 09:42:24 UTC
Error(s) that match a know pattern:

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crti.o is incompatible with elf32-i386
Comment 3 Agostino Sarubbo gentoo-dev 2024-03-07 12:05:04 UTC
*** Bug 919723 has been marked as a duplicate of this bug. ***