Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,273
    • Issues 4,273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 413
    • Merge Requests 413
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #2313

Closed
Open
Opened May 28, 2008 by kgardas@kgardasReporter

libHSrts_thr_debug linked against non-existing bfd library

It seems there is a bug in RTS somewhere which makes libHSrts_thr_debug in a way it's including some symbols from the bfd library. The bug shows itself as a lot of testsuite tests failing with undefined symbols which originates in the BFD library. Example:

=====> cg013(threaded1)
cd ./codeGen/should_run && '/buildbot/ghc/kgardas/build/compiler/stage2/ghc-inplace' -no-recomp -dcore-lint -dcmm-lint -Di386_unknown_solaris2  -o cg013 cg013.hs -threaded -debug   >cg013.comp.stderr 2>&1
Compile failed (status 256) errors were:
Undefined                       first referenced
 symbol                             in file
bfd_openr                           /buildbot/ghc/kgardas/build/rts/libHSrts_thr_debug.a(Printer.thr_debug_o)
bfd_init                            /buildbot/ghc/kgardas/build/rts/libHSrts_thr_debug.a(Printer.thr_debug_o)
bfd_check_format_matches            /buildbot/ghc/kgardas/build/rts/libHSrts_thr_debug.a(Printer.thr_debug_o)
ld: fatal: Symbol referencing errors. No output written to cg013
collect2: ld returned 1 exit status
Edited Mar 09, 2019 by Ian Lynagh <igloo@earth.li>
Assignee
Assign to
6.10.1
Milestone
6.10.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#2313