Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,393
    • Issues 4,393
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 381
    • Merge Requests 381
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17146

Closed
Open
Opened Sep 02, 2019 by donn@trac-donn

build 8.8.1 with 8.8.1 fails with -DSTAGE=1

Summary

ghc-8.8.1 fails to build self, because with -DSTAGE=1 it can't get TAG_MASK from MachDeps.h

(ghc-8.6.3 works, but just because it doesn't pass the -DSTAGE=1 to gcc.)

Steps to reproduce

Build and install 8.8.1. Use it to build 8.8.1 again from scratch.

Expected behavior

Die on stage 1, compiler/parser/cutils.c TAG_MASK undefined in ClosureMacros.h

(I don't really expect that, since I'm sure this has been done numerous times with no problem, but it's what happened here, and the way it works - only 8.8.1 passes -Xpreprocessor '-DSTAGE=1' to gcc - has me quite baffled.)

Related to issue #16797 (closed)

Environment

8.8.1

Optional:

Haiku Intel

Assignee
Assign to
8.8.2
Milestone
8.8.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#17146