diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-09-10 16:48:41 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-09-10 16:48:41 +0200 |
commit | 3ac92c0ceef63fd1402ca8fb0db5fff3b469f88c (patch) | |
tree | 44bb36f66f17d79da12c7ea689a4e02229916e8a /utils/warnings.mli | |
parent | 5701b299d0577ece63f306c153f39bf3696ce2a8 (diff) | |
download | ocaml-3ac92c0ceef63fd1402ca8fb0db5fff3b469f88c.tar.gz |
Skip the trigraph test under OpenBSD i386
OpenBSD 6 produces position-independent executables (PIE) by default,
warns when the text segment of a PIE contains relocations
("warning: creating a DT_TEXTREL in a shared object"),
and has no gcc option to turn the warning off.
ocamlopt on i368 produces code that needs relocation, and therefore
triggers the warning every time.
This causes a false alarm in the trigraph.ml test, where we check
that compilation produces nothing on stdout nor stderr.
As a temporary workaround, we skip the trigraph.ml test under
OpenBSD i386.
Diffstat (limited to 'utils/warnings.mli')
0 files changed, 0 insertions, 0 deletions