Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,349
    • Issues 5,349
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 570
    • Merge requests 570
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17146
Closed
Open
Issue created 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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking