I found a duplicate definition for symbol: __x86.get_pc_thunk.bx
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |