On Tue, Jan 2, 2018 at 8:58 PM, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > Fwiw, some years ago I did a bunch of work to get dtc to compile and > pass the tests on FreeBSD. Working out of the box on *BSD is > something I'd like it to have. Unfortunately, because I can't easily > test on a BSD machine, the BSD support tends to bitrot rather rapidly. Happy to hear this. =) You're not too far off, fortunately. This, the alloca header situation, and an -ldl in tests/Makefile.tests are the only obstacles to being able to do a simple "gmake && gmake check" here. I've submitted patches for the first two, and as of r320872 [1] we provide a libdl on -HEAD. I will likely submit a patch in the near future to use `stat -f %Uz` automatically if stat --version exits with a non-zero exit code or indicates that it's GNU stat(1). This should cover the *BSDs, to include MacOS. [1] https://svnweb.freebsd.org/base?view=revision&revision=320872 -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html