Bug 2212748

Summary: Fails to build: undefined reference to `mozilla::ProfilerParent::~ProfilerParent()'
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: aperotti, awilliam, dan, erack, gecko-bugs-nobody, jhorak, klaas, rstrode
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard: openqa
Fixed In Version: firefox-114.0-1.fc39 firefox-116.0-3.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-02 18:00:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071880    

Description Martin Stransky 2023-06-06 08:50:29 UTC
Firefox fails to build on ppc64le due to "undefined reference to `mozilla::ProfilerParent::~ProfilerParent()'" error message.

Build log: https://kojipkgs.fedoraproject.org//work/tasks/7699/101847699/build.log

Error:

87:32.38 ../../../../../config/nsinstall -R -m 644 'libipcclientcerts.so' '../../../../../dist/bin'
87:32.38 gmake[4]: Leaving directory '/builddir/build/BUILD/firefox-114.0/objdir/security/manager/ssl/ipcclientcerts/dynamic-library'
107:42.21 /usr/bin/ld: /builddir/build/BUILD/firefox-114.0/objdir/toolkit/library/build/../../../tools/profiler/Unified_cpp_tools_profiler0.o: in function `mozilla::ProfilerParent::Release()':
107:42.21 /builddir/build/BUILD/firefox-114.0/objdir/dist/include/ProfilerParent.h:34: undefined reference to `mozilla::ProfilerParent::~ProfilerParent()'
107:42.21 /usr/bin/ld: /builddir/build/BUILD/firefox-114.0/objdir/dist/include/ProfilerParent.h:34: undefined reference to `mozilla::ProfilerParent::~ProfilerParent()'
109:39.35 /usr/bin/ld: libxul.so: hidden symbol `_ZN7mozilla14ProfilerParentD0Ev' isn't defined


Reproducible: Always

Comment 1 Fedora Update System 2023-06-06 11:16:26 UTC
FEDORA-2023-352def6e72 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-352def6e72

Comment 2 Martin Stransky 2023-06-06 11:18:00 UTC
I think it's still relevant.

Comment 3 Fedora Update System 2023-06-06 11:21:58 UTC
FEDORA-2023-352def6e72 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Adam Williamson 2023-06-16 13:22:55 UTC
This is relevant to openQA - we have many tests that use Firefox, and of course they all currently fail on ppc64le because of this.

Comment 5 Dan Horák 2023-06-16 13:28:23 UTC
I have a fix for this one, but still need to upstream it ...

Comment 6 Andrea Perotti 2023-07-12 18:37:07 UTC
Since your patch has been merged upstream:
https://bugzilla.mozilla.org/show_bug.cgi?id=1838584#c6

Can this BZ be closed and is it now possible to restore the ppc64le build?
https://src.fedoraproject.org/rpms/firefox/c/92435129911fd393c51a61632ac0e6bfd8a9e346?branch=rawhide


Thanks

Comment 7 Dan Horák 2023-07-12 18:48:24 UTC
I have attempted to do a build after re-enabling ppc64le, but it fails most likely due the new Python 3.12 being in the buildroot and Firefox' buildsystem not being compatible with it. See https://koji.fedoraproject.org/koji/taskinfo?taskID=103212616 for details.

Once there is a build we can close the bug.

Comment 8 Fedora Update System 2023-08-02 17:10:13 UTC
FEDORA-2023-a1a0c3f6af has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a1a0c3f6af

Comment 9 Fedora Update System 2023-08-02 18:00:06 UTC
FEDORA-2023-a1a0c3f6af has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Red Hat Bugzilla 2023-12-01 04:25:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days