https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966

--- Comment #3 from Christian Ehrhardt <christian.ehrhardt at canonical dot 
com> ---
> Just drop -mbuild-constants.

Thanks for the hint Uroš, but I'm not sure if one can do that, this option is
from [1]. I do not have the background on this, but it reads as there was a
reason "Use -mbuild-constants to prevent the compiler using static data" to set
this which seems more breaking than my current workaround (reduce -O2 to -O1).

[1]:
https://github.com/qemu/qemu-palcode/commit/0830e72f0bce29bdf1de0d67ad503a9a8b99c968

Reply via email to