svn commit: r411414 - head/lang/pypy/files
David Naylor
dbn at FreeBSD.org
Sat Mar 19 17:02:47 UTC 2016
Author: dbn
Date: Sat Mar 19 17:02:45 2016
New Revision: 411414
URL: https://svnweb.freebsd.org/changeset/ports/411414
Log:
lang/pypy: fix build on i386.
On i386 the registery eip should be used for instruction count, however the
code was using the amd64 register of rip instead.
Reported by: kib@
Added:
head/lang/pypy/files/
head/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h (contents, props changed)
Added: head/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/pypy/files/patch-rpython_rlib_rvmprof_src_vmprof__config.h Sat Mar 19 17:02:45 2016 (r411414)
@@ -0,0 +1,10 @@
+--- rpython/rlib/rvmprof/src/vmprof_config.h.orig 2016-03-19 14:27:46 UTC
++++ rpython/rlib/rvmprof/src/vmprof_config.h
+@@ -1,6 +1,6 @@
+ #define HAVE_SYS_UCONTEXT_H
+ #if defined(__FreeBSD__) || defined(__APPLE__)
+-#define PC_FROM_UCONTEXT uc_mcontext.mc_rip
++#define PC_FROM_UCONTEXT uc_mcontext.mc_eip
+ #else
+ #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
+ #endif
More information about the svn-ports-all
mailing list