[GHC] #7992: Wrong invocation of configure script in libffi and integer-gmp
GHC
ghc-devs at haskell.org
Sat Jun 22 17:48:23 CEST 2013
#7992: Wrong invocation of configure script in libffi and integer-gmp
---------------------------------+------------------------------------------
Reporter: merijn | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Build System | Version: 7.7
Keywords: patch | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Building GHC failed
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by igloo):
How curious:
{{{
ghc/libffi/build$ cat `which configure`
#!/bin/sh
echo Hello, this is my configure
ghc/libffi/build$ sh configure --help
Hello, this is my configure
ghc/libffi/build$ sh ./configure --help
`configure' configures libffi 3.0.11 to adapt to many kinds of systems.
[...]
}}}
configure seems to try to find the location of the configure script, and
re-exec itself. This goes wrong if there's a configure script in `$PATH`
and we use `sh configure`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7992#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list