#7466: [PATCH] integer-gmp silently ignores --with-gmp-* whenever it finds
GMP.framework in the system-standard path
----------------------------------+-----------------------------------------
    Reporter:  PHO                |       Owner:         
        Type:  bug                |      Status:  patch  
    Priority:  normal             |   Milestone:         
   Component:  libraries (other)  |     Version:  7.6.1  
    Keywords:                     |          Os:  MacOS X
Architecture:  Unknown/Multiple   |     Failure:  Other  
  Difficulty:  Unknown            |    Testcase:         
   Blockedby:                     |    Blocking:         
     Related:                     |  
----------------------------------+-----------------------------------------
Changes (by PHO):

  * status:  infoneeded => patch


Comment:

 Sorry, my explanation was a bit misleading.

 Replying to [comment:2 igloo]:
 > Why is the non-framework preferable?

 Most package managers, including my favorite [http://www.pkgsrc.org/
 pkgsrc], install `libgmp` to some non-standard locations. If the
 `configure` script ignores whatever paths specified with `--with-gmp-
 includes`/`--with-gmp-libraries`, the resulting binary might end up being
 linked to `GMP.framework` in the system-standard path (which might be
 installed by some 3rd party softwares), instead of `libgmp` installed with
 a package manager. For that reason [http://pkgsrc.se/wip/ghc pkgsrc-
 wip/ghc] has locally had the above patch for a long time but I think it's
 worth merging to the upstream.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7466#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to