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

GHC ghc-devs at haskell.org
Fri Jun 26 08:15:22 UTC 2015


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

Comment (by Rydgel):

 Replying to [comment:10 trommler]:
 > On my Linux box `glutBitmap8By13` is defined in `libglut.so`. Could you
 check if `_glutBitmap8By13` is defined in the GLUT framework on Mac OS.
 Perhaps another Framework defines that symbol and thus needs to be linked
 too. In Mach-O symbols are not reexported by default (we discussed that in
 #10322). This is different from ELF.


 It is defined by the GLUT Framework, see:

 {{{
 nm -gU /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT
 000000003e01b756 T ___glutGetFCB
 000000003e01b7b4 T ___glutSetFCB
 000000003e089ea0 S __gle_gc
 000000003e02a388 T _gleCreateGC
 000000003e027318 T _gleExtrusion
 000000003e0271ef T _gleGetJoinStyle
 000000003e02733c T _gleGetNumSlices
 000000003e0280b2 T _gleHelicoid
 000000003e027d1d T _gleLathe
 000000003e027656 T _glePolyCone
 000000003e02764a T _glePolyCylinder
 000000003e0280d4 T _gleScrew
 000000003e0271c7 T _gleSetJoinStyle
 000000003e027348 T _gleSetNumSlices
 000000003e0277d9 T _gleSpiral
 000000003e027216 T _gleSuperExtrusion
 000000003e02a449 T _gleTextureMode
 000000003e0280c3 T _gleToroid
 000000003e0276fc T _gleTwistExtrusion
 000000003e01751d T _glutAddMenuEntry
 000000003e017675 T _glutAddSubMenu
 000000003e017816 T _glutAttachMenu
 000000003e054480 S _glutBitmap8By13
 000000003e056820 S _glutBitmap9By15
 000000003e01eb85 T _glutBitmapCharacter
 ...
 }}}

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


More information about the ghc-tickets mailing list