Closed Bug 1909587 Opened 5 months ago Closed 4 months ago

[mips64] Failed to build (error: could not convert ‘js::jit::ABIType::Float64’ from ‘js::jit::ABIType’ to ‘int’))

Categories

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

Firefox 128
Other
Linux
defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- fixed
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- fixed

People

(Reporter: flygoat, Assigned: flygoat)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files, 2 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

Build Firefox on MIPS64 system

Actual results:

Error:

In file included from Unified_cpp_js_src_jit15.cpp:29: 
/var/cache/acbs/build/acbs.qgwua8gz/firefox-128.0/js/src/jit/mips64/MoveEmitter-mips64.cpp: In member function ‘virtual void js::jit::MoveEmitterMIPS64::breakCycle(const js::jit::MoveOperand&, const js::jit::MoveOperand&, js::jit::MoveOp::Type, uint32_t)’: 
/var/cache/acbs/build/acbs.qgwua8gz/firefox-128.0/js/src/jit/mips64/MoveEmitter-mips64.cpp:33:19: error: could not convert ‘js::jit::ABIType::Float64’ from ‘js::jit::ABIType’ to ‘int’ 
   33 |     case ABIType::Float64: 
      |          ~~~~~~~~~^~~~~~~ 
      |          | 
      |          js::jit::ABIType 
/var/cache/acbs/build/acbs.qgwua8gz/firefox-128.0/js/src/jit/mips64/MoveEmitter-mips64.cpp: In member function ‘virtual void js::jit::MoveEmitterMIPS64::completeCycle(const js::jit::MoveOperand&, const js::jit::MoveOperand&, js::jit::MoveOp::Type, uint32_t)’: 
/var/cache/acbs/build/acbs.qgwua8gz/firefox-128.0/js/src/jit/mips64/MoveEmitter-mips64.cpp:88:19: error: could not convert ‘js::jit::ABIType::Float64’ from ‘js::jit::ABIType’ to ‘int’ 
   88 |     case ABIType::Float64: 
      |          ~~~~~~~~~^~~~~~~ 
      |          | 
      |          js::jit::ABIType 

Expected results:

Build works.

OS: Unspecified → Linux
Hardware: Unspecified → Other

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine: JIT' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core
Keywords: regression
Regressed by: 1870747

I'll try to submit a patch.

:iain, since you are the author of the regressor, bug 1870747, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(iireland)

This seems to be a accidental change made in D198105.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Assignee: nobody → jiaxun.yang
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1870747

Flags: needinfo?(iireland)
Blocks: 1639895
Severity: -- → S3
Priority: -- → P1
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/autoland/rev/748ea606fb5e Correct MoveEmitter switch case r=rhunt
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

This seems to be a accidental change made in D198105.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Original Revision: https://phabricator.services.mozilla.com/D217671

Attachment #9417201 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: FTBFS for MIPS64 platform
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Build on MIPS64 platform
  • Risk associated with taking this patch: N/A
  • Explanation of risk level: No Tier 1 platform is touched
  • String changes made/needed: No
  • Is Android affected?: no

This seems to be a accidental change made in D198105.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Original Revision: https://phabricator.services.mozilla.com/D217671

Attachment #9417202 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: FTBFS for MIPS64 platform
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Build on MIPS64 platform
  • Risk associated with taking this patch: N/A
  • Explanation of risk level: No Tier 1 platform is touched
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9417202 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Attachment #9417202 - Attachment is obsolete: true

This seems to be a accidental change made in D198105.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Original Revision: https://phabricator.services.mozilla.com/D217671

Attachment #9417253 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: FTBFS for MIPS64 platform
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Build on MIPS64 platform
  • Risk associated with taking this patch: N/A
  • Explanation of risk level: No Tier 1 platform is touched
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9417253 - Flags: approval-mozilla-release? → approval-mozilla-release-
Attachment #9417253 - Flags: approval-mozilla-release- → approval-mozilla-release?

Comment on attachment 9417253 [details]
Bug 1909587: Correct MoveEmitter switch case r=rhunt!

Rejecting uplift request, S3 bug introduced in Fx123. This will ride the train to release with Fx130.

Attachment #9417253 - Flags: approval-mozilla-release? → approval-mozilla-release-
Attachment #9417253 - Attachment is obsolete: true
Attachment #9417201 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: