Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 3,615
    • Issues 3,615
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 198
    • Merge Requests 198
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #4326

Closed
Open
Opened Sep 20, 2010 by AntoineLatter@trac-AntoineLatter
  • Report abuse
  • New issue
Report abuse New issue

Failed building GHC - Error linking on OS X

When linking:

"/usr/bin/ld" -r -o compiler/stage2/build/HSghc-6.13.20100919.o <many things>

ld quits with the following error:

ld: scattered reloc r_address too large for inferred architecture i386 make[1]: *** [compiler/stage2/build/HSghc-6.13.20100919.o] Error 1

I'm running OS X 10.6, on a Core 2 Duo (which I'm pretty sure is 64 bit).

I'm building with ghc 6.12.2

I've successfully built 6.13.20100911, but it looks like a lot of changes have moved in since then. This build is from the same tree, but I did a make clean before the pull and a 'perl boot' after, which I thought was the correct process.

Let me know if you need more information, or if there is something I should try.

Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited Mar 09, 2019 by AntoineLatter

Related issues

  • Discussion
  • Designs
Assignee
Assign to
7.0.1
Milestone
7.0.1
Assign milestone
Time tracking
None
Due date
None
4
Labels
bug ghc build failure P::highest Trac import
Assign labels
  • View project labels
Reference: ghc/ghc#4326