I just disabled LTO for qemu.
It caused what are best described as "weird" assert failures in the test suite.
For comparison here's a good build (without LTO): https://koji.fedoraproject.org/koji/taskinfo?taskID=48188577
And here's a bad build (with LTO): https://koji.fedoraproject.org/koji/taskinfo?taskID=48182910
At some point we'll need to look at what's going on, but right now disabling LTO was the easiest way to work around what might be toolchain bugs.
Rich.
On Thu, 2020-07-30 at 11:06 +0100, Richard W.M. Jones wrote:
I just disabled LTO for qemu.
It caused what are best described as "weird" assert failures in the test suite.
For comparison here's a good build (without LTO): https://koji.fedoraproject.org/koji/taskinfo?taskID=48188577
And here's a bad build (with LTO): https://koji.fedoraproject.org/koji/taskinfo?taskID=48182910
At some point we'll need to look at what's going on, but right now disabling LTO was the easiest way to work around what might be toolchain bugs.
Agreed 100%. qemu was one of the dozen or so things left on my "to review" list that I couldn't get to with the binutils panic Fri/Sat. I suspect there's an asm gone awry, but we won't know for sure until we dig deeply into it.
Jeff