[PyPy-issue] [issue690] pypy fails to compile under FreeBSD (9)

David Naylor pypy-dev-issue at codespeak.net
Sun Apr 24 20:28:11 CEST 2011

New submission from David Naylor <naylor.b.david at gmail.com>:

Using the source from pypy-1.4.1, the source fails to compile when using `python 
translate.py -Ojit`.  No other combinations were tried.  The system details:

# uname -a
FreeBSD dragon.dg 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Apr 13 19:16:40 SAST 
2011     root at dragon.dg:/tmp/home/freebsd9/src/sys/DRAGON  amd64
# gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.2 20070831 prerelease [FreeBSD]
[Note: the gcc in FreeBSD is a modified version of 4.2.1 with some GPLv2 patches 
back ported]

The translating works until it gets to compiling the source code (compile_c), 
with the error message:
# gmake
/usr/local/bin/python /home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py -mmain -t implement_25.s > 
Traceback (most recent call last):
  File "/home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py", line 1939, in <module>
    tracker.process(f, g, entrypoint=entrypoint, filename=fn)
  File "/home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py", line 1830, in process
    tracker = parser.process_function(lines, entrypoint, filename)
  File "/home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py", line 1348, in process_function
    table = tracker.computegcmaptable(self.verbose)
  File "/home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py", line 60, in computegcmaptable
    return self.gettable()
  File "/home/DragonSA/projects/pypy-1.4.1-
src/pypy/translator/c/gcc/trackgcroot.py", line 94, in gettable
AssertionError: pypy_g_Scope_finalize: %rdx
gmake: *** [implement_25.gcmap] Error 1

effort: ???
messages: 2398
nosy: DragonSA, pypy-issue
priority: critical
release: 1.4
status: unread
title: pypy fails to compile under FreeBSD (9)

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list