Here is a working Firefox 59 deb package cross-compiled for 18.04 armhf:
https://www.dropbox.com/s/17ypog6btdq4wj7/firefox_59.0.1%2Bbuild1-0ubuntu1_armhf.deb?dl=0

I have installed and tested on RaspEX (Bionic armhf). I can also confirm
it works sandboxed on Ubuntu MATE Xenial and Raspbian Stretch. One way
to run on older systems is to unpack locally using ar + tar, download
libc6 and libstdc++6 bionic armhf debfiles and untar them as well, then
do:

  cd path/to/usr/lib/firefox
  
LD_PRELOAD=path/to/usr/lib/arm-linux-gnueabihf/libstdc++.so.6:path/to/lib/arm-linux-gnueabihf/libm.so.6
 \
    ./firefox

Cross-compiling via dpkg-buildpackage is fraught of issues, and similar
to what Chituc experienced the most difficult part was getting rustc to
properly cross-compile in all cases. I posted my main workaround for a
host/target header bug here: https://github.com/rust-lang-nursery/rust-
bindgen/issues/1229

To prevent the Skia misaligned instruction crash, I ended up editing
gfx/skia/generate_mozbuild.py to force SK_JUMPER_USE_ASSEMBLY to False.
However, there's stubborn code at the top of SkJumper.cpp that ends up
turning it on again so I had to override that too. Telling Skia to use
its non-asm fallback mode should be better than disabling Skia
altogether as we had for Firefox 57.

I tested some of our earlier theories too, and so far building Skia with
clang, everything with -thumb, -fstack-protector-strong, --enable-rust-
simd or other suggestions above do not seem to help at all with the Skia
SIGILL nor the strd r2, r3, [r1] SIGSEGV.

As for that strd r2, r3, [r1] crash, not much progress there aside from
our theory that it's in the XPCOM armhf-specific code. I'm merely
avoiding it by building in a 18.04 Docker container, but still no idea
why that works.

** Bug watch added: github.com/rust-lang-nursery/rust-bindgen/issues #1229
   https://github.com/rust-lang-nursery/rust-bindgen/issues/1229

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1711337

Title:
  Firefox crashes at start on armv7L after 55.0.1 update

Status in Mozilla Firefox:
  Expired
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Firefox always crashes when launched after the 55.0.1 update on an
  Orange Pi PC Plus (a single-board computer similar to a Raspberry Pi),
  even in safe mode.

  I did a fresh install of Armbian (a Ubuntu Xenial 16.04 re-spin for
  ARM single-board computer) on a similar board (Orange Pi Plus 2e),
  installed Firefox and experienced the same problem--it won't load
  without crashing.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: firefox 55.0.1+build2-0ubuntu0.16.04.2
  Uname: Linux 3.4.113-sun8i armv7l
  AddonCompatCheckDisabled: False
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: armhf
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  jim        1138 F.... pulseaudio
   /dev/snd/controlC0:  jim        1138 F.... pulseaudio
  BuildID: 20170814194718
  Card0.Amixer.info:
   Card hw:0 'audiocodec'/'audiocodec'
     Mixer name : ''
     Components : ''
     Controls      : 12
     Simple ctrls  : 12
  Card1.Amixer.info:
   Card hw:1 'sndhdmi'/'sndhdmi'
     Mixer name : ''
     Components : ''
     Controls      : 1
     Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'hdmi audio format Function',0
     Capabilities: enum
     Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC' 
'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
     Item0: 'pcm'
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Aug 17 05:37:00 2017
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  IpRoute:
   default via 192.168.10.1 dev eth0 
   default via 192.168.10.1 dev wlan0  proto static  metric 600 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.107 
   192.168.10.0/24 dev wlan0  proto kernel  scope link  src 192.168.10.108  
metric 600
  Locales: extensions.sqlite corrupt or missing
  PciMultimedia:
   
  PciNetwork:
   
  Profiles: Profile0 (Default) - LastVersion=55.0.1/20170814194718
  RfKill:
   0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1711337/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to