Closed Bug 1610991 Opened 5 years ago Closed 5 years ago

RLBox - Update rlbox /rlbox_lucet libraries to versions that work on Mac

Categories

(Core :: General, defect, P3)

x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: shravanrn, Assigned: shravanrn)

References

Details

Attachments

(1 file)

No description provided.
Summary: RLBox - Test and fix rlbox and rlbox_lucet libraries on Mac → RLBox - Update rlbox /rlbox_lucet libraries to versions that work on Mac

RLBox API repo and RLBox lucet repo have been tested and updated to support Mac.

The [forked lucet] required some changes to support Mac < 10.12, namely removing uses of libc functions like clock_gettime that were only supported as of Mac 10.12.

We need to bump the in tree versio nof rlbox_lucet repo to get these changes.

Type: task → defect
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e0e11528ba44 Update rlbox_lucet lib to Mac compatible version r=froydnj

We tracked the assertion down to:

[task 2020-02-10T22:57:12.049Z] 22:57:12 INFO - PID 15090 | Error LucetRuntimeError(Unsupported("Module requires feature host does not support: BMI1"))!
[task 2020-02-10T22:57:12.049Z] 22:57:12 INFO - PID 15090 | Sandbox could not be created
[task 2020-02-10T22:57:12.050Z] 22:57:12 INFO - PID 15090 | Redirecting call to abort() to mozalloc_abort

Does that mean that we need https://phabricator.services.mozilla.com/D60166 to limit what features lucet can use at compile time?

I'm running some tests now and the flag stating compile time features is likely the missing piece .... Since we are backporting commits here, this version of lucet does requires the target flag.

Here is a repro of the bug without the flag

https://treeherder.mozilla.org/#/jobs?repo=try&revision=66259aaae0f22769fc27cbbb44a4ccac90e6d28c

Here is my test (still ongoing at this time) with the flag enabled

https://treeherder.mozilla.org/#/jobs?repo=try&revision=389483c2c62421b9d8879c9a59198343d5018830

Flags: needinfo?(shravanrn)
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b897758a9978 Update rlbox_lucet lib to Mac compatible version r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Blocks: 1615201
Regressions: 1615786
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: