[GHC] #14866: GHC 8.4.1 rc1 segfaults when compiling the influxdb package

#14866: GHC 8.4.1 rc1 segfaults when compiling the influxdb package -------------------------------------+------------------------------------- Reporter: fumieval | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.1-alpha3 Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I tried to build influxdb-1.2.2.3 with GHC 8.4.1 rc1 built with DYNAMIC_GHC_PROGRAMS=NO. Then I got {{{ [ 8 of 10] Compiling Database.InfluxDB.Query ( src/Database/InfluxDB/Query.hs, /home/fumieval/hs/influxdb-haskell/dist- newstyle/build/x86_64-linux/ghc-8.4.0.20180224/influxdb-1.2.2.3/build/Database/InfluxDB/Query.p_o ) cabal: Failed to build influxdb-1.2.2.3. The build process segfaulted (i.e. SIGSEGV). }}} It seems to be related to Template Haskell, as it doesn't happen if I remove `makeLensesWith` in `Query.hs`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14866 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14866: GHC 8.4.1 rc1 segfaults when compiling the influxdb package -------------------------------------+------------------------------------- Reporter: fumieval | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.1-alpha3 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by fumieval): * Attachment "build.mk" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14866 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14866: GHC 8.4.1 rc1 segfaults when compiling the influxdb package -------------------------------------+------------------------------------- Reporter: fumieval | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.4.1-alpha3 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #14705 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by fumieval): * status: new => closed * resolution: => duplicate * related: => #14705 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14866#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC