Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006509OCaml~DO NOT USE (was: OCaml general)public2014-08-06 13:512016-09-02 17:50
Assigned Togasche 
PlatformOSOS Version
Product Version4.02.0+dev 
Target Version4.02.0+devFixed in Version 
Summary0006509: [github patch] add -linkall flag to ocamlcommon archives
DescriptionA patch by Frédéric Bour: [^]

  This patch add the "-linkall" flag when creating the ocamlcommon.cma
  and ocamlcommon.cmxa archives.
  Modules in "typing/" subdirectory rely on side-effects during
  initialization to setup forward references. It would be unsafe for
  a module to not be linked, thus it seems preferable to enforce linking
  of all modules.
TagsNo tags attached.
Attached Filespatch file icon ocamlcommon-linkall.patch [^] (982 bytes) 2014-08-06 13:51 [Show Content]

- Relationships
related to 0007271resolved Undocumented ocamlc and ocamlopt link behaviour difference 

-  Notes
gasche (developer)
2014-08-06 13:53

We re-discussed this patch recently: it's not terribly satisfying, but there is no clear better way to do, so it was decided to include it. In the future, it would be nice to have a way to record such forward-dependencies, that the linker could understand to fail if the forward-depended file is not passed.

- Issue History
Date Modified Username Field Change
2014-08-06 13:51 gasche New Issue
2014-08-06 13:51 gasche Status new => assigned
2014-08-06 13:51 gasche Assigned To => gasche
2014-08-06 13:51 gasche File Added: ocamlcommon-linkall.patch
2014-08-06 13:51 gasche Status assigned => resolved
2014-08-06 13:51 gasche Resolution open => fixed
2014-08-06 13:53 gasche Note Added: 0011979
2014-08-06 13:54 gasche Description Updated View Revisions
2016-09-02 17:50 gasche Relationship added related to 0007271
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