conditional branch requires assembler-local label
When building PyPy I see this error:
File "/pypy/rpython/translator/platform/__init__.py", line 143, in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
File "/pypy/rpython/translator/platform/__init__.py", line 155, in _handle_error
raise CompilationError(stdout, stderr)
[translation:ERROR] CompilationError: CompilationError(err="""
In file included from /pypy/rpython/translator/c/src/stacklet/stacklet.c:21:
In file included from /pypy/rpython/translator/c/src/stacklet/slp_platformselect.h:14:
/pypy/rpython/translator/c/src/stacklet/switch_aarch64_gcc.h:39:5: warning: inline asm clobber list contains reserved registers: X18 [-Winline-asm]
"stp x18, x19, [sp, -160]!\n"
^
<inline asm>:1:1: note: instantiated into assembly here
stp x18, x19, [sp, -160]!
^
/pypy/rpython/translator/c/src/stacklet/switch_aarch64_gcc.h:39:5: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
"stp x18, x19, [sp, -160]!\n"
^
<inline asm>:1:1: note: instantiated into assembly here
stp x18, x19, [sp, -160]!
^
In file included from /pypy/rpython/translator/c/src/stacklet/stacklet.c:21:
In file included from /pypy/rpython/translator/c/src/stacklet/slp_platformselect.h:14:
/pypy/rpython/translator/c/src/stacklet/switch_aarch64_gcc.h:59:6: error: conditional branch requires assembler-local label. 'zero' is external.
"cbz x0, zero\n"
^
<inline asm>:18:1: note: instantiated into assembly here
cbz x0, zero
^
1 warning and 1 error generated.
""")
Processing block:
block@3[space_86...] is a <class 'rpython.flowspace.flowcontext.SpamBlock'>
in (pypy.module.imp.interp_imp:159)is_builtin
containing the following operations:
v367 = getattr(space_86, ('text0_w'))
name_5 = simple_call(v367, w_name_0)
v368 = getattr(space_86, ('builtin_modules'))
v369 = contains(v368, name_5)
v370 = bool(v369)
--end--
My Info:
M1 MacBook Air
Mac OS 11.1
Command-line used: python2 ../../rpython/bin/rpython -Ojit targetpypystandalone