Ticket #3521 (closed bug: fixed)
ld on mac won't allow -rpath unless you specify macosx_version_min 10.5
| Reported by: | mwotton | Owned by: | igloo |
|---|---|---|---|
| Priority: | high | Milestone: | 6.12.1 |
| Component: | Compiler | Version: | 6.11 |
| Keywords: | Cc: | ||
| Operating System: | MacOS X | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

