[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
Sat Aug 18 22:53:32 UTC 2018


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

--- Comment #23 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
And this is my PR with the binding changes that are required to get the
druntime and Phobos unit tests and the dmd test suite passing:

https://github.com/dlang/druntime/pull/2280

(In reply to Martin Nowak from comment #22)
> 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.

Rather than repeating myself, I'll let anyone read the discussion in the dmd PR
to get the full answer to that.

--


More information about the Digitalmars-d-bugs mailing list