Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867124 - sys-libs/efivar-38 - mold fatal: unknown command line option: --add-needed
Summary: sys-libs/efivar-38 - mold fatal: unknown command line option: --add-needed
Status: RESOLVED DUPLICATE of bug 831472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-mold
  Show dependency tree
 
Reported: 2022-08-28 15:54 UTC by Kostadin Shishmanov
Modified: 2022-08-28 16:37 UTC (History)
0 users

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


Attachments
build.log (build.log,31.41 KB, text/x-log)
2022-08-28 15:54 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***