[GHC] #10568: Loading GLUT into GHCI fails on the Mac, probably a regression

GHC ghc-devs at haskell.org
Wed Jun 24 21:06:13 UTC 2015


#10568: Loading GLUT into GHCI fails on the Mac, probably a regression
-----------------------------------------+-------------------------------
              Reporter:  George          |             Owner:
                  Type:  bug             |            Status:  new
              Priority:  normal          |         Milestone:  7.10.2
             Component:  Compiler        |           Version:  7.10.1
              Keywords:                  |  Operating System:  MacOS X
          Architecture:  x86_64 (amd64)  |   Type of failure:  GHCi crash
             Test Case:                  |        Blocked By:
              Blocking:                  |   Related Tickets:
Differential Revisions:                  |
-----------------------------------------+-------------------------------
 ghci -V
 The Glorious Glasgow Haskell Compilation System, version 7.10.1.20150612


 ghci -package GLUT
 GHCi, version 7.10.1.20150612: http://www.haskell.org/ghc/  :? for help
 <command line>: can't load .so/.DLL for:
 /Library/Haskell/ghc-7.10.1.20150612-x86_64/lib/GLUT-2.7.0.1/libHSGLUT-2.7.0.1
 -4wlNyqnZsQF9mL67dfVCyA-ghc7.10.1.20150612.dylib
 (dlopen(/Library/Haskell/ghc-7.10.1.20150612-x86_64/lib/GLUT-2.7.0.1/libHSGLUT-2.7.0.1
 -4wlNyqnZsQF9mL67dfVCyA-ghc7.10.1.20150612.dylib, 5): Symbol not found:
 _glutBitmap8By13
   Referenced from:
 /Library/Haskell/ghc-7.10.1.20150612-x86_64/lib/GLUT-2.7.0.1/libHSGLUT-2.7.0.1
 -4wlNyqnZsQF9mL67dfVCyA-ghc7.10.1.20150612.dylib
   Expected in: flat namespace
  in
 /Library/Haskell/ghc-7.10.1.20150612-x86_64/lib/GLUT-2.7.0.1/libHSGLUT-2.7.0.1
 -4wlNyqnZsQF9mL67dfVCyA-ghc7.10.1.20150612.dylib)

 This may be related to the fix for #10322. The GLUT people are aware of
 this. They believe it is platform scpecific, a regression and probably a
 ghc issue. See https://github.com/haskell-opengl/GLUT/issues/19

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


More information about the ghc-tickets mailing list