
#9828: genprimopcode: parse error ----------------------------------------------+--------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.9 Resolution: | Keywords: Operating System: Linux | Architecture: powerpc Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | ----------------------------------------------+--------------------------- Comment (by erikd): The file `compiler/stage1/build/primops.txt` is generated using a command like: {{{ gcc -E -P -Iincludes -Iincludes/dist -Iincludes/dist- derivedconstants/header \ -Iincludes/dist-ghcconstants/header -Icompiler/stage1 \ -x c compiler/prelude/primops.txt.pp | grep -v '^#pragma GCC' \ > compiler/stage2/build/primops.txt }}} and gcc on this machine is `gcc version 4.9.2 (Debian 4.9.2-2)`. If I use `gcc-4.6` in the command above instead of just `gcc` the build proceeds past this point. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9828#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler