Issue 17596: Version bindings so that they work for both FreeBSD 11 and 12 #3271
Conversation
Thanks for your pull request, @ibuclaw! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + druntime#3271" |
725a0c1
to
37805b5
Compare
2206ed8
to
59639ce
Compare
I like The existing symvers, i.e., custom mangle strings would need to be adapted too - either by simply getting rid of them (#3270, but not restricted to |
I guess that would be for later, when dmd catches up perhaps. |
Nope - as it is here, pre-inode64 functions expecting the old structs are used with LDC too, regardless of whether |
I can deal with that in #3270, so as not to add conflicts between the two. Though you may have so elaborate how you want it to look like, as I guess either the versioned symbol should be explicit for all versions of FreeBSD, or latest should not have any special mangling. |
I'm not really suited, the last time I've shortly played with FreeBSD was something like a decade ago. ;) - In case the regular symbols are just aliases, e.g., |
86df9f3
to
7a9c9f8
Compare
dlang/dmd#11982 got merged into master, so now the version 12 path this PR is now enabled on the FreeBSD 12.1 CI pipeline. |
@kinke - I've just gone with explicit versions for now. Waiting for CI pipeline results. |
Buildkie failure is unrelated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mistakes here are probably taken from what I did before, but there are a few things that need fixing.
bf65125
to
706592f
Compare
@jmdavis addressed nits. |
Rebase of #2280, with
__FreeBSD_version
nits.Haven't yet tested the second commit against gdc/freebsd. But the first passes the testsuite and all unittests.