You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5105 Reporter: cookedm Status: closed (set by @damiendoligez on 2010-07-28T13:15:16Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.0+beta1 or 3.12.0+rc1 Fixed in version: 3.12.0+dev Category: ~DO NOT USE (was: OCaml general) Related to:#6900 Monitored by: th5
Bug description
3.11 on 32-bit OSX could use shared libraries perfectly well (e.g., programs compiled with ocamlc did not need the runtime+libraries linked with them). I understand why natdynlink has been disabled for 3.12.0+beta1, but those changes in the configure script have also disabled using shared libraries.
After patching configure to allow shared libraries and disallow natdynlink with the attached patch, I have found no problems. As long as the libraries don't contain non-PIC code (like that generated by ocamlopt :), there shouldn't be any. This is with a Core Duo Macbook with 10.6 (which is 32-bit only).
[In particular, note that linking with shared libraries doesn't need the "-read_only_relocs suppress" that natdynlink requires (and is no longer supported by Apple's ld).]
Original bug ID: 5105
Reporter: cookedm
Status: closed (set by @damiendoligez on 2010-07-28T13:15:16Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0+beta1 or 3.12.0+rc1
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #6900
Monitored by: th5
Bug description
3.11 on 32-bit OSX could use shared libraries perfectly well (e.g., programs compiled with ocamlc did not need the runtime+libraries linked with them). I understand why natdynlink has been disabled for 3.12.0+beta1, but those changes in the
configure
script have also disabled using shared libraries.After patching
configure
to allow shared libraries and disallow natdynlink with the attached patch, I have found no problems. As long as the libraries don't contain non-PIC code (like that generated by ocamlopt :), there shouldn't be any. This is with a Core Duo Macbook with 10.6 (which is 32-bit only).[In particular, note that linking with shared libraries doesn't need the "-read_only_relocs suppress" that natdynlink requires (and is no longer supported by Apple's ld).]
File attachments
The text was updated successfully, but these errors were encountered: