Ticket #311 (closed bug: fixed)
gmp's memory management
| Reported by: | as49 | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 6.12 branch |
| Component: | Compiler (FFI) | Version: | 6.4 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by simonpj) (diff)
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.
Change History
Note: See
TracTickets for help on using
tickets.
