Open Bug 1911578 Opened 1 month ago Updated 4 days ago

Add OpenHarmony as a tier 3 target (for Spidermonkey)

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jonathan.schwender, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

I would like to formally request adding OpenHarmony OS (OH) as tier 3 target to Firefox. The expectation here wouldn't be that Firefox should work on OH, but instead that the build-system and Spidermonkey can receive some minor OH specific patches. Examples would be:

  • Specializing the logging on OH to go to OH's logging system hilog instead of stderr.
  • Adding a flag to mmap for the JIT pages when compiling for OH.

Currently servo already has openharmony support, but needs to carry some minor patches for spidermonkey downstream. Ideally, these patches could be upstreamed. The patches are minor and not invasive, so they shouldn't negatively affect any existing platform code.
I previously already filled out the Spidermonkey form on adding support for a new architecture, and attached it here.

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

Component: Untriaged → JavaScript Engine
Product: Firefox → Core

Can you post (a link to) the patches in this bug? That would help us evaluate this.

If it's okay, I'll just link to the github PRs in downstream mozjs. Otherwise I could also extract the patchfiles and inline the patches here.

Blocks: sm-build
Severity: -- → N/A
Priority: -- → P3

Friendly ping. I'm still interested in getting some feedback if mozilla would be willing to accept OpenHarmony related patches upstream, that are already merged downstream in the servo mirrors (currently spidermonkey and also one minor webrender patch)

Flags: needinfo?(wmedina)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: