[pypy-issue] Issue #2580: asmgcc fails on i386 with gcc 6.3.0-18 (pypy/pypy)

Stefano Rivera issues-reply at bitbucket.org
Thu Jun 15 17:41:43 EDT 2017


New issue 2580: asmgcc fails on i386 with gcc 6.3.0-18
https://bitbucket.org/pypy/pypy/issues/2580/asmgcc-fails-on-i386-with-gcc-630-18

Stefano Rivera:

Building pypy 5.8.0 on Debian sid i386:

```
gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -fvisibility=hidden -DPYPY_USE_ASMGCC -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -O3 -DVMPROF_UNIX -DVMPROF_LINUX -DRPYTHON_VMPROF=1 -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DRPYTHON_VMPROF=1 -DRPYTHON_VMPROF=1 -DPy_BUILD_CORE -DPy_BUILD_CORE -frandom-seed=elf.c -o elf.s -S elf.c -I"/home/stefanor/hg/pypy/rpython"/translator/c -I"/home/stefanor/hg/pypy/rpython"/rlib/rjitlog/src -I"/home/stefanor/hg/pypy/rpython"/rlib/rvmprof/src -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/cpyext/include -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/cpyext/parse -I.. -I"/home/stefanor/hg/pypy/rpython"/rlib/rvmprof/src/shared -I"/home/stefanor/hg/pypy/rpython"/rlib/rvmprof/src/shared/libbacktrace -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/faulthandler -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/
 operator
  -I"/home/stefanor/hg/pypy/rpython"/../pypy/module/_cffi_backend/src
python "/home/stefanor/hg/pypy/rpython"/translator/c/gcc/trackgcroot.py -t elf.s > elf.gctmp
Traceback (most recent call last):
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/trackgcroot.py", line 2094, in <module>
    tracker.process(f, g, filename=fn)
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1987, in process
    tracker = parser.process_function(lines, filename)
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1498, in process_function
    table = tracker.computegcmaptable(self.verbose)
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/trackgcroot.py", line 59, in computegcmaptable
    self.findframesize()
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/trackgcroot.py", line 295, in findframesize
    insn1.framesize = size_at_insn1
  File "/home/stefanor/hg/pypy/rpython/translator/c/gcc/../../../../rpython/translator/c/gcc/instruction.py", line 262, in __setattr__
    "unrecognized function prologue - "
AssertionError: unrecognized function prologue - only supports push %ebp; movl %esp, %ebp
Makefile:496: recipe for target 'elf.gcmap' failed
make: *** [elf.gcmap] Error 1
```




More information about the pypy-issue mailing list