Avoid duplicate definitions of "common" global variables
authorXavier Leroy <xavier.leroy@college-de-france.fr>
Thu, 12 Dec 2019 15:41:17 +0000 (16:41 +0100)
committerStéphane Glondu <glondu@debian.org>
Thu, 30 Jul 2020 12:45:47 +0000 (14:45 +0200)
commita1820962c6c06479dd9dc643ccd070c21d0d433f
tree1b188717641accf0e52135daa338b2dc796dfd25
parent214e2c6dc03b16374065ebf6bfb36e5881906b29
Avoid duplicate definitions of "common" global variables

The variables are caml_debug_info and caml_atom_table.
The multiple definitions look like a cut-and-paste error.
They cause problems with C compilers that don't follow the "common" model.

Bug: https://github.com/ocaml/ocaml/issues/9144
Bug-Debian: https://bugs.debian.org/957623

Gbp-Pq: Name 0007-Avoid-duplicate-definitions-of-common-global-variabl.patch
runtime/backtrace.c
runtime/startup_nat.c