Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006509OCamlOCaml generalpublic2014-08-06 13:512014-08-06 13:54
Reportergasche 
Assigned Togasche 
PrioritylowSeveritytweakReproducibilityN/A
StatusresolvedResolutionfixed 
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:
https://github.com/ocaml/ocaml/pull/53 [^]

  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

-  Notes
(0011979)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker