I've tried building scipy 1.1.0 from github on a Fedora installation. The build already uses -funroll-loops. But I couldn't reproduce the problem with the resulting binary.
gcc version 8.0.1 20180324
Aurelien already tracked it down to a miscompilation of
scipy/optimize/minpack/qrsolv.f
This source file appears to contain just a single function (qrsolv) which is not too big. I think I can work with that after being able to reproduce the problem.
As Jakub mentioned the exact compiler cmdline would be good.
I've tried building scipy 1.1.0 from github on a Fedora installation. The build already uses -funroll-loops. But I couldn't reproduce the problem with the resulting binary.
gcc version 8.0.1 20180324
Aurelien already tracked it down to a miscompilation of minpack/ qrsolv. f
scipy/optimize/
This source file appears to contain just a single function (qrsolv) which is not too big. I think I can work with that after being able to reproduce the problem.
As Jakub mentioned the exact compiler cmdline would be good.