[Issue 17596] dmd d 2.073.2 and 2.074.1 interim generated dmd segfaults on FreeBSD 12-CURRENT

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 16 21:57:01 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17596

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #22 from Martin Nowak <code at dawg.eu> ---
What happened to the idea of runtime compat checks mentioned in comment 9?
In particular it seems that FreeBSD's dealing with the ABI change in C should
be fully understood before taking any measures.
Also there are versioned symbols in FBSD12 that use the old struct layouts
(e.g. `stat at FBSD_1.0`). We could always use those for now.
As another option you might use the new functions and struct layouts if running
on >=12, but translate the structs to the old layout and explicitly call the
old versioned symbols if running on <12.

--


More information about the Digitalmars-d-bugs mailing list