My work on SIMD stuff in kf is now blocked on what seems to be a compiler error. Compiling with -march=native gives an exe that crashes wine with a page fault on (-1). I have submitted a small test case to the Debian bug tracker.
Debian mingw cross-compilers are still on gcc-8, hopefully they will upgrade to gcc-9 at some point. Maybe it fixes this problem, I've heard tell that it fixes the mingw C++ std::thread issues (apparently Arch can cross-compile OpenEXR without the hacks I needed).
Maybe next week I will try to install a minimal Arch in a chroot and see.
Turns out is an upstream #GCC #bug that hasn't been fixed despite being reported in 2012. Windows 64bit #stack is aligned to 16 bytes only, and some part of GCC generates vector move instructions that require 32 bytes. Problem doesn't occur on Linux as stack can be re-aligned there, some Windows-specific stuff I don't understand means that that isn't possible there.
@mathr you could also try and see if you can whip up a nix environment with the right compiler versions. It also has some cross-compilation infrastructure.
ps: hope you're good! developing for windows now eh!? 😆
@krgn yep all good here. how same for you!
I forked/took over a windows fractal program when the original author gave up on it, works fine in wine so I haven't felt like making a linux native version.
@mathr Yeah doing alright here too, same old pretty much.
> I forked/took over a windows fractal program [..]
I see, ok! Phew :)