[GHC] #8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
GHC
ghc-devs at haskell.org
Wed Apr 9 09:05:32 UTC 2014
#8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
-------------------------------------+-------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 7.8.1
Component: libraries | Version: 7.8.1-rc2
(other) | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Solaris | Difficulty: Easy (less than 1
Type of failure: Building GHC | hour)
failed | Blocked By:
Test Case: | Related Tickets:
Blocking: |
-------------------------------------+-------------------------------------
Comment (by kgardas):
Replying to [comment:35 maeder]:
> Note, that now "/bin/bash" is used in the second call (that is somehow
part of libffi). Yet,
> libffi/build/i386-unknown-solaris2/config.status still contains:
>
> {{{
> SHELL='/bin/bash'
> }}}
>
> (So maybe gmp's ./configure is actually less robust wrt to shell
detection.)
That's why I fought hard for actual issue identification. :-) Indeed, the
issue may in gmp's configure itself. The question is if you'd like to
identify it and submit patch upstream and just work-around it in ghc
itself...
As I said I don't like your first attempt with using /bin/sh ./configure
-- but I think removing $(SHELL) (in your second attempt) should be ok.
Well, still fixing the gmp's configure is probably the most clean of those
solutions anyway. :-)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8783#comment:36>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list