Closed Bug 1822827 Opened 2 years ago Closed 2 years ago

Startup failure: "Illegal instruction" on non-NEON arm-linux-gnueabihf

Categories

(Firefox Build System :: General, defect)

Firefox 110
defect

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: ema, Assigned: ema)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

Firefox 110.0.1, as well as 102.9.0esr, fails to start on arm-linux-gnueabihf systems without NEON instructions.

To reproduce the issue, setup an armhf chroot as described on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982794#55 and try running:

$ QEMU_CPU=cortex-r5f firefox --version

Actual results:

(armhf)root@ariel:/home/ema# QEMU_CPU=cortex-r5f firefox --version
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction

Expected results:

(sid-armhf)root@ariel:/home/ema# QEMU_CPU=cortex-r5f firefox --version
Mozilla Firefox 110.0.1

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

NEON is now always used throughout the build. The groundwork for this was taken care of when we migrated all non-NEON ARM users to 52 indefinitely and not letting them progress to 53+. So that's why NEON is mandatory now.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX

Not all 32bit ARM CPUs have NEON instructions. Stop passing NEON_FLAGS.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982794

Support for

  • non-NEON ARM
  • CPUs older than Pentium 4/AMD Opteron
  • Windows XP
  • Windows Vista
  • 32 bit MacOS

ended with Firefox 52 and was removed with Firefox 53 (March/April 2017).

(In reply to Robert Longson [:longsonr] from comment #2)

NEON is now always used throughout the build. The groundwork for this was taken care of when we migrated all non-NEON ARM users to 52 indefinitely and not letting them progress to 53+. So that's why NEON is mandatory now.

That's not actually true.

(In reply to Darkspirit from comment #4)

Support for

  • non-NEON ARM
  • CPUs older than Pentium 4/AMD Opteron
  • Windows XP
  • Windows Vista
  • 32 bit MacOS

ended with Firefox 52 and was removed with Firefox 53 (March/April 2017).

That's for the builds mozilla ships. We don't prevent downstreams from supporting those.

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WONTFIX → ---
Component: Widget: Gtk → General
Product: Core → Firefox Build System
Attachment #9323516 - Attachment description: WIP: Bug 1822827 - fix 'Illegal instruction' error on non-NEON arm-linux-gnueabihf → Bug 1822827 - fix 'Illegal instruction' error on non-NEON arm-linux-gnueabihf
Attachment #9323516 - Attachment description: Bug 1822827 - fix 'Illegal instruction' error on non-NEON arm-linux-gnueabihf → Bug 1822827 - Remove explicit NEON flags from skia build
Assignee: nobody → ema
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/2e0f02d3955d Remove explicit NEON flags from skia build r=glandium
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Regressions: 1827845
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: