Bug 14572 - mozjs doesn't build for armv5
Summary: mozjs doesn't build for armv5
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 0.0.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.99
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-09-25 12:29 UTC by Richard Purdie
Modified: 2024-06-28 15:40 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2021-09-25 12:29:45 UTC
polkit uses mozjs which doesn't build for armv5te any more.
Comment 1 Alexandre Belloni 2021-09-30 14:30:45 UTC
This was reported to me a while ago and to fix that, we did:

EXTRA_OECONF_append = " --disable-ion "

This is probably a bit heavy handed but we could theoretically detect that we don't have hfp.
Comment 2 Randy MacLeod 2021-09-30 14:58:40 UTC
polkit depends on mozjs but we're concerned that lack of armv5 support is not good for some yocto users so we'll track the bug in the YP bugzilla.
Comment 3 Randy MacLeod 2024-01-18 16:15:31 UTC
Does anyone use this combo?
Comment 4 Ross Burton 2024-01-18 20:04:10 UTC
The error is:

Error: selected processor does not support `isb' in ARM mode

It's not wrong: armv5 doesn't support ISB and that's used directly by the JIT.
Comment 5 Ross Burton 2024-01-18 20:04:38 UTC
Posting a patch.