DTrace issue (infinite loop)

Chema García chema at safetybits.net
Wed Jul 4 17:25:13 UTC 2012


No it doesn't, I get the same result without -O3 and with -O2

Un saludo,
*/Chema García/*
/SafetyBits <http://safetybits.net> | @sch3m4 <https://twitter.com/sch3m4>/

On 04/07/12 19:07, Fabian Keil wrote:
> Chema García <chema at 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.
>>
>> 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" != "" ; 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 
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120704/09a21417/signature.pgp


More information about the freebsd-hackers mailing list