[GHC] #8124: Possible leaks when using foreign export.

GHC ghc-devs at haskell.org
Wed Mar 5 09:57:45 UTC 2014


#8124: Possible leaks when using foreign export.
--------------------------------------------+------------------------------
        Reporter:  augustss                 |            Owner:  simonmar
            Type:  bug                      |           Status:  merge
        Priority:  high                     |        Milestone:  7.8.1
       Component:  Runtime System           |          Version:  7.8.1-rc1
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  Runtime performance bug  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by nomeata):

 Sorry, me again. On one of my development machines, I get

 {{{
 Compile failed (status 256) errors were:
 [1 of 1] Compiling T8124            ( T8124.hs, T8124.o )
 Linking T8124 ...
 Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
     Call hs_init_ghc() from your main() function to set these options.
 /usr/bin/ld: T8124_c.o: undefined reference to symbol
 'pthread_create@@GLIBC_2.2.5'
 /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing
 from command line
 collect2: error: ld returned 1 exit status

 *** unexpected failure for T8124(normal)
 }}}

 Any ideas?

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


More information about the ghc-tickets mailing list