Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946604 - www-client/firefox-128.5.0: ld.lld fails with "undefined symbol" when using USE="-jumbo-build"
Summary: www-client/firefox-128.5.0: ld.lld fails with "undefined symbol" when using U...
Status: RESOLVED DUPLICATE of bug 945801
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-18 00:37 UTC by Kai Krakow
Modified: 2024-12-18 17:20 UTC (History)
1 user (show)

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


Attachments
build log (www-client:firefox-128.5.0:20241217-211947.log.gz,334.01 KB, application/gzip)
2024-12-18 00:38 UTC, Kai Krakow
Details
emerge-info.txt (emerge-info.txt,12.65 KB, text/plain)
2024-12-18 01:27 UTC, Kai Krakow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2024-12-18 00:37:07 UTC
Fails to build with error:

876:10.35 ld.lld: error: undefined symbol: mozilla::a11y::DocAccessible::FireDelayedEvent(unsigned int, mozilla::a11y::LocalAccessible*)

Probably due to USE="-jumbo-build".

Side note: I don't think "jumbo-build" should be enabled by default. I don't have a weak system but it really stresses the system, usually oomd kicks in and causes some havoc.

Reproducible: Always
Comment 1 Kai Krakow 2024-12-18 00:38:35 UTC
Created attachment 914276 [details]
build log
Comment 2 Greg Kubaryk 2024-12-18 01:22:15 UTC
got emerge --info?
Comment 3 Kai Krakow 2024-12-18 01:27:04 UTC
Created attachment 914277 [details]
emerge-info.txt

Oh yes, I forgot. Attached.
Comment 4 Kai Krakow 2024-12-18 01:29:22 UTC
Additionally, I'm using these via package.env for firefox:

# cat /etc/portage/env/no-{debug,tmpfs}
CFLAGS="${CFLAGS} -g0"
CXXFLAGS="${CXXFLAGS} -g0"
PORTAGE_TMPDIR="/mnt/xfs-storage"
MAKEOPTS="-s -j5 -l7"
Comment 5 Joonas Niilola gentoo-dev 2024-12-18 09:06:41 UTC
This is probably another -jumbo-build +pgo combination issue, as in bug 945801 - honestly I'm not sure if it ever was supposed to work since profiling goes through unified stuff. 

And no, -jumbo-build won't be made to a default. Upstream barely supports non-unified builds, they don't test it and it's broken all the time. I'm actually considering taking the jumbo-build use flag out altogether... also, -jumbo-builds makes the build last much longer than +pgo does. 

I'll probably force +pgo to require +jumbo-build for now as it doesn't seem to work without.

*** This bug has been marked as a duplicate of bug 945801 ***
Comment 6 Larry the Git Cow gentoo-dev 2024-12-18 17:20:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d69f169b9b980067436aa33b84398ee19ca4d2

commit b4d69f169b9b980067436aa33b84398ee19ca4d2
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-12-18 17:12:21 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-12-18 17:12:21 +0000

    www-client/firefox: require 'jumbo-build' when +pgo is specified
    
     - I'm honestly surprised if it ever worked otherwise. See bugs for
       discussion.
    
    Bug: https://bugs.gentoo.org/946604
    Bug: https://bugs.gentoo.org/945801
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-128.5.0.ebuild | 1 +
 www-client/firefox/firefox-128.5.1.ebuild | 1 +
 www-client/firefox/firefox-133.0.3.ebuild | 1 +
 3 files changed, 3 insertions(+)