Closed Bug 1684732 Opened 4 years ago Closed 4 years ago

[MIPS] Failed to build js on mips64 (undefined reference to `js::jit::MacroAssembler::fallibleUnboxPtr)

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

78 Branch
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: paul_st, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

Steps to reproduce:

Try to build js on x86_64 with simulator-mips64
changeset: 2d3f88083affe7381bb6ecac6a1d33b32239416d
(HEAD, origin/FIREFOX_ESR_78_0_X_RELBRANCH)

Actual results:

Build is fails on the final link stage.
...
13:11.70 ../gecko-dev/js/src/jit/MacroAssembler-inl.h:825: undefined reference to js::jit::MacroAssembler::fallibleUnboxPtr(js::jit::BaseIndex const&, js::jit::Register, JSValueType, js::jit::Label*)' 13:11.70 /usr/bin/ld: libmozjs-78.so: hidden symbol_ZN2js3jit14MacroAssembler16fallibleUnboxPtrERKNS0_9BaseIndexENS0_8RegisterE11JSValueTypePNS0_5LabelE' isn't defined
13:11.70 /usr/bin/ld: final link failed: Bad value

Expected results:

Build is successful.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core

Core MIPS issue.

It seems to be related with bug 1642265, which was fixed in ff79, but not be merged into esr78.

Depends on: 1642265

The patch is merged into esr78, and now I can build js with esr78 code.

Severity: -- → S4
Priority: -- → P5

At the build works fine.

Reported fixed.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.