sailfishos / sailfish-browser

Sailfish Browser
https://github.com/sailfishos/sailfish-browser/wiki/Sailfish-Browser-wiki
Mozilla Public License 2.0
305 stars 86 forks source link

Avoid compiler crash when building swgl optimised for ESR 91 #1032

Open llewelld opened 10 months ago

llewelld commented 10 months ago

Building swgl with -O2 for aarch64 resulted in a segfault:

internal compiler error: Segmentation fault

Reducing optimisation to -O1 worked around this, see f64b6cf84dc6f6a6d35600d156e2c561e3f24293.

Ideally we would either:

  1. Figure out why the compiler crash is actually happening and fix it; or
  2. Target the optimisation more carefully, for example so it only applies to swgl.