Closed
Bug 1916827
Opened 1 year ago
Closed 5 months ago
Build error with GCC 14: incomplete type ‘js::jit::MPhi’ used in nested name specifier
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: psychonaut, Unassigned)
Details
Attachments
(1 obsolete file)
I'm trying to build SeaMonkey 2.53.19 for openSUSE x86-64 and am getting several build errors like this:
[ 117s] In file included from /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/jit/IonAnalysis.h:13,
[ 117s] from /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/vm/JSScript-inl.h:13,
[ 117s] from /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/frontend/Parser.cpp:53:
[ 117s] /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/jit/MIR.h: In instantiation of ‘bool js::jit::MDefinition::is() const [with MIRType = js::jit::MPhi]’:
[ 117s] /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/jit/MIR.h:942:5: required from here
[ 117s] 934 | return this->is<M##opcode>(); \
[ 117s] | ~~~~~~~~~~~~~~~~~~~^~
[ 117s] /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/jit/MIR.h:950:22: in ‘constexpr’ expansion of ‘((const js::jit::MDefinition*)this)->js::jit::MDefinition::isPhi()’
[ 117s] /home/abuild/rpmbuild/BUILD/seamonkey-2.53.19/mozilla/js/src/jit/MIR.h:922:33: error: incomplete type ‘js::jit::MPhi’ used in nested name specifier
[ 117s] 922 | return op() == MIRType::classOpcode;
[ 117s] | ^~~~~~~~~~~
I didn't have any similar problems building 2.53.19b1.
| Reporter | ||
Comment 1•1 year ago
|
||
The problem occurs only when building with with GCC 14, which Tumbleweed recently rolled out. Building with GCC 13 (which is what I had used back when building 2.53.19b1) works.
Summary: Build error: incomplete type ‘js::jit::MPhi’ used in nested name specifier → Build error with GCC 14: incomplete type ‘js::jit::MPhi’ used in nested name specifier
Updated•1 year ago
|
Attachment #9432040 -
Attachment description: aruba.py → aruba.spam
Attachment #9432040 -
Attachment filename: aruba.py → aruba.spam.txt
Attachment #9432040 -
Attachment is obsolete: true
Attachment #9432040 -
Attachment mime type: text/x-python-script → text/text
Updated•10 months ago
|
Version: SeaMonkey 2.53 Branch → SeaMonkey 2.53
| Reporter | ||
Comment 3•5 months ago
|
||
I can't reproduce this when building SeaMonkey 2.53.21 with GCC 14, so I'm guessing that a bug got fixed either in SeaMonkey or in GCC.
Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•