[GHC] #11685: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure

#11685: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure -------------------------------------+------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Hi, when compiling a program I get this message: ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-unknown-linux): Loading temp shared object failed: /tmp/ghc4185_0/libghc_82.so: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug The same program compiled fine before, not sure what might be causing it.. happy to provide more info if you tell me what will help. Martin -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11685 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11685: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure -------------------------------------+------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by martinvlk): Here is a list of pragmas we are using in the file where it crashed: {{{#!hs {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE DeriveGeneric #-} }}} and also it's worth mentioning the code is using the DB access library "peristent". -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11685#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11685: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure -------------------------------------+------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by martinvlk): Well, the problem went away after doing a clean build (stack clean...). So not sure it this counts as a GHC bug or not. Martin -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11685#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11685: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure -------------------------------------+------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => invalid @@ -3,0 +3,1 @@ + {{{ @@ -10,0 +11,1 @@ + }}} New description: Hi, when compiling a program I get this message: {{{ ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-unknown-linux): Loading temp shared object failed: /tmp/ghc4185_0/libghc_82.so: undefined symbol: DataziSafeStore_zdszdfApplicativeNoLoggingTzuzdszdfMonadResourceT_closure Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The same program compiled fine before, not sure what might be causing it.. happy to provide more info if you tell me what will help. Martin -- Comment: It's very hard to say; without a reproducible testcase it's hard to do much about this. I'm going to close this but if you observe this sort of failure again feel free to reopen. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11685#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC