Re: Problem running qos-test when building with gcc12 and LTO

2022-05-25 Thread Paolo Bonzini
On 5/24/22 22:12, Dario Faggioli wrote: Ok, apparently, v6.2.0 works (with GCC 12 and LTO), while as said v7.0.0 doesn't. Therefore, I run a bisect, and it pointed at: 8dcb404bff6d9147765d7dd3e9c8493372186420 tests/qtest: enable more vhost-user tests by default I've also confirmed that on v7.0

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-25 Thread Dario Faggioli
On Wed, 2022-05-25 at 09:40 +, Dario Faggioli wrote: > On Wed, 2022-05-25 at 07:41 +0100, Alex Bennée wrote: > > > > Does it still trigger errors with my latest virtio cleanup series > > (which > > adds more tests to qos-test): > > > >   Subject: [PATCH  v2 00/15] virtio-gpio and various vir

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-25 Thread Dario Faggioli
On Wed, 2022-05-25 at 07:41 +0100, Alex Bennée wrote: > Dario Faggioli writes: > > I'll try to dig further. Any idea/suggestion anyone has, feel free. > > :-) > > Sounds like there are still memory corruption/not initialised issues > that are affected by moving things around. > Right. In fact, I

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-24 Thread Alex Bennée
Dario Faggioli writes: > [[PGP Signed Part:Undecided]] > On Mon, 2022-05-23 at 19:19 +, Dario Faggioli wrote: >> As soon as I get rid of _both_ "-flto=auto" _and_ "--enable-lto", the >> above tests seem to work fine. >> >> When they fail, they fail immediately, while creating the graph, li

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-24 Thread Dario Faggioli
On Mon, 2022-05-23 at 19:19 +, Dario Faggioli wrote: > As soon as I get rid of _both_ "-flto=auto" _and_ "--enable-lto", the > above tests seem to work fine. > > When they fail, they fail immediately, while creating the graph, like > this: > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-