Open Bug 1916827 Opened 6 months ago Updated 4 months ago

Build error with GCC 14: incomplete type ‘js::jit::MPhi’ used in nested name specifier

Categories

(SeaMonkey :: Build Config, defect)

SeaMonkey 2.53 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

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.

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

Attachment

General

Creator:
Created:
Updated:
Size: