[pypy-dev] Why isn't PyPy compiling itself not the same as CPython?

Christopher Swenson vadius at gmail.com
Mon Mar 12 00:42:00 CET 2012


Alright. That's too bad.

Thanks,
--Christopher

On Sun, Mar 11, 2012 at 16:38, Maciej Fijalkowski <fijall at gmail.com> wrote:

> On Sun, Mar 11, 2012 at 4:34 PM, Christopher Swenson <vadius at gmail.com>
> wrote:
> > This may be a known issue, but it's a little worrying.
> >
> > I compiled PyPy with CPython, and I got a different binary than when I
> > compiled it with itself:
> >
> > -rwxrwxr-x 1 swenson swenson 59314173 2012-03-11 17:45 pypy-c*
> > -rwxrwxr-x 1 swenson swenson 59297884 2012-03-11 18:52 pypy-c2
> >
> > I know that the final check with GCC is that it compiles itself with
> itself,
> > and checks that it gets itself.
> >
> > Is there some randomness in translate.py?
>
> The answer is "yes". You would get a slightly different result if you
> compile it twice with the same binary even.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120311/33e10704/attachment-0001.html>


More information about the pypy-dev mailing list