[GHC] #8270: unknown symbol "atomic_inc" in GHCi when loading package ghc

GHC ghc-devs at haskell.org
Fri Sep 13 09:07:47 CEST 2013


#8270: unknown symbol "atomic_inc" in GHCi when loading package ghc
---------------------------------+----------------------------------
        Reporter:  rwbarton      |            Owner:
            Type:  bug           |           Status:  new
        Priority:  normal        |        Milestone:
       Component:  GHCi          |          Version:  7.7
      Resolution:                |         Keywords:
Operating System:  Linux         |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:  #8282
---------------------------------+----------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:f56a7878426bf749bdb60e81cb293fbe488d54c6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f56a7878426bf749bdb60e81cb293fbe488d54c6"
 Fix static GHCi build (#8270)

 When Ryan merged in the atomics branch, he made atomic_inc and
 atomic_dec EXTERN_INLINE functions, meaning their definitions
 became part of object files in the non-threaded build, instead of being
 inlined. As a result, this broke the linker for static GHCi, since it
 couldn't properly resolve the now-externally defined functions.

 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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



More information about the ghc-tickets mailing list