[GHC] #15280: StgCmmEnv: variable not found

GHC ghc-devs at haskell.org
Sun Jun 17 13:39:14 UTC 2018


#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


More information about the ghc-tickets mailing list