Bug 14572

Summary: mozjs doesn't build for armv5
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, jon.mason, meta.mr.watcher, meta.watcher, randy.macleod, ross.burton
Version: 0.0.0   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.