
#14115: GHC segfaults trying to use TH code when ghc is compiled as DYNAMIC_GHC_PROGRAMS=NO -------------------------------------+------------------------------------- Reporter: pacak | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 8.2.1 (Linker) | Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: JaffaCake (added) Comment: A second attempt at bisection (this time just within `rts/`) reveals that this is due to f9c6d53fe997f1c560cda6f346f4b201711df37c, {{{ git bisect start 'rts' # good: [54ccf0c957a279c20e1a37a5a462612af8036739] remove dead function 'tcInstBinders' git bisect good 54ccf0c957a279c20e1a37a5a462612af8036739 # bad: [d08b9ccdf2812e8f8fa34d0c89275deee574524c] configure: Ensure that user's LD setting is respected git bisect bad d08b9ccdf2812e8f8fa34d0c89275deee574524c # bad: [555e5cc48b6c2608ae8d4bd3b2a5bd2ef63236ab] rts: Address AP_STACK comment suggestion from Simon git bisect bad 555e5cc48b6c2608ae8d4bd3b2a5bd2ef63236ab # bad: [a6f3d1b00e9c37a56cd4db9e519309e94a65d181] rts: Fix isByteArrayPinned#'s treatment of large arrays git bisect bad a6f3d1b00e9c37a56cd4db9e519309e94a65d181 # bad: [f9c6d53fe997f1c560cda6f346f4b201711df37c] Tag the FUN before making a PAP (#13767) git bisect bad f9c6d53fe997f1c560cda6f346f4b201711df37c # good: [9b514dedf090c5e21e3be38d174cf1390e21879f] rts/RetainerProfile: Const-correctness fixes git bisect good 9b514dedf090c5e21e3be38d174cf1390e21879f # first bad commit: [f9c6d53fe997f1c560cda6f346f4b201711df37c] Tag the FUN before making a PAP (#13767) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14115#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler