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

GHC ghc-devs at haskell.org
Wed Feb 28 04:55:42 UTC 2018


#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


More information about the ghc-tickets mailing list