Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2016 17:02:45 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411414 - head/lang/pypy/files
Message-ID:  <201603191702.u2JH2jQF052825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603191702.u2JH2jQF052825>