Thanks Chituc. That's spot-on with the identical error in Firefox. Specifically, it's not an illegal instruction so much as a misaligned (+2 bytes) instruction, plus at that point it's in Thumb mode when anything inside SkJumper should be in ARM mode.
Chromium adds a few more flags that might affect NEON i.e. -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mthumb, but as you've pointed out the biggest difference is compiling with clang. Apparently clang is actually supported for building Firefox on Linux, so maybe the Launchpad script could be augmented to just add two required lines to mozconfig.
Thanks Chituc. That's spot-on with the identical error in Firefox. Specifically, it's not an illegal instruction so much as a misaligned (+2 bytes) instruction, plus at that point it's in Thumb mode when anything inside SkJumper should be in ARM mode.
Technically both firefox and chromium-browser are cross-compiled because the Launchpad logs show the host system as aarch64 while the target is armhf: /launchpadlibra rian.net/ 356307711/ buildlog_ ubuntu- xenial- armhf.firefox_ 58.0.2+ build1- 0ubuntu0. 16.04.1_ BUILDING. txt.gz /launchpadlibra rian.net/ 357154172/ buildlog_ ubuntu- xenial- armhf.chromium- browser_ 64.0.3282. 167-0ubuntu0. 16.04.1_ BUILDING. txt.gz
* https:/
* https:/
Chromium adds a few more flags that might affect NEON i.e. -mfloat-abi=hard -mtune= generic- armv7-a -mfpu=vfpv3-d16 -mthumb, but as you've pointed out the biggest difference is compiling with clang. Apparently clang is actually supported for building Firefox on Linux, so maybe the Launchpad script could be augmented to just add two required lines to mozconfig.
Looks like Firefox 58 for 18.04 Bionic armhf built successfully and uses gcc 7: https:/ /launchpad. net/ubuntu/ +source/ firefox/ 58.0.2+ build1- 0ubuntu1/ +build/ 14326274
Anyone able to try it out?