[GHC] #15442: GhcStage3HcOpts passed to ghc-stage1
GHC
ghc-devs at haskell.org
Thu Jul 26 19:39:03 UTC 2018
#15442: GhcStage3HcOpts passed to ghc-stage1
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.6.1
Component: Build System | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
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-0.5.2.0 -package-id base-4.12.0.0 -package-id
bytestring-0.10.8.2 -package-id containers-0.6.0.1 -package-id
deepseq-1.4.4.0 -package-id directory-1.3.2.3 -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-0.7.4.2 -package-id process-1.6.3.0 -package-id
time-1.8.0.2 -package-id transformers-0.5.5.0 -package-id unix-2.8.0.0
-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
...
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15442>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list