arm64 on head -r320059 (e.g.) fails buildkernel with only kernel-toolchain first (not buildworld) [Bugzilla 220125]

Ryan Stone rysto32 at gmail.com
Wed Jun 21 00:15:36 UTC 2017


On Mon, Jun 19, 2017 at 2:57 AM, Dimitry Andric <dim at freebsd.org> wrote:

> Solution B is problematic because arm_neon.h uses stdint.h types
> extensively.
>

If I manually modify the arm_neon.h file to instead say this, the problem
is avoided and the kernel builds:

#ifdef _KERNEL
#include <sys/types.h>
#else
#include <stdint.h>
#endif

Do you think that the llvm devs would be willing to take a change to
NeonEmitter that does this on FreeBSD?

This may not be a complete solution, though, as googling seems to indicate
that gcc also provides a arm_neon.h and it also #includes <stdint.h>


More information about the freebsd-toolchain mailing list