[GHC] #8156: amd64 + in-tree gmp build broken

GHC ghc-devs at haskell.org
Mon Oct 21 02:02:54 UTC 2013


#8156: amd64 + in-tree gmp build broken
-------------------------------------+-------------------------------------
        Reporter:  errge             |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  low               |        Milestone:  7.10.1
       Component:  Build System      |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  Building GHC      |       Difficulty:  Easy (less than 1
  failed                             |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #4022 #4366 #4374
-------------------------------------+-------------------------------------

Comment (by carter):

 @Jan, LGPL is only compatible with BSD when we dynamically link it,
 statically linked LGPL forces the rest of the project (allegedly) to be
 GPL, which is incompatible with a parent project that is BSD, at least
 according to the FSF's overly aggressive reading of (L)GPL.


 We could expose the option for end users (with a flag) to statically link
 a GMP, but we can't distribute ourselves  libs that are statically linked
 to GMP.

 basically, we could have a gmp dylib in our disto, but we'd still need to
 make sure we could dylink to other gmps, otherwise we'd be violating the
 LGPL (as i understand it.).

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


More information about the ghc-tickets mailing list