Bug 18885 – statfs struct was changed in FreeBSD 12

Status
NEW
Severity
major
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
FreeBSD
Creation time
2018-05-20T15:23:54Z
Last change time
2024-12-07T13:38:19Z
Assigned to
No Owner
Creator
Roman
See also
https://issues.dlang.org/show_bug.cgi?id=17596
Moved to GitHub: dmd#17167 →

Comments

Comment #0 by freeslave93 — 2018-05-20T15:23:54Z
core.sys.posix.sys.statvfs still has the declaration for FreeBSD 11. That leads to segfeault when calling statfs function because of structure's size mismatch. Should we just update statfs_t declaration for FreeBSD (and drop support for FreeBSD 11) or dispatch somehow?
Comment #1 by issues.dlang — 2018-06-01T08:27:23Z
The decision was that we will officially support only the latest release of FreeBSD - which is currently FreeBSD 11.1. And that's what the autotester tests. Having FreeBSD 12 work is obviously fine, but it's not officially supported, and it certainly won't be supported in a manner that breaks FreeBSD 11. FreeBSD 12 will only be officially supported once it's actually released, and at that point, we will drop support for FreeBSD 11. The main issue related to this is issue #17596. There has been some discussion there on how to make FreeBSD 11 and 12 work at the same time, but someone has to actually figure it all out properly and do the work, which no one has yet done.
Comment #2 by cy — 2019-08-11T22:18:58Z
The FreeBSD port has been deleted.
Comment #3 by robert.schadek — 2024-12-07T13:38:19Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17167 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB