Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 826866 - www-client/firefox fails to build with lto and gold linker
Summary: www-client/firefox fails to build with lto and gold linker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-23 12:59 UTC by Michael Orlitzky
Modified: 2021-12-06 15:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2021-11-23 12:59:43 UTC
Bug 764590 is back when using the gold linker and GCC:

664:18.61 /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1/work/binutils-2.37/gold/object.h:1048

It looks like USE="lto -clang" used to imply

  mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd

but that line got lost somewhere.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-12-06 15:37:57 UTC
Line is back in 91.4.0 and 95.0! Thank you for the report.