Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,828
    • Issues 4,828
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #9657

Closed
Open
Created Oct 02, 2014 by Joachim Breitner@nomeataDeveloper

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking