Can't build 8.6.1-beta1 with debugging.

2018-08-13 Thread Mateusz Kowalczyk
Hi all, I wanted to try our codebase with 8.6. I happened to already have 8.6.0.20180714 ready so I started with that. Compilation went well but I got a segfault when running a benchmark we have with profiling on. GDB told me the segfault was in stg_ap_p_info in AutoApply.cmm which as I un

Re: Can't build 8.6.1-beta1 with debugging.

2018-08-14 Thread Ömer Sinan Ağacan
Hi Mateusz, > /usr/bin/ld.gold: error: cannot find -lHSrts_thr_debug_p We currently don't ship GHC with profiling + debug + threaded runtime. See my previous email on this: https://mail.haskell.org/pipermail/ghc-devs/2018-July/015982.html I show a way to enable these runtimes in https://ghc.hask

Re: Can't build 8.6.1-beta1 with debugging.

2018-08-14 Thread Mateusz Kowalczyk
Hi, I was able to get GHC to compile with the patch in your ticket. Thanks! -- Mateusz K. On Tue, 14 Aug 2018, at 9:08 AM, Ömer Sinan Ağacan wrote: > Hi Mateusz, > > > /usr/bin/ld.gold: error: cannot find -lHSrts_thr_debug_p > > We currently don't ship GHC with profiling + debug + threaded ru