#3683: could not build ghc-6.12.0.20091121 under solaris
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:                  
      Type:  bug                  |         Status:  new             
  Priority:  normal               |      Milestone:                  
 Component:  Build System         |        Version:  6.12.1 RC1      
Resolution:                       |       Keywords:                  
Difficulty:                       |             Os:  Solaris         
  Testcase:                       |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------
Comment (by jberthold):

 Simon:
   I don't think it's possible to "build stage 1 without CPP support", the
 problem is more likely to be that the -XCPP option just got lost
 somewhere.

 I think this might help shed some light on the sed-related problems.
 I dug up the following line in the log file (line 356):
 {{{
 sed '/^xFlags/,/]/s/^[[:space:]]*([[:space:]]*\("[^"]*"\)[^"]*/  [\1]
 ++/p;d' \
   compiler/main/DynFlags.hs >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-
 ghc.hs
 }}}
 Using /usr/bin/sed, this command yields plain nothing on my machine, using
 sed-4.1.2 it outputs the expected list of GHC extensions (-X... from
 DynFlags.hs).
 The resulting dummy-ghc is used to configure all packages.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3683#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to