[pypy-dev] unable to translate with current head of default

Maciej Fijalkowski fijall at gmail.com
Thu May 26 22:42:32 CEST 2011


On Thu, May 26, 2011 at 10:36 PM,  <wlavrijsen at lbl.gov> wrote:
> Anto,
>
>> ./pypy-c --jit
>> enable_opts=intbounds:rewrite:virtualize:string:heap:ffi:unroll
>>
>> the line above is equivalent of a plain pypy-c, because it enables all
>> optimizations.  Try to remove some of them and see if you still get the
>> crash.
>
> there are several combinations that work with the pre-built pypy but not
> with
> my local version (except one: if only intbounds is selected, neither works).
>
> The largest set of combinations that does work is:
>
>  intbounds:rewrite:virtualize:ffi
>
> Several others don't crash, but raise (and again, not in the pre-built):
>
> RPython traceback:
>  File "implement_18.c", line 205492, in optimize_loop
>  File "implement_19.c", line 86345, in _optimize_loop
>  File "implement_19.c", line 202071, in
> UnrollOptimizer_propagate_all_forward
>  File "implement_19.c", line 248573, in
> Optimizer_reconstruct_for_next_iteration
>  File "implement_19.c", line 247560, in
> Optimization_reconstruct_for_next_iteration
> Fatal RPython error: NotImplementedError
>
> Does any of that ring a bell?

This is relatively known and yet not fixed :) some operations are
unacceptable by backend and removed by optimizations, which in turn
lead to crashes if those optimizations are disabled.

>
> Changing gcc didn't work. For now, I'll live with it with the lower set of
> options. It may after all still be something specific to my box which I
> intend
> to replace sometime soon.
>
> Thanks,
>     Wim
> --
> WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>


More information about the pypy-dev mailing list