diff -r 353420330f35 Makefile --- a/Makefile Fri May 18 10:10:24 2018 +0200 +++ b/Makefile Sun May 20 16:37:06 2018 +0000 @@ -10,7 +10,7 @@ RUNINTERP = $(PYPY_EXECUTABLE) endif -.PHONY: pypy-c cffi_imports +.PHONY: pypy-c #cffi_imports pypy-c: @echo diff -r 353420330f35 rpython/rlib/rvmprof/cintf.py --- a/rpython/rlib/rvmprof/cintf.py Fri May 18 10:10:24 2018 +0200 +++ b/rpython/rlib/rvmprof/cintf.py Sun May 20 16:37:06 2018 +0000 @@ -17,7 +17,7 @@ # vmprof works only on x86 for now IS_SUPPORTED = False -if sys.platform in ('darwin', 'linux', 'linux2'): +if sys.platform in ('darwin', 'linux', 'linux2', 'freebsd10', 'freebsd11'): try: IS_SUPPORTED = detect_cpu.autodetect().startswith('x86') except detect_cpu.ProcessorAutodetectError: diff -r 353420330f35 rpython/rlib/rvmprof/src/shared/vmprof_unix.h --- a/rpython/rlib/rvmprof/src/shared/vmprof_unix.h Fri May 18 10:10:24 2018 +0200 +++ b/rpython/rlib/rvmprof/src/shared/vmprof_unix.h Sun May 20 16:37:06 2018 +0000 @@ -24,6 +24,9 @@ #include "vmprof_mt.h" +#ifdef __FreeBSD__ +#include +#endif #include RPY_EXTERN void vmprof_ignore_signals(int ignored);