Skip to content

installing xcode 4 breaks ghc linking

As of installing xcode 4 earlier today,

i'm getting errors of the form ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status

for any haskell code that invokes ld in its cabal install process.

  1. is this related to some problem in xcode / what the haskell code defaults to linking to?
  2. is this something completely unrelated?

just guessing, would be that ghc 7.0.2 on snow leopard is doing some static linking iwth the 10.5 compatible c runtime lib, which isn't kept in xcode 4's dev libs?

Trac metadata
Trac field Value
Version 7.0.2
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