Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
running firefox on arm64 with W^X & BTI (and without jit)
To:
ports@openbsd.org
Date:
Sat, 1 Mar 2025 13:43:11 +0100

Download raw body.

Thread
  • Landry Breuil:

    running firefox on arm64 with W^X & BTI (and without jit)

hi,

quick exploratory diff
(https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=release-nobtcfi-arm64&id=d2406533ce85d5d367a05d02016d8efeb5596ecf),

with firefox 136 (and
https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=release&id=84d4458bf84d7fdcaa102bf971777d9577311eaf),
i can build against system dav1/aom (which was the main reason for the
addition of USE_NOEXECONLY/USE_NOBTCFI in Makefile r1.604, cf
https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/mozilla-firefox/Makefile?rev=1.604&content-type=text/x-cvsweb-markup),
and if disabling the jit, i can now drop USE_NOEXECONLY/USE_NOBTCFI for
arm64. firefox works fine on BTI arm64 hw, i can play videos on youtube.

the benchmarks on https://chromium.github.io/octane/ drop from 16397 to
527 so there's a huge performance hit on the javascript jit.. that's the
next (last?) step, hopefully.

Landry