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).
> 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/ 0830e72f0bce29b df1de0d67ad503a 9a8b99c968