Opened 16 months ago

Last modified 13 months ago

#15442 new bug

GhcStage3HcOpts passed to ghc-stage1

Reported by: bgamari Owned by:
Priority: high Milestone: 8.8.1
Component: Build System (make) Version: 8.4.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


When building a stage3 compiler the build system passes GhcStage3HcOpts to inplace/bin/ghc-stage1 while building dependency lists:

$ make stage=3 GhcStage3HcOpts='+RTS -xn -RTS
"inplace/bin/ghc-stage1" -M -fPIC -dynamic  -H32m -O -Wall      -hide-all-packages -i -ighc/. -ighc/stage3/build -Ighc/stage3/build -ighc/stage3/build/ghc/autogen -Ighc/stage3/build/ghc/autogen    -optP-DGHCI -optP-include -optPghc/stage3/build/ghc/autogen/cabal_macros.h -package-id array- -package-id base- -package-id bytestring- -package-id containers- -package-id deepseq- -package-id directory- -package-id filepath-1.4.2 -package-id ghc-8.7 -package-id ghc-boot-8.7 -package-id ghci-8.7 -package-id haskeline- -package-id process- -package-id time- -package-id transformers- -package-id unix- -Wall -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wnoncanonical-monoid-instances -fno-warn-name-shadowing -XHaskell2010  -O2 +RTS -xn -RTS -no-hs-main -threaded -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -odir ghc/stage3/build -hidir ghc/stage3/build -stubdir ghc/stage3/build -dep-makefile ghc/stage3/build/.depend.haskell.tmp -dep-suffix "dyn_" -include-pkg-deps   ghc/./Main.hs  ghc/./GHCi/Leak.hs  ghc/./GHCi/UI.hs  ghc/./GHCi/UI/Info.hs  ghc/./GHCi/UI/Monad.hs  ghc/./GHCi/UI/Tags.hs
ghc-stage1: unknown RTS option: -xn

Change History (2)

comment:1 Changed 15 months ago by bgamari


Sadly I won't have time to look into this for 8.6. I suspect we'll likely just end up fixing it in Hadrian.

comment:2 Changed 13 months ago by bgamari

Component: Build SystemBuild System (make)

The new Hadrian build system has been merged. Relabeling the tickets concerning the legacy make build system to prevent confusion.

Note: See TracTickets for help on using tickets.