[GHC] #11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1 -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): D1472 | Wiki Page: -------------------------------------+------------------------------------- 7.10.2 added the CallStack mechanism, and GHC already relies on this while being built. Unfortunately, it is enabled with "GLASGOW_HASKELL >= 710", which also applies to GHC 7.10.1, which does not have CallStack, and fails building the stage-1 compiler because the symbol is not found. This patch makes the CPP directive more strict, requiring more than 7.10 instead of at least. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1 -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D1472 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * status: new => patch * version: 7.10.2 => 7.10.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1 -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D1472 Wiki Page: | -------------------------------------+------------------------------------- Comment (by quchen): Patch is on Phab. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1 -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1472 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * differential: D1472 => Phab:D1472 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with
7.10.1
-------------------------------------+-------------------------------------
Reporter: quchen | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1472
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari
= 710", which also applies to GHC 7.10.1, which does not have CallStack, and fails building the stage-1 compiler because the symbol is not found.
This patch makes the CPP directive more strict, requiring **more than** 7.10 instead of **at least**. Reviewers: jstolarek, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1472 GHC Trac Issues: #11085 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11085: Relying on the existence of CallStack in 7.10 breaks bootstrappability with 7.10.1 -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1472 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11085#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC