What is the FreeBSD situation?

Steven Schveighoffer schveiguy at yahoo.com
Thu Nov 2 12:46:05 UTC 2017


On 11/2/17 1:11 AM, Jonathan M Davis wrote:

> 
> Right now, what we have mostly works on FreeBSD 10.x and 11.x (it looks like
> 64-bit has a dmd test failure, and 32-bit has a Phobos test failure) as well
> as older versions of 12-to-be (that's what I run locally, since that's what
> TrueOS is based on), but several months ago, FreeBSD did make changes to
> stat and related functions so that inodes are 64-bit, and that obviously
> changed the API. They did a lot of work to make that compatible so that
> programs didn't just break, but the compatibility stuff that they did was
> for C/C++, and we don't use C/C++ headers;

Well, that is only header compatibility, not binary compatibility. In 
other words, that still means if you use C or C++, you need to recompile 
if you are on FreeBSD 12. You can't have one binary that supports both 
platforms.

If this is the only compatibility they support, then I think we do need 
to have multiple versions.

-Steve


More information about the Digitalmars-d mailing list