From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 4 17:14:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B3C106566C for ; Wed, 4 Jul 2012 17:14:07 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.36]) by mx1.freebsd.org (Postfix) with ESMTP id 830648FC08 for ; Wed, 4 Jul 2012 17:14:07 +0000 (UTC) Received: from [78.35.128.44] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SmT3j-0006Lc-NZ; Wed, 04 Jul 2012 19:08:11 +0200 Date: Wed, 4 Jul 2012 19:07:59 +0200 From: Fabian Keil To: Chema =?ISO-8859-1?Q?Garc=EDa?= Message-ID: <20120704190759.461015c1@fabiankeil.de> In-Reply-To: <4FF4307E.1030202@safetybits.net> References: <4FF4307E.1030202@safetybits.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/xV2pqKoNfJdf3borTiwjwQX"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-hackers@freebsd.org Subject: Re: DTrace issue (infinite loop) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 17:14:07 -0000 --Sig_/xV2pqKoNfJdf3borTiwjwQX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Chema Garc=EDa wrote: > I've been trying to compile Python 2.7 with dtrace support from > https://hg.jcea.es/cpython-2011/ (branch dtrace-issue13405_2.7 ) to test > http://bugs.python.org/issue13405#msg164610. >=20 > I've also recompiled the kernel to enable dtrace support by following > http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html , but > dtrace enters into an infinite loop when compiling, and using 100% of > CPU usage. >=20 > I'm using FreeBSD 9.0-RELEASE-p3, and used: >=20 > ./configure --with-dtrace && make >=20 > And the issue occurs at: >=20 > gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o > Include/pydtrace_offsets Include/pydtrace_offsets.c > Include/pydtrace_offsets.sh OTHER Python/ceval.o > Include/pydtrace_offsets > Include/pydtrace_offsets.h > if test "dtrace" !=3D "" ; then dtrace -o Python/pydtrace.o > -DPYDTRACE_STACK_HELPER -I. -IInclude -I./Include -32 -C -G -s > Include/pydtrace.d Python/ceval.o Modules/gcmodule.o=20 > Objects/classobject.o Objects/typeobject.o; else touch > Python/pydtrace.o ; fi; >=20 > I've tried removing '-DPYDTRACE_STACK_HELPER' with same results. Does it make a difference if you remove the -O3 (and maybe -O2)? Fabian --Sig_/xV2pqKoNfJdf3borTiwjwQX Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/0eHMACgkQBYqIVf93VJ1hkgCgq29f62zbDEilH3I1j/fu8T+p tC4An3koZSal5FU9NHlQ19XHHTLr/fJk =u1Cl -----END PGP SIGNATURE----- --Sig_/xV2pqKoNfJdf3borTiwjwQX--