Date: Wed, 4 Jul 2012 19:07:59 +0200 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Chema =?ISO-8859-1?Q?Garc=EDa?= <chema@safetybits.net> Cc: freebsd-hackers@freebsd.org Subject: Re: DTrace issue (infinite loop) Message-ID: <20120704190759.461015c1@fabiankeil.de> In-Reply-To: <4FF4307E.1030202@safetybits.net> References: <4FF4307E.1030202@safetybits.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/xV2pqKoNfJdf3borTiwjwQX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Chema Garc=EDa <chema@safetybits.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120704190759.461015c1>