[go: nahoru, domu]

Open Bug 1902598 Opened 2 months ago Updated 1 month ago

riscv build failed

Categories

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

Firefox 129
RISCV64
Unspecified
defect

Tracking

()

ASSIGNED

People

(Reporter: yahan, Assigned: yahan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Steps to reproduce:

Build for riscv

Actual results:

0:42.15 /home/luyahan/source/gecko-dev/js/src/jit/riscv64/Simulator-riscv64.cpp:3022:11: error: call to function 'isinf' that is neither visible in the template definition nor found by argument-dependent lookup
0:42.17 return (isinf(src1) && isinf(src2) &&
0:42.17 ^
0:42.19 /home/luyahan/source/gecko-dev/js/src/jit/riscv64/Simulator-riscv64.cpp:3343:13: note: in instantiation of function template specialization 'js::jit::is_invalid_fadd<float>' requested here
0:42.19 if (is_invalid_fadd(frs1, frs2)) {
0:42.19 ^
0:42.21 /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/cmath:584:3: note: 'isinf' should be declared prior to the call site
0:42.22 isinf(float __x)

Expected results:

Build pass

Assignee: nobody → yahan
Attachment #9407454 - Attachment description: WIP: Bug 1902598 - Fix build failed on riscv → Bug 1902598 - Fix build failed on riscv.r=jseward
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

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
Blocks: sm-build
Severity: -- → S3
Priority: -- → P1
Hardware: Unspecified → RISCV64
Attachment #9407454 - Attachment description: Bug 1902598 - Fix build failed on riscv.r=jseward → Bug 1902598 - [riscv] Fix build failed on riscv.r=jseward
Attachment #9407454 - Attachment description: Bug 1902598 - [riscv] Fix build failed on riscv.r=jseward → Bug 1902598 - Fix build failed on riscv.r=jseward
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: