[GHC] #311: gmp's memory management

GHC trac at galois.com
Fri Oct 13 18:30:19 EDT 2006


#311: gmp's memory management
-------------------------------+--------------------------------------------
    Reporter:  as49            |        Owner:  nobody  
        Type:  bug             |       Status:  assigned
    Priority:  low             |    Milestone:  6.8     
   Component:  Compiler (FFI)  |      Version:  6.4     
    Severity:  normal          |   Resolution:  None    
    Keywords:                  |   Difficulty:  Unknown 
Architecture:  Unknown         |           Os:  Unknown 
-------------------------------+--------------------------------------------
Changes (by igloo):

  * architecture:  => Unknown
  * difficulty:  => Unknown
  * milestone:  => 6.8
  * os:  => Unknown

Old description:

> {{{
> Simon M,
>
> I assume ghc allocates the lumps of gmp integers still
> on ghc's heap, making it impossible (or very awkward)
> to interface to C libraries that use gmp themselves. Is
> there a chance that you could use the default memory
> allocator for lumps starting from ghc 6.4? That would
> make my life much easier.
>
> Thanks,
> Axel.
>
> }}}

New description:

 {{{
 Simon M,

 I assume ghc allocates the lumps of gmp integers still
 on ghc's heap, making it impossible (or very awkward)
 to interface to C libraries that use gmp themselves. Is
 there a chance that you could use the default memory
 allocator for lumps starting from ghc 6.4? That would
 make my life much easier.

 Thanks,
 Axel.

 }}}[]

Comment:

 See also [ticket:601].

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


More information about the Glasgow-haskell-bugs mailing list