Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2012 19:25:07 +0200
From:      =?ISO-8859-1?Q?Chema_Garc=EDa?= <chema@safetybits.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: DTrace issue (infinite loop)
Message-ID:  <4FF47C73.6070108@safetybits.net>
In-Reply-To: <20120704190759.461015c1@fabiankeil.de>
References:  <4FF4307E.1030202@safetybits.net> <20120704190759.461015c1@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://safetybits.net>; | @sch3m4 <https://twitter.com/sch3m4=
>/

On 04/07/12 19:07, Fabian Keil wrote:
> 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 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF47C73.6070108>