ld on mac won't allow -rpath unless you specify macosx_version_min 10.5
when trying to build a Haskell shared library on Mac OS X, linking fails with this error:
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
this can be tracked down to the DriverPipeline.hs specifying macosx_version_min to be 10.3. This can be hacked around by passing 10.5 again, but is a bit fragile because ld on Mac takes the last version specified rather than the highest. There may be good reasons to retain <10.5 compatibility, but from IRC conversation with JaffaCake, ghc depends on 10.5 anyway, so this should make no difference.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.11 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |