On Mon, Jun 19, 2017 at 2:57 AM, Dimitry Andric <d...@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>
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to