Closed Bug 1936626 Opened 10 months ago Closed 7 months ago

Error when building Temporal for wasm32-wasi configurations

Categories

(Core :: JavaScript: Standard Library, defect, P3)

defect

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: dminor, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

For wasi builds, there's a problem with the assertion that MaxLength >= ICUEraNameMaxLength():

[task 2024-12-06T18:04:49.417Z] In file included from Unified_cpp_builtin_temporal0.cpp:2:
[task 2024-12-06T18:04:49.417Z] /builds/worker/checkouts/gecko/js/src/builtin/temporal/Calendar.cpp:1427:27: error: result of comparison of 15 >= 4-bit unsigned value is always true [-Werror,-Wtautological-value-range-compare]
[task 2024-12-06T18:04:49.417Z]  1427 |   static_assert(MaxLength >= ICUEraNameMaxLength(),
[task 2024-12-06T18:04:49.418Z]       |                 ~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~
[task 2024-12-06T18:04:49.418Z] 1 error generated.
[task 2024-12-06T18:04:49.418Z] gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:675: Unified_cpp_builtin_temporal0.o] Error 1
Severity: -- → S3
Priority: -- → P3
See Also: → 1956918
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: