Bug#647309: haskell-src-exts: FTBFS on hppa

John David Anglin dave.anglin at bell.net
Thu Sep 15 14:40:07 UTC 2016


See:
https://buildd.debian.org/status/fetch.php?pkg=haskell-src-exts&arch=hppa&ver=1.17.1-1%2Bb2&stamp=1473916863

We need 82 MB of stack to avoid overflowing stack 
(CONFIG_MAX_STACK_SIZE_MB).  The default is 80 MB.  This option is
only relevant for linux targets where the stack grows up (parisc, 
metag).  Then, we run out of virtual memory instead of
stack space.

1.17.1-1 used to build on hppa.  Probably, switch to gcc-6 caused issue.

Success is marginal on other 32-bit targets (x32 has same problem).

It might be possible to force gcc to do more frequent garbage collection 
at the expense of compile time.  Changing
optimizations might help.  Maybe program could be restructured...

Dave

-- 
John David Anglin  dave.anglin at bell.net



More information about the Pkg-haskell-maintainers mailing list