From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 4 17:25:13 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 81CD6106571F for ; Wed, 4 Jul 2012 17:25:13 +0000 (UTC) (envelope-from chema@safetybits.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AD6F08FC15 for ; Wed, 4 Jul 2012 17:25:12 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2458647bkc.13 for ; Wed, 04 Jul 2012 10:25:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :x-gm-message-state; bh=8SVl6R6yB1q1ux/onTYtbfLsHqhGqICVdHT5/S4QQZU=; b=mZ2vvPa1fPTacF2MyNmLkGEKVMr4j1h2yRlDhhz/t+A52UtNkSX10hFH6FbohR3atp KmXQzgJX2WA7IIo7dkwURK/B4PAi/GZGX0rZhGpXWn6wj45tTDDdRqh/VwhWCoVXDYDL Xl/hr+DTFzoz4XpddhL+FPnjBED0X7omYud/NjnWoeIYqXh3Dg4qRDvvQGDoHPdY6SL/ v+X4WRRglEctzmPUH5bEP0Us5XINqnj0ZjDK46+C6CZD/sJSiE47K1CXCoptuMkqXLmZ 2pH5CAtTV+w481y1pHTfWY6aJfvZ+d2o62XfVL1Dv3ChVVbk4gZL4RsM5nggUMMnO6o2 j5HA== Received: by 10.205.117.141 with SMTP id fm13mr3767344bkc.125.1341422711289; Wed, 04 Jul 2012 10:25:11 -0700 (PDT) Received: from [10.0.0.2] (235.Red-88-3-143.dynamicIP.rima-tde.net. [88.3.143.235]) by mx.google.com with ESMTPS id 9sm19373847bku.9.2012.07.04.10.25.09 (version=SSLv3 cipher=OTHER); Wed, 04 Jul 2012 10:25:10 -0700 (PDT) Message-ID: <4FF47C73.6070108@safetybits.net> Date: Wed, 04 Jul 2012 19:25:07 +0200 From: =?ISO-8859-1?Q?Chema_Garc=EDa?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4FF4307E.1030202@safetybits.net> <20120704190759.461015c1@fabiankeil.de> In-Reply-To: <20120704190759.461015c1@fabiankeil.de> X-Enigmail-Version: 1.4.1 OpenPGP: id=68183F86 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCA02DDD63BF0A74229E5959A" X-Gm-Message-State: ALoCoQn3ZxXxQgV7aEb4QQc5Wmh61rWiY00+vp0qi6NzIyUJ2+SSNJOe+RC3/SMr+wDHNr50hAmt X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: DTrace issue (infinite loop) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:25:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCA02DDD63BF0A74229E5959A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No it doesn't, I get the same result without -O3 and with -O2 Un saludo, */Chema Garc=EDa/* /SafetyBits | @sch3m4 / On 04/07/12 19:07, Fabian Keil wrote: > 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 te= st >> http://bugs.python.org/issue13405#msg164610. >> >> 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. >> >> I'm using FreeBSD 9.0-RELEASE-p3, and used: >> >> ./configure --with-dtrace && make >> >> And the issue occurs at: >> >> 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; >> >> I've tried removing '-DPYDTRACE_STACK_HELPER' with same results. > Does it make a difference if you remove the -O3 (and maybe -O2)? > > Fabian --------------enigCA02DDD63BF0A74229E5959A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJP9HxzAAoJEIhVozRoGD+GCtkP/2Bqd9ESRi7fZ3CtmEdUlc68 Kmz/to3tTDd4aBZLMcHBIZ3rHhvYViEXvv4FR9GmhJWTHTnD06aO6ebWus1a3wlv gDtXMEp5Mc3MUE7bVeg0Imh6aLeUZ530a6wj6pipGWXj9WxO7/Ii2yiq649o5oag voQREiZBT06mH9QTzP6PSCEmB/8j3m/SLWdmFRFsDksHBPqml1cl2babl+G/5Msr YF0m11p/8FXQVPEsZcPXRHWrl4wIyciusWTtf7ZNVD2o9TSlCB6mudR9bzXkyPu8 duc0f5ON8Zh8PURyIikQb5go+CHlQFdpg6hoknM4NQ7KxVxon+uuexRR8SsA5PYJ 7xNluOJAJidJRU8n2XAyqGh7zJzRGSKuiezMYoUcCtiZoy3dUqfQWeeSB0KGRwQr NXk3Ln9cOd8qGmI2UaxuU4jAJjpRwBlvJ5QqmYV8g4tP23YtNyHT1UVcNeOIe4hT 3GhPazJgH7ephAUz0nfnkj+usQ9U6yqSmCSc1+MbNDIXdIJLAcdY0NrwBsxFy+sX 4b6H7u2QU6nlij8Sh5qQP8mF5lr/rcIqsvlQS1/hl3iLuc12oFgSk/L2/CSsbhsx dw45QrLXwTHehHIkNrtUelV7ZWtckd+VYf3vvcXoEF7H9Zcuxl8sHSP1zI2bzw6R yXd7j50xnXJGYolJnEur =lNr+ -----END PGP SIGNATURE----- --------------enigCA02DDD63BF0A74229E5959A--