
#8205: the 'impossible' happened : expectJust block_order ----------------------------------------+---------------------------------- Reporter: erikd | Owner: jstolarek Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by jstolarek): * status: new => closed * resolution: => fixed Comment: Replying to [comment:23 kazu-yamamoto]:
I verified that the current GHC head can be build on Mac using 32bit GHC 7.6.3! Good. I'm marking this bug as solved.
According to my command history, I specified "2>&1 > log.txt". So, stderr was also recorded, I think. I don't know MacOS, but on Linux this would NOT redirect stderr to log.txt. Redirections are evaluated from left to right, so what you are saying here is: redirect current stderr to *current* stdout (which is the console!) and later you say redirect *current* stdout to a file. It's like assignmnets: {{{ stderr = stdout; stdout = log.txt; }}} This doesn't mean that stderr is now log.txt - Bash is not a functional language :) So you need to say `>log.txt 2>&1`.
No longer getting the originally reported but now get the following: Erik, I think something is very wrong with your build. I'd suggest that you try to pull a clean tree and build there. If that fails I'd mail ghc- devs or fill a bug report.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8205#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler