It looks like ghc segfaults quite often during the build on i386 (I got
reports from at least two people), especially when building haddock with
the stage-2 ghc.

If this happens to you, please try to locate the core dump (it should be
in WRKSRCDIR), the corresponding binary (typically named `ghc-stage2',
at least if it segfaults for example when building haddock), and get a
backtrace from it with gdb (using `bt full'). The backtrace by itself will
not be very helpful, but I'd like to know wether it always happens within
select() at /usr/src/lib/libpthread/uthread/uthread_select.c:201. If it
indeed crashes there, please also let me know the output of

        print readfds

and

        print writefds

Ciao,
        Kili

ps: if all else fails, I have to disable threading support in GHC.

Reply via email to