[GHC] #11413: GHC 8.1.20160111 fails to bootstrap itself.

#11413: GHC 8.1.20160111 fails to bootstrap itself. -------------------------------------+------------------------------------- Reporter: kgardas | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Core | Version: 8.1 Libraries | Keywords: | Operating System: Solaris Architecture: x86 | Type of failure: Building GHC | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Hello, bootstrapping GHC HEAD with HEAD is broken. The failure looks like: {{{ libraries/binary/src/Data/Binary/Builder/Base.hs:67:0: error: missing binary operator before token "(" libraries/binary/src/Data/Binary/Builder/Base.hs:114:0: error: missing binary operator before token "(" libraries/binary/src/Data/Binary/Builder/Base.hs:123:0: error: missing binary operator before token "(" `gcc' failed in phase `C pre-processor'. (Exit code: 1) gmake[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1 gmake: *** [all] Error 2 }}} I'm setting highest prio on this (as I feel) so lower this if you like. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+--------------------------- Reporter: kgardas | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Core Libraries | Version: 8.1 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+--------------------------- Comment (by bgamari): Do you know whether this is broken on the `ghc-8.0` branch as well? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+--------------------------- Reporter: kgardas | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Core Libraries | Version: 8.1 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+--------------------------- Comment (by rwbarton): For me ghc-8.0 (from a few days ago) can bootstrap itself. There may be other variables here, like whether CPP is clang. I think the error means `MIN_VERSION_base(4,9,0)` was not expanded for some reason. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+--------------------------- Reporter: kgardas | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Core Libraries | Version: 8.1 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+--------------------------- Comment (by kgardas): Replying to [comment:1 bgamari]:
Do you know whether this is broken on the `ghc-8.0` branch as well?
8.0.1 RC1 seems to build 8.0.1 RC1 just fine on i386/solaris 11. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+--------------------------- Reporter: kgardas | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Core Libraries | Version: 8.1 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+--------------------------- Comment (by kgardas): verified that today's head is still not able to build the same head. At least not on Solaris 11/i386 platform. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+------------------------------ Reporter: kgardas | Owner: thomie Type: bug | Status: new Priority: highest | Milestone: Component: Core Libraries | Version: 8.1 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------ Changes (by thomie): * owner: => thomie Comment: This commit caused it: https://phabricator.haskell.org/rGHC351dea4a7c07#31880. Instead of reverting that commit, I plan to fix bootstrapping with HEAD by enabling `MIN_VERSION` support without `-hide-all-packages` (see ticket:10970#comment:7). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+---------------------------------- Reporter: kgardas | Owner: thomie Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1869 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by thomie): * cc: ekmett (removed) * component: Core Libraries => Compiler * differential: => Phab:D1869 * os: Solaris => Unknown/Multiple -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. ----------------------------------------+---------------------------------- Reporter: kgardas | Owner: thomie Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1869 Wiki Page: | ----------------------------------------+---------------------------------- Comment (by hvr): Replying to [comment:5 thomie]:
Instead of reverting that commit, I plan to fix bootstrapping with HEAD by enabling `MIN_VERSION` support without `-hide-all-packages` (see ticket:10970#comment:7).
I just submitted as phab:D1897, and now I realised that we had a similiar idea... except you wanted this to work w/o `-hide-all-packages` (which tbh at this point I wonder why `-hide-all-packages` isn't acceptable). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself. -------------------------------------+------------------------------------- Reporter: kgardas | Owner: thomie Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1869 Wiki Page: | Phab:D1897 -------------------------------------+------------------------------------- Changes (by hvr): * differential: Phab:D1869 => Phab:D1869 Phab:D1897 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11413: GHC 8.1.20160111 fails to bootstrap itself.
-------------------------------------+-------------------------------------
Reporter: kgardas | Owner: thomie
Type: bug | Status: new
Priority: highest | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: x86
Type of failure: Building GHC | Test Case:
failed |
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1869
Wiki Page: | Phab:D1897
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11413: GHC 8.1.20160111 fails to bootstrap itself. -------------------------------------+------------------------------------- Reporter: kgardas | Owner: thomie Type: bug | Status: closed Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: x86 Type of failure: Building GHC | Test Case: failed | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1869 Wiki Page: | Phab:D1897 -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * version: 8.1 => 8.0.1-rc1 * resolution: => fixed * milestone: => 8.0.1 Comment: Merged to `ghc-8.0` as 287d08343cc757b88f0abf6d42e8cea264dad706. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11413#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC