Recently my builds on linux with --opt=jit have started failing with the
following error:


[translation:info] Error:

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/goal/translate.py",
line 316, in main

[translation:info]     drv.proceed(goals)

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/driver.py",
line 539, in proceed

[translation:info]     return self._execute(goals, task_skip =
self._maybe_skip())

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/tool/taskengine.py",
line 114, in _execute

[translation:info]     res = self._do(goal, taskcallable, *args, **kwds)

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/driver.py",
line 276, in _do

[translation:info]     res = func()

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/driver.py",
line 505, in task_compile_c

[translation:info]     cbuilder.compile(**kwds)

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/c/genc.py",
line 375, in compile

[translation:info]     extra_opts)

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/platform/posix.py",
line 198, in execute_makefile

[translation:info]     self._handle_error(returncode, stdout, stderr,
path.join('make'))

[translation:info]    File
"/home/travis/build/pixie-lang/externals/pypy/rpython/translator/platform/__init__.py",
line 151, in _handle_error

[translation:info]     raise CompilationError(stdout, stderr)

[translation:ERROR] CompilationError: CompilationError(err="""

[translation:ERROR] pixie_vm_threads.c: In function
‘pypy_g_do_yield_thread’:

[translation:ERROR] pixie_vm_threads.c:475:21: error:
‘pypy_g_do_yield_thread_reload’ undeclared (first use in this function)

[translation:ERROR] pixie_vm_threads.c:475:21: note: each undeclared
identifier is reported only once for each function it appears in

[translation:ERROR] make[1]: *** [pixie_vm_threads.gcmap] Error 1

[translation:ERROR] """)

[translation] start debugger...

>
/home/travis/build/pixie-lang/externals/pypy/rpython/translator/platform/__init__.py(151)_handle_error()

-> raise CompilationError(stdout, stderr)

(Pdb+)

I find this odd as it works just fine without the JIT, and compiles fine on
OS X. The code in question is basically a copy-and-paste from PyPy's code:
https://github.com/pixie-lang/pixie/blob/master/pixie/vm/threads.py#L90

Any ideas why this would suddenly have started failing recently? I normally
build against a pretty recent version of PyPy master, so did something
change in the pypy source?

Thanks again for any help,

Timothy
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to