[GHC] #9657: I found a duplicate definition for symbol: __x86.get_pc_thunk.bx

GHC ghc-devs at haskell.org
Thu Oct 2 14:07:13 UTC 2014


#9657: I found a duplicate definition for symbol: __x86.get_pc_thunk.bx
-------------------------------------+-------------------------------------
       Reporter:  nomeata            |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.6.3
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Compile-
     Blocked By:                     |  time crash
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 I am having problems building yi on 32 bit architectures (i386, hurd-i386,
 kfreebsd-i386) on Debian:

 {{{
 Loading package parallel-3.2.0.4 ... linking ... done.
 Loading package reflection-1.2.0.1 ... linking ... done.
 Loading package split-0.2.2 ... linking ... done.
 Loading package utf8-string-0.3.7 ... linking ... done.
 Loading package void-0.6.1 ... linking ... done.
 Loading package zlib-0.5.4.1 ... linking ... done.
 Loading package lens-4.1.2.1 ... linking ... done.
 Loading package parsec-3.1.3 ... linking ... done.
 Loading package terminfo-0.3.2.5 ... linking ... done.


 GHCi runtime linker: fatal error: I found a duplicate definition for
 symbol
    __x86.get_pc_thunk.bx
 whilst processing object file
    /usr/lib/haskell-packages/ghc/lib/i386-freebsd-
 ghc-7.6.3/vty-5.2.1/libHSvty-5.2.1.a
 This could be caused by:
    * Loading two different object files which export the same symbol
    * Specifying the same object file twice on the GHCi command line
    * An incorrect `package.conf' entry, causing some object to be
      loaded twice.
 GHCi cannot safely continue in this situation.  Exiting now.  Sorry.
 }}}
 (Full log at
 https://buildd.debian.org/status/fetch.php?pkg=yi&arch=kfreebsd-i386&ver=0.7.1-3&stamp=1410882226)

 It does not happen on amd64. This happens on the Debian auto-builders and
 I did not reproduce it locally yet, but maybe someone can already tell me
 what’s wrong from looking at it.

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


More information about the ghc-tickets mailing list