Thanks again for your proposals. The reason I mentioned this problem in this thread is because I thought that this might be a problem of the GCC 10 itself. Let's don't derail the thread further.
I really appreciate your feedback guys. Thanks again.
Since today a rather essential (at least for me) fix regarding dynamic casts/shared builds has been merged to adtools, could someone please compile a new version, so I can test locally?
Very good to hear. I'm finally preparing a PR for the main repo now so that we'll have less confusion and maintenance in the (hopefully no so distant) future.
Nice. I opened a PR in the main repo for gcc 10. There was some confusion in that thread as to why this release works. Would be good to avoid that in the future :)
I just used that release as a dump for the binaries. 11.1.0 contains everything that 10.3.0_2 does. It's a mess that I should fix. I see that there's a Travis file in the adtools repo, but it seems broken. That should be fixed so that we could build rc:s, finals and so on and automatically publish them somewhere.
lto not working natively is a known bug. There is either something missing natively or something broke while porting.
@sTix
Just did a full build of ScummVM with 11.1.0...works like a charm.
I can also report that -fanalyze is working, but it's not really something to use commonly, more like only for bug hunting, since it demands a lot of cpu power.