[GHC] #10568: Regression from 7.8.4, loading GLUT into GHCI fails on the Mac

GHC ghc-devs at haskell.org
Wed Aug 5 12:44:08 UTC 2015


#10568: Regression from 7.8.4, loading GLUT into GHCI fails on the Mac
-------------------------------+-----------------------------------------
        Reporter:  George      |                   Owner:  darchon
            Type:  bug         |                  Status:  new
        Priority:  normal      |               Milestone:  7.10.3
       Component:  Compiler    |                 Version:  7.10.2-rc1
      Resolution:              |                Keywords:
Operating System:  MacOS X     |            Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |               Test Case:
      Blocked By:              |                Blocking:
 Related Tickets:              |  Differential Revisions:  Phab:D1115
-------------------------------+-----------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"dd7e1880ae078a2d9f254dc5d8f330121e0ec291/ghc"
 dd7e1880/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dd7e1880ae078a2d9f254dc5d8f330121e0ec291"
 Add framework flags when linking a dynamic library

 This fixes the GHC side of trac #10568. So `cabal install
 --ghc-options="-framework GLUT" GLUT` creates a correctly linked
 GLUT.dylib. We still need to explictly pass `--ghc-options="-framework
 GLUT"` because the Cabal side #10568 is not fixed.

 Update: the Cabal side of #10568 is fixed by
 [Cabal#2747](https://github.com/haskell/cabal/pull/2747)

 Test Plan: validate

 Reviewers: austin, rwbarton, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 Differential Revision: https://phabricator.haskell.org/D1115

 GHC Trac Issues: #10568
 }}}

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


More information about the ghc-tickets mailing list