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

Bug 867124

Summary: sys-libs/efivar-38 - mold fatal: unknown command line option: --add-needed
Product: Gentoo Linux Reporter: Kostadin Shishmanov <kocelfc>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 830404    
Attachments: build.log

Description Kostadin Shishmanov 2022-08-28 15:54:23 UTC
Created attachment 801685 [details]
build.log

When using mold as a linker the build fails at

mold: fatal: unknown command line option: --add-needed
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/sys-libs/efivar-38/work/efivar-38/src/include/rules.mk:39: libefivar.so] Error 1
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-28 15:57:55 UTC
Probably a dupe of bug 831472.
Comment 2 Kostadin Shishmanov 2022-08-28 16:11:29 UTC
Yes. Sorry, looks like the needed fix has already been merged upstream.

https://github.com/rhboot/efivar/pull/218/commits/b23aba1469de8bb7a115751f9cd294ad3aaa6680
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-28 16:37:33 UTC

*** This bug has been marked as a duplicate of bug 831472 ***