[GHC] #15280: StgCmmEnv: variable not found

#15280: StgCmmEnv: variable not found -------------------------------------+------------------------------------- Reporter: wanjach | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 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: -------------------------------------+------------------------------------- {{{ stack build warduino-0.1.0.0: build (lib + exe) Preprocessing library warduino-0.1.0.0... Preprocessing executable 'blink' for warduino-0.1.0.0... Preprocessing executable 'lcd' for warduino-0.1.0.0... [1 of 1] Compiling Main ( lcd/Main.hs, .stack-work/dist/x86_64 -linux-nix/Cabal-1.24.2.0/build/lcd/lcd-tmp/Main.o ) /home/user/src/warduino/lcd/Main.hs:31:5: warning: [-Wname-shadowing] This binding for `lcd' shadows the existing binding defined at lcd/Main.hs:30:1 /home/user/src/warduino/lcd/Main.hs:33:9: warning: [-Wname-shadowing] This binding for `print' shadows the existing binding imported from `Prelude' at lcd/Main.hs:2:8-11 (and originally defined in `System.IO') ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-linux): StgCmmEnv: variable not found lcd_a3jG local binds for: delay_deep'1 $trModule1 $trModule2 delay lcdController $trModule lcd5 lcdController1 lcdController2 lcdController3 lcdController4 lcdController5 lcdController6 lcdController7 lcd6 lcd7 lvl_r9Ee lvl1_r9Ef lvl2_r9Eg lvl3_r9Eh lvl4_r9Ei lvl5_r9Ej lvl6_r9Ek lvl7_r9El delay_deep' ipv1_s9Ev addr#_s9Ew ds4_s9EA sat_s9EB sat_s9EC sat_s9ED Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug -- While building custom Setup.hs for package warduino-0.1.0.0 using: }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15280 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15280: StgCmmEnv: variable not found -------------------------------------+------------------------------------- Reporter: wanjach | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 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 wanjach): * Attachment "warduino_bugreport.tar.bz2" added. source -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15280 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15280: StgCmmEnv: variable not found -------------------------------------+------------------------------------- Reporter: wanjach | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 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: | -------------------------------------+------------------------------------- Comment (by wanjach): Project uses Haskino as a local dependency: https://github.com/ku- fpg/haskino -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15280#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15280: StgCmmEnv: variable not found -------------------------------------+------------------------------------- Reporter: wanjach | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: invalid | 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): * status: new => closed * resolution: => invalid Comment: It looks like this has been also filed against [[https://github.com/ku- fpg/haskino/issues/5|haskuino]]. I suspect this is a plugin bug so I'm going to close for now. Do feel free to re-open if this turns out not to be true. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15280#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15280: StgCmmEnv: variable not found -------------------------------------+------------------------------------- Reporter: wanjach | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: invalid | 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: | -------------------------------------+------------------------------------- Comment (by simonpj): You'll probably get more precise error info from `-dcore-lint` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15280#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC