[github patch] add -linkall flag to ocamlcommon archives #6509
Original bug ID: 6509
A patch by Frédéric Bour:
This patch add the "-linkall" flag when creating the ocamlcommon.cma
Modules in "typing/" subdirectory rely on side-effects during
Comment author: @gasche
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.