Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 09:43:15 +0000
From:      =?utf-8?Q?Bart=C5=82omiej_Rutkowski?= <robak@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        David Naylor <dbn@freebsd.org>, freebsd-python@freebsd.org
Subject:   Re: pypy 5.0.0 on i386
Message-ID:  <9B610B51-74D5-4968-BA91-C15A2ACF9BBC@FreeBSD.org>
In-Reply-To: <20160314194715.GN1741@kib.kiev.ua>
References:  <20160314194715.GN1741@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 14 Mar 2016, at 19:47, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>=20
> Hello,
> is pypy supposed to build on i386 ?  I get the following error on the =
attempt
> to build pypy in i386 current jail on current amd64 box.
>=20
> uname -a
> FreeBSD sandy32 11.0-CURRENT FreeBSD 11.0-CURRENT #919 =
r296579+bdd6db3(sysv_sem)-dirty: Thu Mar 10 12:43:41 EET 2016     =
root@pooma.home:/usr/home/kostik/work/build/bsd/DEV/obj-amd64/usr/home/kos=
tik/work/build/bsd/DEV/src/sys/X  i386
>=20
> The immediate cause of the error is that vmprof_config.h is populated =
with
> the snippet that uses mc_rip mcontext member to get instruction =
counter
> value (seemingly).  This is a valid attempt on amd64, which has %rip,
> but i386 has %eip for instruction counter and mcontext member is =
called
> mc_eip.
>=20
> My vmprof_config.h content, I am not sure if the file is generated:
> #define HAVE_SYS_UCONTEXT_H
> #if defined(__FreeBSD__) || defined(__APPLE__)
> #define PC_FROM_UCONTEXT uc_mcontext.mc_rip
> #else
> #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
> #endif
>=20
> Script of the build is attached.
>=20
> Thanks for the advise.
> <1.log>

To be perfectly honest - I dont know, I havent done the update to 5.0. =
However, since previous versions did, I see no reason why this wouldnt, =
and I'd expect that update provided by a committer to be well tested on =
all supported platforms. I will make my test run, but it will take some =
time.

Kind regards,
Bartek Rutkowski=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B610B51-74D5-4968-BA91-C15A2ACF9BBC>