On Thu, Jul 16, 2020 at 05:34:46PM +0200, Jonas Smedegaard wrote: > Quoting Adrian Bunk (2020-07-16 17:29:17) > > On Thu, Jul 16, 2020 at 04:02:53PM +0200, Jonas Smedegaard wrote: > > > Quoting Mikolaj Konarski (2020-07-16 15:50:53) > > > > Hi, > > > > > > > > Does disabling optimization help? I have it disabled for these > > > > architectures in haskell-lambdahack and it did help in that case. > > > > > > I will try. Thanks for the suggestion! > > > > "-O0 -g0" worked for me on armel, I am currently trying on mipsel what > > the minimum required change is. > > As I understand it, "-O0 -g0" is not the most minimally intrusive,
"-O0 -g0" is nearly the biggest possible hammer. It was my starting point for seeing that there is some possible solution available this way. > instead (as I also posted separately in more detail a moment ago) that > is --ghc-options="-optc--param -optcggc-min-expand=5" If that is sufficient it is great. Unless something changed recently no debug info is distributed for Haskell-built binaries, so -g1/-g0 does not actually make anything worse. This is what I am currently trying on eller. > - Jonas cu Adrian