[GHC] #8683: add "cpp program" and "cpp program options" to settings file
GHC
ghc-devs at haskell.org
Sun Mar 23 00:24:30 UTC 2014
#8683: add "cpp program" and "cpp program options" to settings file
-------------------------------------+------------------------------------
Reporter: carter | Owner:
Type: feature request | Status: patch
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: #8439
-------------------------------------+------------------------------------
Comment (by carter):
somehow i'm tripping a "make has restarted 3 times" bug when I run
validate,
heres the tail of the transcript
nb: i did configure with --with-gcc=gcc-4.8 and --with-hs-cpp=gcc-4.8
heres a link to the tail of the console output http://lpaste.net/101605
the relevant last few lines being
{{{
Writing new package config file... done.
"inplace/bin/ghc-cabal" configure ghc stage1 "" --with-
ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg"
--flags=stage1 --constraint "ghc == 7.8.0.20140322" --package-
db=/Users/carter/Desktop/repoScratcher/ghc/libraries/bootstrapping.conf
--disable-library-for-ghci --disable-library-vanilla --disable-library-
profiling --disable-shared --with-
hscolour="/Users/carter/.cabal/bin/HsColour" --configure-
option=CFLAGS="-Wall -m64 -fno-stack-protector -Werror=unused-but-set-
variable -Wno-error=inline" --configure-option=LDFLAGS=" -m64 "
--configure-option=CPPFLAGS=" -m64 " --constraint "Cabal == 1.18.1.3"
--constraint "hpc == 0.6.0.1" --constraint "bin-package-db == 0.0.0.0"
--constraint "hoopl == 3.10.0.0" --constraint "transformers == 0.3.0.0"
--constraint "terminfo == 0.4.0.0" --with-gcc="gcc-4.8" --configure-option
=--with-cc="gcc-4.8" --with-ar="/usr/bin/ar" --with-ranlib="ranlib"
--with-alex="/Users/carter/.cabal/bin/alex" --with-
happy="/Users/carter/.cabal/bin/happy"
Configuring ghc-bin-7.8.0.20140322...
Warning: 'data-dir: ..' is a relative path outside of the source tree.
This
will not work when generating a tarball with 'sdist'.
ghc.mk:100: *** Make has restarted itself 2 times; is there a makefile
bug? See
http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug
for details. Stop.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8683#comment:45>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list