From owner-freebsd-python@freebsd.org Tue Mar 15 09:50:42 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 E5EAFAD0906 for ; Tue, 15 Mar 2016 09:50:42 +0000 (UTC) (envelope-from r@robakdesign.com) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (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 81827DDD for ; Tue, 15 Mar 2016 09:50:42 +0000 (UTC) (envelope-from r@robakdesign.com) Received: by mail-wm0-f47.google.com with SMTP id p65so18033225wmp.0 for ; Tue, 15 Mar 2016 02:50:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=EQzYbeRaCQ4nKLHL/NTzrMkD1P6gbQ1RzdySWgmSG+0=; b=QPjlHqul6CZ3jL0plCFFnbzu3LhedpSJz/V1tj0GY4tVr8LpmjXUKfKb+Axv/qhaBq TreP2fiu1nhqqlK3kVSsrEOfvnaK2pNF1ZAftY2Wtn09olKIvx/R3ojndB9M63GMOVjK 9Y6HwPyfuv2fYQuItcgpyREqDB4+pAXMyleoj75tAAb5lOwXZ+TCeCkM47GQnxoI8yKv o80icZwkZDUUuIOD/Q1P0oruIrJLDdrGJcSRhthKHoLGVQXE6ad8i2++jf058qoAhnm7 gzLaMcqUZPpyBm7lmfOBUgSfW8Hv0HyQY/wJpD2MS+tnJMvClyc2enqYCasz/YebXW6P 3Q9w== X-Gm-Message-State: AD7BkJJMVgvOxV66csBqI7W165WRglUampdoSdjoDlB4WO+Fh4GbINYyGURnQ3TCW0WX3w== X-Received: by 10.28.132.17 with SMTP id g17mr23703448wmd.63.1458034997759; Tue, 15 Mar 2016 02:43:17 -0700 (PDT) Received: from [10.65.80.39] ([90.216.134.198]) by smtp.gmail.com with ESMTPSA id 198sm20020032wml.22.2016.03.15.02.43.16 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Mar 2016 02:43:16 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: pypy 5.0.0 on i386 From: =?utf-8?Q?Bart=C5=82omiej_Rutkowski?= In-Reply-To: <20160314194715.GN1741@kib.kiev.ua> Date: Tue, 15 Mar 2016 09:43:15 +0000 Cc: David Naylor , freebsd-python@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9B610B51-74D5-4968-BA91-C15A2ACF9BBC@FreeBSD.org> References: <20160314194715.GN1741@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.3112) 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: Tue, 15 Mar 2016 09:50:43 -0000 > 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 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=