Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005105OCaml~DO NOT USE (was: OCaml general)public2010-07-16 20:012015-06-11 17:57
Assigned To 
PlatformOSOS Version
Product Version3.12.0+beta1 or 3.12.0+rc1 
Target VersionFixed in Version3.12.0+dev 
Summary0005105: Regression: changes to disable natdynlink for 32-bit OSX also disable using shared libraries
Description3.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).]
TagsNo tags attached.
Attached Filespatch file icon allow-shared-libraries-32bit-osx.patch [^] (970 bytes) 2010-07-16 20:01 [Show Content]

- Relationships
related to 0006900assignedshindere Native code compiler for 32-bit OS X 

-  Notes
doligez (administrator)
2010-07-28 15:15

Thanks for the patch, it will be applied for 3.12.0.

- Issue History
Date Modified Username Field Change
2010-07-16 20:01 cookedm New Issue
2010-07-16 20:01 cookedm File Added: allow-shared-libraries-32bit-osx.patch
2010-07-28 15:15 doligez Note Added: 0005625
2010-07-28 15:15 doligez Status new => closed
2010-07-28 15:15 doligez Resolution open => fixed
2010-07-28 15:15 doligez Fixed in Version => 3.12.0+dev
2015-06-11 17:57 doligez Relationship added related to 0006900
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker