[GHC] #8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
GHC
ghc-devs at haskell.org
Fri Apr 4 08:14:06 UTC 2014
#8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
-------------------------------------+-------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.8.1
Component: Build System | Version: 7.8.1-rc2
Resolution: fixed | Keywords:
Operating System: Solaris | Architecture: Unknown/Multiple
Type of failure: Building GHC | Difficulty: Easy (less than 1
failed | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by maeder):
gmp's configure is correct to assume that it is run in the same shell in
which (later on) "make" is called. libraries/integer-gmp/gmp/ghc.mk spoils
this assumption.
I'm now testing
{{{
--- ghc.mk Fr Apr 4 10:07:49 2014
+++ ghc.mk~ Do Apr 3 17:25:13 2014
@@ -146,7 +146,7 @@
PATH=`pwd`:$$PATH; \
export PATH; \
cd gmpbuild && \
- CC=$(CCX) NM=$(NM) AR=$(AR_STAGE1) ./configure \
+ CC=$(CCX) NM=$(NM) AR=$(AR_STAGE1) /bin/sh ./configure \
--enable-shared=no \
--host=$(HOSTPLATFORM) --build=$(BUILDPLATFORM)
$(MAKE) -C libraries/integer-gmp/gmp/gmpbuild MAKEFLAGS=
}}}
but I consider my first diff to better for other OSes!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8783#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list