#7304: arm-linux: Missing field in record construction 
DynFlags.sPlatformConstants
-------------------------+--------------------------------------------------
    Reporter:  erikd     |       Owner:  igloo              
        Type:  bug       |      Status:  new                
    Priority:  high      |   Milestone:  7.8.1              
   Component:  Compiler  |     Version:  7.7                
    Keywords:            |          Os:  Linux              
Architecture:  arm       |     Failure:  Building GHC failed
  Difficulty:  Unknown   |    Testcase:                     
   Blockedby:            |    Blocking:                     
     Related:            |  
-------------------------+--------------------------------------------------

Comment(by ian@…):

 commit f7cd14fd30d40ae7e904a533804f43d43dd8f439
 {{{
 Author: Ian Lynagh <i...@well-typed.com>
 Date:   Mon Oct 8 21:55:23 2012 +0100

     Put the DynFlags in a global variable for tracing; fixes #7304

     This is an ugly kludge to make a DynFlags value available for the
     'trace' functions. It may not be the value we really ought to use,
     but it'll be good enough for the pretty-printer to use.

     Ideally we'd pass the real DynFlags down to all the trace calls,
     but this will do for now at least.

  compiler/main/DynFlags.hs      |   30 +++++++-----------------------
  compiler/main/DynFlags.hs-boot |    2 --
  compiler/main/GHC.hs           |    2 +-
  compiler/main/StaticFlags.hs   |   21 +++++++++++++++++++++
  compiler/utils/Outputable.lhs  |    8 ++++----
  5 files changed, 33 insertions(+), 30 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7304#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to