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
Created attachment 761743 [details] build.log build log and emerge --info
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.