Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830899 - media-gfx/iscan-3.65.0-r2 fails to compile: ld.lld: error: undefined symbol: utsushi::_drv_::esci::compound_base::get_information()
Summary: media-gfx/iscan-3.65.0-r2 fails to compile: ld.lld: error: undefined symbol: ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2022-01-10 08:34 UTC by Agostino Sarubbo
Modified: 2024-03-10 14:05 UTC (History)
0 users

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


Attachments
build.log (build.log,173.59 KB, text/plain)
2022-01-10 08:34 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-10 08:34:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/iscan-3.65.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-10 08:34:24 UTC
Created attachment 761743 [details]
build.log

build log and emerge --info
Comment 2 Marcin Deranek 2022-01-12 12:22:03 UTC
Problem seems to be related to a different behavior of ld.lld vs ld.bfd when using --retain-symbols-file option. Either forcing ld.bfd or removing --retain-symbols-file option works around the problem eg.

(after configure)
sed -e 's/^archive_expsym_cmds_CXX=.*/archive_expsym_cmds_CXX=/' -i config.status

What is the preferred way? I presume forcing ld.bfd should be safer.
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-27 08:01:02 UTC
clang-lld_tinderbox has reproduced this issue with version 3.65.0-r2 - Updating summary.