From owner-freebsd-python@freebsd.org Sat Mar 19 17:06:13 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DDBEAD5F02 for ; Sat, 19 Mar 2016 17:06:13 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13ADCC46; Sat, 19 Mar 2016 17:06:13 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id p65so75247168wmp.0; Sat, 19 Mar 2016 10:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=ED+P448CeBEFdkk+zUpmwu9nFEAD04uI96l4cHuv+OU=; b=fygJbBMoWon1hw2kAWFutLQKOE/70y5h4USSepWXLLnKRCI1UXbdWcwWQ5RHGqHb4M Nfz6OpJTz4z8AASRjgSjug/xaHPJW1ujzhWhvM9K6zWQ77w/E8OJ1Marwm+hyFlSCo+J 2QbzpVaph70K5I07zx3tNaPK920NtPxEa7Lqlnt7LWSlTr7SvctdxILkVDmb1eNAVqab Lhtie3R97eLkucy1ym2SRhy0M9XU0E75o4Fal3vcKW5UlTCYSrBnDtCMVoq8kR2Rq4ZZ AmHSkW7RtgV2uGrtFxt0ZH5SclnLLLWqWBD+ILLQd5KykSkLgsWGiDVxgtXIsaw5a4Fk FiAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :organization:user-agent:in-reply-to:references:mime-version; bh=ED+P448CeBEFdkk+zUpmwu9nFEAD04uI96l4cHuv+OU=; b=QOprAF62EUZNw5HTMpoYZZUcLletSt0gWmv3QeepGOiPfouOp5LxgmQwMRvTGiIX12 X+Ld/9DRCbCItC04Mx1bjbL4VuAwFvYuxGkMKJdLEe1VTHbMuogHYOZkQRN9w2lVHHnx caeOLrlLneLEMZ4NqUlYd5iKWDGK06PRrXNjiQYJayrWOQIxfu+ypWt4CaLTEdDFUoT0 tnkQxddV3lPnlobrHnnhjAvxaRIVFaNUz09GYhF5DfQ5pFoqBtPkyEFS1hQbgNpJxMKW V9GqV3PvKbYriJTnNzEu8smnwslcC5V9ko4vvoaunUKmH6NeO/WWelfLZvVPpSSD54u9 Oq3A== X-Gm-Message-State: AD7BkJIScakg4YOrKCdIboAs2TzUCTCAjkgGFp1V9J9xXIZl4lFBm6CBZKHkYCE+4NWgsQ== X-Received: by 10.194.201.166 with SMTP id kb6mr21954095wjc.125.1458407171649; Sat, 19 Mar 2016 10:06:11 -0700 (PDT) Received: from dragon.local (8ta-246-169-15.telkomadsl.co.za. [41.246.169.15]) by smtp.googlemail.com with ESMTPSA id v188sm4368290wmv.3.2016.03.19.10.06.10 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2016 10:06:10 -0700 (PDT) Sender: David Naylor From: David Naylor To: =?utf-8?B?QmFydMWCb21pZWo=?= Rutkowski Cc: Konstantin Belousov , freebsd-python@freebsd.org Subject: Re: pypy 5.0.0 on i386 Date: Sat, 19 Mar 2016 19:06:08 +0200 Message-ID: <2372635.tnL7yCe2BY@dragon.local> Organization: FreeBSD User-Agent: KMail/4.14.3 (FreeBSD/10.2-RELEASE-p9; KDE/4.14.3; amd64; ; ) In-Reply-To: <9B610B51-74D5-4968-BA91-C15A2ACF9BBC@FreeBSD.org> References: <20160314194715.GN1741@kib.kiev.ua> <9B610B51-74D5-4968-BA91-C15A2ACF9BBC@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1660408.BWUqLtlcO5"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2016 17:06:13 -0000 --nextPart1660408.BWUqLtlcO5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Tuesday, 15 March 2016 09:43:15 Bart=C5=82omiej Rutkowski wrote: > > On 14 Mar 2016, at 19:47, Konstantin Belousov = wrote: > >=20 > > Hello, > > is pypy supposed to build on i386 ? I get the following error on t= he > > 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 =20= > > root@pooma.home:/usr/home/kostik/work/build/bsd/DEV/obj-amd64/usr/h= ome/ko > > stik/work/build/bsd/DEV/src/sys/X i386 > >=20 > > The immediate cause of the error is that vmprof_config.h is populat= ed with > > the snippet that uses mc_rip mcontext member to get instruction cou= nter > > value (seemingly). This is a valid attempt on amd64, which has %ri= p, > > but i386 has %eip for instruction counter and mcontext member is ca= lled > > 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> >=20 > 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 wouldn= t, and > I'd expect that update provided by a committer to be well tested on a= ll > supported platforms. I will make my test run, but it will take some t= ime. Hi, Apologies, it was my fault for not properly testing the PyPy update bef= ore=20 pushing it. I incorrectly assumed there wouldn't be any issues between= i386=20 and amd64. I'll ensure to run both poudriere builds before committing.= =20 This has been fixed in r411414 and reported upstream with bug #2262. =20= @kib: thank you for the report, your explanation around eip vs rip was = most=20 instrumental in finding a solution. =20 P.S. It appears that the PyPy team will be issuing a bug fix quite soon= , if=20 anyone would like to submit fixes for some unit tests ;-). =20 Regards, --nextPart1660408.BWUqLtlcO5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJW7YcAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5NDhFQzUxMUEyN0YwMzAyRTc5OUI1M0FB RDYzRkE4REQ2QjJEQTU1AAoJEK1j+o3WstpVcTYP/0LsJKfFIjR9wtxnHNI1ryDK UyiEHefSLOcsq/nOdjEdJszct8ETXs37VnCGHuzlV2AdC/6bcJAdpaWFrnQjPtnr xB18L6Z+fRngIJQPu1KXOCLB1h9YOT2Rxa7LdwRMd7Vr77cFHM+Jp4FPdcaEqb6u 22HyS/anM7y4FtpGD46jl76m90sQrOk/BCtgT69WBf2JgKJtFcMxk6vRlU3bYwrK lnFC7cA7u8+5zbuyhKoCClI0fnuGYZxQw+2ubw56PPky8rcjWYeqOc/nrDzTOT18 IprPoc8YmRJssnwG0nOnPuIzDZQjs6SSITnYHqFAAavXqwL/bnP1XopkpBbRjqyh kWWtLHQDM9agzbu5xEfERD1R7p2SGGWMEDCcJLbyZKuwcbK/lbXL58di9RdC+Vmi 5Q3puNxz2bJPKamjMpab4g4B9g4dDh7u2zjUsTFhicV+2OsD5XE83d6hJaYnhBAt +gCWQLfUu25ZSl5t31gpjMLcOKIEyFxusA1lWUkF1iBOKdE7VT6ge+eR7ZRQGjuI oy1t6/+pv6C1SWZAZ+x+ZN2kd5PtHzlE303KOxMgTEcvC+p8OZFcx8cIxnpkHq9f dU+0k9c2dNybHX6vVs54yhRsICjzTL1gFZjXywZOwsdxUxrIXJ7HAZqqF3dn8+Wk PL6bOK0lfI7ericcHvYo =I92g -----END PGP SIGNATURE----- --nextPart1660408.BWUqLtlcO5--