problems compiling on os x snow leopard
Hi, I've previously used psyco (pypy's ancestor) with great success, but had trouble building it on OS X snow leopard. So I'm trying to build PyPy instead, but getting lots of build errors (see below). Please advise on what I should try next (maybe PyPy 1.1 instead of compiling from the subversion repo?). Thanks! I noticed on: http://morepypy.blogspot.com/ that people have gotten it to compile on os x before. Could anyone post the pypy-c binary somewhere for me to test/use? Very much appreciated. Jordan % python translate.py --opt=3 targetpypystandalone.py [translation:info] Translating target as defined by targetpypystandalone [platform:msg] Setting platform to 'host' cc=None [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_0.o [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/module_cache/module_0.c -o /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_0.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/module_0.o -mmacosx- version-min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/ usession-dist-6/platcheck_0 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_1.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_1 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_2.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_2 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_3.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_3 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_4.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_4 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6 [platform:ERROR] Undefined symbols: [platform:ERROR] "_mremap", referenced from: [platform:ERROR] _main in platcheck_6.o [platform:ERROR] ld: symbol(s) not found [platform:ERROR] collect2: ld returned 1 exit status [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic -I/usr/include/ffi /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_7.c -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_7.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_7.o -lffi -ldl -mmacosx-version- min=10.4 -I/usr/include/ffi -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/platcheck_7 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_8.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_8 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_9.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_9 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_10.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_10 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_11.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_11 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_12.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_12 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_13.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_13 [translation] PyPy config object: [translation] [objspace] [translation] compiler = ast [translation] nofaking = True [translation] [opcodes] [translation] CALL_LIKELY_BUILTIN = True [translation] CALL_METHOD = True [translation] [std] [translation] builtinshortcut = True [translation] getattributeshortcut = True [translation] optimized_list_getitem = True [translation] withmethodcache = True [translation] withmultidict = True [translation] withprebuiltchar = True [translation] withrangelist = True [translation] withshadowtracking = True [translation] withtypeversion = True [translation] [usemodules] [translation] __pypy__ = True [translation] _codecs = True [translation] _lsprof = True [translation] _minimal_curses = True [translation] _pickle_support = True [translation] _random = True [translation] _rawffi = True [translation] _socket = True [translation] _sre = True [translation] _ssl = True [translation] _weakref = True [translation] bz2 = True [translation] cStringIO = True [translation] crypt = True [translation] dyngram = True [translation] errno = True [translation] fcntl = True [translation] gc = True [translation] itertools = True [translation] marshal = True [translation] math = True [translation] md5 = True [translation] mmap = True [translation] operator = True [translation] posix = True [translation] pyexpat = True [translation] rctime = True [translation] recparser = True [translation] select = True [translation] sha = True [translation] signal = True [translation] struct = True [translation] symbol = True [translation] termios = True [translation] thread = True [translation] time = True [translation] unicodedata = True [translation] zipimport = True [translation] zlib = True [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_14.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_14 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_15.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_15 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_24.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_24 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_1.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_1.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_1.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod.so [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_2.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_2.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_2.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod_0.so [geninterp:WARNING] skipped classmethod: <bound method classobj.fromkeys of <class UserDict.UserDict at 0x1002950b0>> [translation] translate.py configuration: [translation] [translate] [translation] opt = 3 [translation] targetspec = targetpypystandalone [translation] translation configuration: [translation] [translation] [translation] [backendopt] [translation] remove_asserts = True [translation] gc = hybrid [translation] gctransformer = framework [translation] list_comprehension_operations = True [translation] profopt = -c 'from richards import main;main(); from test import pystone; pystone.main()' [translation] rweakref = True [translation] stackless = False [translation] thread = True [translation] withsmallfuncsets = 5 [translation:info] Annotating&simplifying... [translation:info] with policy: pypy.translator.goal.ann_override.PyPyAnnotatorPolicy [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_25.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_25 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_26.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_26 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_27.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_27 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_28.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_28 ........................++++++++++++++++++++++++++++*********%%%%#%## %*************** [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_29.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_29 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_30.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_30 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_31.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_31 ........................++++++++++++++++++++++++++++*********%%%%#%## %*******************++++++++ ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++ .............++++++++++++++++************************%%%%%#%########### %%%%%********************* .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% *******%%#% %############################################################################%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% ######################################################################################%%%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% *******%%#% %############################################################################%%%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* .............++++++++++++++++************************%%%%%#%########### %%%%%********************* ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++ +++++++++++***************************************++++++++++.#%**** +............................. ++++++++*********************************************++++++++*%%#%%** +...+++++.%.**.............. +++++***********************%%%%%%%%%%%%%%**************++++**%%##%%**+ +**%%%%%%%*#%+............ +++*******************%%%%%%%%%%%%%%%%%%%%%%%%%***********+++**%*%%*+ +***%#%##%**+............... +******************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************++**%%%* %********+................ *****************%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%*****%%%%%%*#%** %****+++++++................ ***************%%%%%%%%%%%%%%%##############%%%%%%%%%%***%%####%#*++** %##%*%******+++............ *******%*******%%%%%%%%%%%%%##################%%###%%%%%#**%%%***++ +*****%%%%%%%%%**++........... ********%%%***%%%%%%%%%%%%%####################%%%%%%%%**%****++++ +*****%%%#####%%%**++*......... *************#%%%#%%%%%###%%###################%%%%%%%#*******++++ +*****%%%%%##%%%*%*+%*++....... %%%%%%****%##%*%%%%%%%%###%%%#################%%%%%%%%%*******++++++ +**************++*#+++....... %%%%%%%%%%#****%%%%%%%%%%%%%%%%############%%%%%%%%%%%********+++++++++ ++++++++++++**%##*+....... ######%%%%%%*****%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%*********+++++++... +++++........++++#%....... #######%%%%%*******%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**********++++++ +....................%......... ######%%%%%***********%%%%%%%%%%%%%%%%%%%%%%%%%***********+++++++ +............................... %%%%%%%%%%*****************%%%%%%%%%%%%%%%**************+++++++ +................................. %%%%%%************************************************++++++++ +.................................. ***************************************************+++++++++ +.................................... ******++++++***********************************+++++++++++ +...................................... ++++++++++++++++++***********************+++++++++++++++ +........................................ *++*****++++++++++++++++++++++++++++++++++++++++++++++ +.......................................... ****************+++++++++++++++++++++++++++++++++++ +............................................. *%*%*%%************+++++++++++++++++++++++++++++++++ +............................................ *%%%%%%%%%%%%%%******+++++++++++++++++++++++++++++++++++ +........................................ %%%%#%%%%%%%%%%%%********************++++++++++++++++++++++ +..................................... %%%%##########%%%%***************************++++++++++++++++ +................................... %%%%##########%%%%%********%##*******************++++++++++++++ +................................. %%%%%%######%%%%%%*******%#%*************************++++++++++++ +............................... .........+*%#%*+.#.....................................++++++++++++++++ ++++++++++++++++++++++++++ ........+++***%***+++++...........................+++++++++++++++++++++ ++++++++++++++++++++++++++ ......++***%%%%#%%****++++....................+++++++++++++++++++++++++ ++++++++++++++++*+++++++++ .....++***%%#####%%%***++++..............++++++++++++++++++++++++++++++ ++++++++++++++++#+++++++++ .....++***%%%%##%%%%***++++..........++++++++++++++++++++++++++++++++++ +++++++++++++++++*%#*+%+++ .....+++*****%%%%*****+++++.......+++++++++++++++++++++++++++++++++++++ +++++++++++++**%##%%**++++ ....%%++%*%#%%******++++++....+++++++++++++++++++++++++++++++++++++++++ ++++++++++++*%%%%%%******* ..........+**%###%%***++...++++++++++++++++++++++++++++++++++++++++++++ ++++++++++**%%%%********** ..........++*%%%%%%**+++++++++++++++++++++++++#*#%+++++++++++++++++++++ ++++********%#%*********** ............+++%%%%#%*+++++++++++++++++++++++++*++++++++++++++++++++ +****************%%**%%%#*%** .................+**#%#*++*%*###%%%**%%****+++**#%++++++++++++ +****************************%%%%%# ...............++++++++++++++****%%%###%%%%*%%###% %****************************************%%#### ............++++++++++++++++++**%%%#######%%%##%%%%****** %*********************************%%%%%% ..........++++++++++++++++++++**#%%%%%%%%%%%%#%%%%%%%%%%%%%#%%%% %**********************%%%%%%%%## .......++++++++++++++++++++++++******%%%%%%%%%######%%%%%#%%#%%%%%%%%% %*%#*********%%%%%%##%##### .....++++++++++++++++++++++++*********%#%%##################%%%%%%%%%%% %%%%#%***%%%%%%%%%%####### ...++++++++++++++++++++++++********%%%%%%%%###################%%%%%%%%% %%%%######%%%%%%%%######## .++++++++++++++++++++++++********%%%%%%#%%#######################%%%%# %#%%%########%############# ++++++++++++++++++++++++***%##**%%%%##%%###########################%%% %########################## +++++++++++++++++++++++*******%%%%%%%%%%% %####################################################### ++++++++++++++++++++++********%%%%%%%%%% %######################################################## +++++++++++++++++++++*********%%%%%%%%%%% %####################################################### ++++++++++++++++**************%%%%%%%%%%%%% %##################################################### ++++%+++*********************%%#%%%%%%%%%%##% %################################################### +******%#%****************%**%%%%% %############################################################## *********%%%%**********%##%%%%%%%%% %############################################################# *****************%####%%%%% %##################################################################### *******************### %########################################################################## ....+%+.%.....................................+*+. +.............................................. .+*%#%*+.....................................+ +****.............................................. ++%%***+++++++++++#+++++++...................+*#%%* +............................................. *+%%*******************+++++++.......++++++****+***** +........................................... ++*%##%***%%%%%%%%%%*******++++++.++*+****%%%%%%%%**++ +.............................%+........... +*****%%%%%%%%%%%%%%%%%******+++++++****%%%#####%%%***+ +............................*%........... *****%%%%%#########%%%%%%******++++****%%%%%####%%%***++ +.....................%*%%#%%............ *****%%%%%##########%%%%%**#****+++#***%%%%%%%%%%%****+++++++++++++++++ ++++%**%*+%+++++++........ *****%%%%%%%#####%%%%%#%%%%#%%#**+++**%###%%*********++++++++++++++++++ ++%***++++++++++++++++++++ ******%%%%%%%%%%%%%%%%%#%####%%%***+*##%%*********+++++++++++++++++++++ ++++#+*+++++++++++++++++++ ++*******%%%%%%%%%%%%***%%%%%%%%#%%%#++++++++++++++++++%+*+++++++++++++ ++++++*%++++++++++++++++++ #**%%*%************************%*++**%#%%%************%******* [Timer] Timings: [Timer] annotate --- 352.3 s [Timer] ========================================== [Timer] Total: --- 352.3 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 273, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 704, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 267, in _do [translation:ERROR] res = func() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 294, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 99, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 190, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 246, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 471, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 531, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 735, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 732, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<string>", line 3, in consider_op_setattr [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/unaryop.py", line 732, in setattr [translation:ERROR] setattr(example, s_attr.const, v_lltype._defl()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/rpython/lltypesystem/lltype.py", line 1027, in __setattr__ [translation:ERROR] " got %r" % (self._T, field_name, T1, T2)) [translation:ERROR] TypeError': <Struct timeval { c_tv_sec, c_tv_usec, c__pad0, c__pad1, c__pad2, c__pad3 }> instance field 'c_tv_usec': [translation:ERROR] expects <INT> [translation:ERROR] got <Signed> [translation:ERROR] .. v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] .. '(pypy.rlib.rpoll:75)select' [translation:ERROR] Processing block: [translation:ERROR] block@421 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'> [translation:ERROR] in (pypy.rlib.rpoll:75)select [translation:ERROR] containing the following operations: [translation:ERROR] v722 = call_args((function malloc), ((1, ('flavor',), False, False)), (Struct timeval), ('raw')) [translation:ERROR] v725 = simple_call ((builtin_function_or_method fmod), timeout_0, (1.0)) [translation:ERROR] v726 = simple_call((type int), timeout_0) [translation:ERROR] v727 = setattr(v722, ('c_tv_sec'), v726) [translation:ERROR] v728 = simple_call((type int), timeout_0) [translation:ERROR] v729 = sub(timeout_0, v728) [translation:ERROR] v730 = mul(v729, (1000000.0)) [translation:ERROR] v723 = simple_call((type int), v730) [translation:ERROR] v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] --end-- [translation] start debugger...
/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/rpython/ lltypesystem/lltype.py(1027)__setattr__() -> " got %r" % (self._T, field_name, T1, T2)) (Pdb+) (Pdb+) exit()
Hello Jordan, are you trying to build the trunk? I submitted recently a patch to solve build problems with Snow Leopard (64 bits related). fijal is supposed to have commited it to the trunk. Gabriel 2009/10/26 Jordan Miller <jsmiller@seas.upenn.edu>:
Hi,
I've previously used psyco (pypy's ancestor) with great success, but had trouble building it on OS X snow leopard. So I'm trying to build PyPy instead, but getting lots of build errors (see below). Please advise on what I should try next (maybe PyPy 1.1 instead of compiling from the subversion repo?). Thanks!
I noticed on: http://morepypy.blogspot.com/ that people have gotten it to compile on os x before. Could anyone post the pypy-c binary somewhere for me to test/use? Very much appreciated.
Jordan
% python translate.py --opt=3 targetpypystandalone.py
[translation:info] Translating target as defined by targetpypystandalone [platform:msg] Setting platform to 'host' cc=None [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_0.o [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/module_cache/module_0.c -o /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_0.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/module_0.o -mmacosx- version-min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/ usession-dist-6/platcheck_0 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_1.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_1 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_2.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_2 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_3.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_3 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_4.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_4 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6 [platform:ERROR] Undefined symbols: [platform:ERROR] "_mremap", referenced from: [platform:ERROR] _main in platcheck_6.o [platform:ERROR] ld: symbol(s) not found [platform:ERROR] collect2: ld returned 1 exit status [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic -I/usr/include/ffi /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_7.c -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_7.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_7.o -lffi -ldl -mmacosx-version- min=10.4 -I/usr/include/ffi -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/platcheck_7 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_8.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_8 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_9.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_9 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_10.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_10 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_11.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_11 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_12.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_12 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_13.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_13 [translation] PyPy config object: [translation] [objspace] [translation] compiler = ast [translation] nofaking = True [translation] [opcodes] [translation] CALL_LIKELY_BUILTIN = True [translation] CALL_METHOD = True [translation] [std] [translation] builtinshortcut = True [translation] getattributeshortcut = True [translation] optimized_list_getitem = True [translation] withmethodcache = True [translation] withmultidict = True [translation] withprebuiltchar = True [translation] withrangelist = True [translation] withshadowtracking = True [translation] withtypeversion = True [translation] [usemodules] [translation] __pypy__ = True [translation] _codecs = True [translation] _lsprof = True [translation] _minimal_curses = True [translation] _pickle_support = True [translation] _random = True [translation] _rawffi = True [translation] _socket = True [translation] _sre = True [translation] _ssl = True [translation] _weakref = True [translation] bz2 = True [translation] cStringIO = True [translation] crypt = True [translation] dyngram = True [translation] errno = True [translation] fcntl = True [translation] gc = True [translation] itertools = True [translation] marshal = True [translation] math = True [translation] md5 = True [translation] mmap = True [translation] operator = True [translation] posix = True [translation] pyexpat = True [translation] rctime = True [translation] recparser = True [translation] select = True [translation] sha = True [translation] signal = True [translation] struct = True [translation] symbol = True [translation] termios = True [translation] thread = True [translation] time = True [translation] unicodedata = True [translation] zipimport = True [translation] zlib = True [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_14.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_14 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_15.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_15 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_24.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_24 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_1.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_1.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_1.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod.so [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_2.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_2.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_2.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod_0.so [geninterp:WARNING] skipped classmethod: <bound method classobj.fromkeys of <class UserDict.UserDict at 0x1002950b0>> [translation] translate.py configuration: [translation] [translate] [translation] opt = 3 [translation] targetspec = targetpypystandalone [translation] translation configuration: [translation] [translation] [translation] [backendopt] [translation] remove_asserts = True [translation] gc = hybrid [translation] gctransformer = framework [translation] list_comprehension_operations = True [translation] profopt = -c 'from richards import main;main(); from test import pystone; pystone.main()' [translation] rweakref = True [translation] stackless = False [translation] thread = True [translation] withsmallfuncsets = 5 [translation:info] Annotating&simplifying... [translation:info] with policy: pypy.translator.goal.ann_override.PyPyAnnotatorPolicy [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_25.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_25 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_26.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_26 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_27.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_27 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_28.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_28 ........................++++++++++++++++++++++++++++*********%%%%#%## %*************** [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_29.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_29 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_30.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_30 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_31.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_31 ........................++++++++++++++++++++++++++++*********%%%%#%## %*******************++++++++ ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++ .............++++++++++++++++************************%%%%%#%########### %%%%%********************* .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% *******%%#% %############################################################################%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% ######################################################################################%%%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% *******%%#% %############################################################################%%%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* .............++++++++++++++++************************%%%%%#%########### %%%%%********************* ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++
+++++++++++***************************************++++++++++.#%**** +............................. ++++++++*********************************************++++++++*%%#%%** +...+++++.%.**.............. +++++***********************%%%%%%%%%%%%%%**************++++**%%##%%**+ +**%%%%%%%*#%+............ +++*******************%%%%%%%%%%%%%%%%%%%%%%%%%***********+++**%*%%*+ +***%#%##%**+............... +******************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************++**%%%* %********+................ *****************%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%*****%%%%%%*#%** %****+++++++................ ***************%%%%%%%%%%%%%%%##############%%%%%%%%%%***%%####%#*++** %##%*%******+++............ *******%*******%%%%%%%%%%%%%##################%%###%%%%%#**%%%***++ +*****%%%%%%%%%**++........... ********%%%***%%%%%%%%%%%%%####################%%%%%%%%**%****++++ +*****%%%#####%%%**++*......... *************#%%%#%%%%%###%%###################%%%%%%%#*******++++ +*****%%%%%##%%%*%*+%*++....... %%%%%%****%##%*%%%%%%%%###%%%#################%%%%%%%%%*******++++++ +**************++*#+++....... %%%%%%%%%%#****%%%%%%%%%%%%%%%%############%%%%%%%%%%%********+++++++++ ++++++++++++**%##*+....... ######%%%%%%*****%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%*********+++++++... +++++........++++#%....... #######%%%%%*******%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**********++++++ +....................%......... ######%%%%%***********%%%%%%%%%%%%%%%%%%%%%%%%%***********+++++++ +............................... %%%%%%%%%%*****************%%%%%%%%%%%%%%%**************+++++++ +................................. %%%%%%************************************************++++++++ +.................................. ***************************************************+++++++++ +.................................... ******++++++***********************************+++++++++++ +...................................... ++++++++++++++++++***********************+++++++++++++++ +........................................ *++*****++++++++++++++++++++++++++++++++++++++++++++++ +.......................................... ****************+++++++++++++++++++++++++++++++++++ +............................................. *%*%*%%************+++++++++++++++++++++++++++++++++ +............................................ *%%%%%%%%%%%%%%******+++++++++++++++++++++++++++++++++++ +........................................ %%%%#%%%%%%%%%%%%********************++++++++++++++++++++++ +..................................... %%%%##########%%%%***************************++++++++++++++++ +................................... %%%%##########%%%%%********%##*******************++++++++++++++ +................................. %%%%%%######%%%%%%*******%#%*************************++++++++++++ +...............................
.........+*%#%*+.#.....................................++++++++++++++++ ++++++++++++++++++++++++++ ........+++***%***+++++...........................+++++++++++++++++++++ ++++++++++++++++++++++++++ ......++***%%%%#%%****++++....................+++++++++++++++++++++++++ ++++++++++++++++*+++++++++ .....++***%%#####%%%***++++..............++++++++++++++++++++++++++++++ ++++++++++++++++#+++++++++ .....++***%%%%##%%%%***++++..........++++++++++++++++++++++++++++++++++ +++++++++++++++++*%#*+%+++ .....+++*****%%%%*****+++++.......+++++++++++++++++++++++++++++++++++++ +++++++++++++**%##%%**++++ ....%%++%*%#%%******++++++....+++++++++++++++++++++++++++++++++++++++++ ++++++++++++*%%%%%%******* ..........+**%###%%***++...++++++++++++++++++++++++++++++++++++++++++++ ++++++++++**%%%%********** ..........++*%%%%%%**+++++++++++++++++++++++++#*#%+++++++++++++++++++++ ++++********%#%*********** ............+++%%%%#%*+++++++++++++++++++++++++*++++++++++++++++++++ +****************%%**%%%#*%** .................+**#%#*++*%*###%%%**%%****+++**#%++++++++++++ +****************************%%%%%# ...............++++++++++++++****%%%###%%%%*%%###% %****************************************%%#### ............++++++++++++++++++**%%%#######%%%##%%%%****** %*********************************%%%%%% ..........++++++++++++++++++++**#%%%%%%%%%%%%#%%%%%%%%%%%%%#%%%% %**********************%%%%%%%%## .......++++++++++++++++++++++++******%%%%%%%%%######%%%%%#%%#%%%%%%%%% %*%#*********%%%%%%##%##### .....++++++++++++++++++++++++*********%#%%##################%%%%%%%%%%% %%%%#%***%%%%%%%%%%####### ...++++++++++++++++++++++++********%%%%%%%%###################%%%%%%%%% %%%%######%%%%%%%%######## .++++++++++++++++++++++++********%%%%%%#%%#######################%%%%# %#%%%########%############# ++++++++++++++++++++++++***%##**%%%%##%%###########################%%% %########################## +++++++++++++++++++++++*******%%%%%%%%%%% %####################################################### ++++++++++++++++++++++********%%%%%%%%%% %######################################################## +++++++++++++++++++++*********%%%%%%%%%%% %####################################################### ++++++++++++++++**************%%%%%%%%%%%%% %##################################################### ++++%+++*********************%%#%%%%%%%%%%##% %################################################### +******%#%****************%**%%%%% %############################################################## *********%%%%**********%##%%%%%%%%% %############################################################# *****************%####%%%%% %##################################################################### *******************### %##########################################################################
....+%+.%.....................................+*+. +.............................................. .+*%#%*+.....................................+ +****.............................................. ++%%***+++++++++++#+++++++...................+*#%%* +............................................. *+%%*******************+++++++.......++++++****+***** +........................................... ++*%##%***%%%%%%%%%%*******++++++.++*+****%%%%%%%%**++ +.............................%+........... +*****%%%%%%%%%%%%%%%%%******+++++++****%%%#####%%%***+ +............................*%........... *****%%%%%#########%%%%%%******++++****%%%%%####%%%***++ +.....................%*%%#%%............ *****%%%%%##########%%%%%**#****+++#***%%%%%%%%%%%****+++++++++++++++++ ++++%**%*+%+++++++........ *****%%%%%%%#####%%%%%#%%%%#%%#**+++**%###%%*********++++++++++++++++++ ++%***++++++++++++++++++++ ******%%%%%%%%%%%%%%%%%#%####%%%***+*##%%*********+++++++++++++++++++++ ++++#+*+++++++++++++++++++ ++*******%%%%%%%%%%%%***%%%%%%%%#%%%#++++++++++++++++++%+*+++++++++++++ ++++++*%++++++++++++++++++ #**%%*%************************%*++**%#%%%************%******* [Timer] Timings: [Timer] annotate --- 352.3 s [Timer] ========================================== [Timer] Total: --- 352.3 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 273, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 704, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 267, in _do [translation:ERROR] res = func() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 294, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 99, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 190, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 246, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 471, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 531, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 735, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 732, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<string>", line 3, in consider_op_setattr [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/unaryop.py", line 732, in setattr [translation:ERROR] setattr(example, s_attr.const, v_lltype._defl()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/rpython/lltypesystem/lltype.py", line 1027, in __setattr__ [translation:ERROR] " got %r" % (self._T, field_name, T1, T2)) [translation:ERROR] TypeError': <Struct timeval { c_tv_sec, c_tv_usec, c__pad0, c__pad1, c__pad2, c__pad3 }> instance field 'c_tv_usec': [translation:ERROR] expects <INT> [translation:ERROR] got <Signed> [translation:ERROR] .. v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] .. '(pypy.rlib.rpoll:75)select' [translation:ERROR] Processing block: [translation:ERROR] block@421 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'> [translation:ERROR] in (pypy.rlib.rpoll:75)select [translation:ERROR] containing the following operations: [translation:ERROR] v722 = call_args((function malloc), ((1, ('flavor',), False, False)), (Struct timeval), ('raw')) [translation:ERROR] v725 = simple_call ((builtin_function_or_method fmod), timeout_0, (1.0)) [translation:ERROR] v726 = simple_call((type int), timeout_0) [translation:ERROR] v727 = setattr(v722, ('c_tv_sec'), v726) [translation:ERROR] v728 = simple_call((type int), timeout_0) [translation:ERROR] v729 = sub(timeout_0, v728) [translation:ERROR] v730 = mul(v729, (1000000.0)) [translation:ERROR] v723 = simple_call((type int), v730) [translation:ERROR] v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] --end-- [translation] start debugger... > /Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/rpython/ lltypesystem/lltype.py(1027)__setattr__() -> " got %r" % (self._T, field_name, T1, T2)) (Pdb+) (Pdb+) exit()
_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
-- Gabriel Lavoie glavoie@gmail.com
I did commit it. However, we don't have a 64bit OS X buildslave, so it might break from time to time. Please also note that pypy is not yet a viable replacement for psyco. Also, both pypy's jit and psyco does not work on 64 bit (although psyco more by design and pypy because we did not implement it yet). Cheers, fijal On Tue, Oct 27, 2009 at 6:45 PM, Gabriel Lavoie <glavoie@gmail.com> wrote:
Hello Jordan, are you trying to build the trunk? I submitted recently a patch to solve build problems with Snow Leopard (64 bits related). fijal is supposed to have commited it to the trunk.
Gabriel
2009/10/26 Jordan Miller <jsmiller@seas.upenn.edu>:
Hi,
I've previously used psyco (pypy's ancestor) with great success, but had trouble building it on OS X snow leopard. So I'm trying to build PyPy instead, but getting lots of build errors (see below). Please advise on what I should try next (maybe PyPy 1.1 instead of compiling from the subversion repo?). Thanks!
I noticed on: http://morepypy.blogspot.com/ that people have gotten it to compile on os x before. Could anyone post the pypy-c binary somewhere for me to test/use? Very much appreciated.
Jordan
% python translate.py --opt=3 targetpypystandalone.py
[translation:info] Translating target as defined by targetpypystandalone [platform:msg] Setting platform to 'host' cc=None [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_0.o [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/module_cache/module_0.c -o /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_0.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_0.o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/module_0.o -mmacosx- version-min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/ usession-dist-6/platcheck_0 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_1.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_1.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_1 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_2.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_2.o -lssl -lcrypto -mmacosx-version- min=10.4 -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession- dist-6/platcheck_2 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_3.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_3.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_3 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_4.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_4.o -lexpat -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_4 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_5.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_5 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_6.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_6 [platform:ERROR] Undefined symbols: [platform:ERROR] "_mremap", referenced from: [platform:ERROR] _main in platcheck_6.o [platform:ERROR] ld: symbol(s) not found [platform:ERROR] collect2: ld returned 1 exit status [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic -I/usr/include/ffi /var/folders/q1/ q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_7.c -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_7.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_7.o -lffi -ldl -mmacosx-version- min=10.4 -I/usr/include/ffi -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/platcheck_7 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_8.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_8.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_8 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_9.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_9.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_9 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_10.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_10.o -lz -mmacosx-version-min=10.4 -o / var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_10 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_11.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_11.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_11 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_12.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_12.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_12 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_13.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_13.o -lbz2 -mmacosx-version-min=10.4 - o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_13 [translation] PyPy config object: [translation] [objspace] [translation] compiler = ast [translation] nofaking = True [translation] [opcodes] [translation] CALL_LIKELY_BUILTIN = True [translation] CALL_METHOD = True [translation] [std] [translation] builtinshortcut = True [translation] getattributeshortcut = True [translation] optimized_list_getitem = True [translation] withmethodcache = True [translation] withmultidict = True [translation] withprebuiltchar = True [translation] withrangelist = True [translation] withshadowtracking = True [translation] withtypeversion = True [translation] [usemodules] [translation] __pypy__ = True [translation] _codecs = True [translation] _lsprof = True [translation] _minimal_curses = True [translation] _pickle_support = True [translation] _random = True [translation] _rawffi = True [translation] _socket = True [translation] _sre = True [translation] _ssl = True [translation] _weakref = True [translation] bz2 = True [translation] cStringIO = True [translation] crypt = True [translation] dyngram = True [translation] errno = True [translation] fcntl = True [translation] gc = True [translation] itertools = True [translation] marshal = True [translation] math = True [translation] md5 = True [translation] mmap = True [translation] operator = True [translation] posix = True [translation] pyexpat = True [translation] rctime = True [translation] recparser = True [translation] select = True [translation] sha = True [translation] signal = True [translation] struct = True [translation] symbol = True [translation] termios = True [translation] thread = True [translation] time = True [translation] unicodedata = True [translation] zipimport = True [translation] zlib = True [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_14.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_14.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_14 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_15.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_15.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_15 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_24.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_24.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_24 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_1.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_1.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_1.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod.so [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -I/Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/translator/ c /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ module_cache/module_2.c -o /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU++ +Tg/-Tmp-/usession-dist-6/module_cache/module_2.o [platform:execute] gcc -bundle -undefined dynamic_lookup /var/folders/ q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/ module_2.o -mmacosx-version-min=10.4 -I/Users/jmil/G3_Documents/ MakerBot/pypy-dist/pypy/translator/c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/module_cache/externmod_0.so [geninterp:WARNING] skipped classmethod: <bound method classobj.fromkeys of <class UserDict.UserDict at 0x1002950b0>> [translation] translate.py configuration: [translation] [translate] [translation] opt = 3 [translation] targetspec = targetpypystandalone [translation] translation configuration: [translation] [translation] [translation] [backendopt] [translation] remove_asserts = True [translation] gc = hybrid [translation] gctransformer = framework [translation] list_comprehension_operations = True [translation] profopt = -c 'from richards import main;main(); from test import pystone; pystone.main()' [translation] rweakref = True [translation] stackless = False [translation] thread = True [translation] withsmallfuncsets = 5 [translation:info] Annotating&simplifying... [translation:info] with policy: pypy.translator.goal.ann_override.PyPyAnnotatorPolicy [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_25.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_25.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_25 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_26.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_26.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_26 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_27.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_27.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_27 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_28.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_28.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_28 ........................++++++++++++++++++++++++++++*********%%%%#%## %*************** [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_29.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_29.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_29 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_30.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_30.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_30 [platform:execute] gcc -c -O3 -fomit-frame-pointer -mmacosx-version- min=10.4 -mdynamic-no-pic /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.c -o /var/folders/q1/q1uKPhBvEnq2q6- CY3rgeU+++Tg/-Tmp-/usession-dist-6/platcheck_31.o [platform:execute] gcc /var/folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/- Tmp-/usession-dist-6/platcheck_31.o -mmacosx-version-min=10.4 -o /var/ folders/q1/q1uKPhBvEnq2q6-CY3rgeU+++Tg/-Tmp-/usession-dist-6/ platcheck_31 ........................++++++++++++++++++++++++++++*********%%%%#%## %*******************++++++++ ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++ .............++++++++++++++++************************%%%%%#%########### %%%%%********************* .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% *******%%#% %############################################################################%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% ######################################################################################%%%%%%%%%%% %*****%% %#############################################################################%%%%%%%%%%% *******%%#% %############################################################################%%%%%%%%% +********%%%%%%% %#########################################################################%%%%%%% ++********%%%%%%%% %#####################################################################% %%%%%%%% +++*********%%%%#%%%%%%%%#%%%%%#####%% %####################################################%%%%%% +++++*********%%%%%%%%%%%%%%%%%%%%%%%%%%% %############################################%%%%%%%%%** +++++++***********%%%%%%%%%%%%%%%%%%%%%%%%#% %#########################################%%%%%%%**** .++++++++**************%%%%%%%%%%%%%%%%%%%%% %#########################################%%%******** ...+++++++++******************%%%%%%%%%%%%%%%####### %########################%%%%%%%%##%********* ......++++++++++*********************************%%%%%%% %################%%%%%%******%*********** .........+++++++++++++*****************************%%%%%% %##############%%%%%%******************* .............++++++++++++++++************************%%%%%#%########### %%%%%********************* ..................++++++++++++++++++++++++++++**********%%%%%%%%####%%% %%**********************++
+++++++++++***************************************++++++++++.#%**** +............................. ++++++++*********************************************++++++++*%%#%%** +...+++++.%.**.............. +++++***********************%%%%%%%%%%%%%%**************++++**%%##%%**+ +**%%%%%%%*#%+............ +++*******************%%%%%%%%%%%%%%%%%%%%%%%%%***********+++**%*%%*+ +***%#%##%**+............... +******************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************++**%%%* %********+................ *****************%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%*****%%%%%%*#%** %****+++++++................ ***************%%%%%%%%%%%%%%%##############%%%%%%%%%%***%%####%#*++** %##%*%******+++............ *******%*******%%%%%%%%%%%%%##################%%###%%%%%#**%%%***++ +*****%%%%%%%%%**++........... ********%%%***%%%%%%%%%%%%%####################%%%%%%%%**%****++++ +*****%%%#####%%%**++*......... *************#%%%#%%%%%###%%###################%%%%%%%#*******++++ +*****%%%%%##%%%*%*+%*++....... %%%%%%****%##%*%%%%%%%%###%%%#################%%%%%%%%%*******++++++ +**************++*#+++....... %%%%%%%%%%#****%%%%%%%%%%%%%%%%############%%%%%%%%%%%********+++++++++ ++++++++++++**%##*+....... ######%%%%%%*****%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%*********+++++++... +++++........++++#%....... #######%%%%%*******%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**********++++++ +....................%......... ######%%%%%***********%%%%%%%%%%%%%%%%%%%%%%%%%***********+++++++ +............................... %%%%%%%%%%*****************%%%%%%%%%%%%%%%**************+++++++ +................................. %%%%%%************************************************++++++++ +.................................. ***************************************************+++++++++ +.................................... ******++++++***********************************+++++++++++ +...................................... ++++++++++++++++++***********************+++++++++++++++ +........................................ *++*****++++++++++++++++++++++++++++++++++++++++++++++ +.......................................... ****************+++++++++++++++++++++++++++++++++++ +............................................. *%*%*%%************+++++++++++++++++++++++++++++++++ +............................................ *%%%%%%%%%%%%%%******+++++++++++++++++++++++++++++++++++ +........................................ %%%%#%%%%%%%%%%%%********************++++++++++++++++++++++ +..................................... %%%%##########%%%%***************************++++++++++++++++ +................................... %%%%##########%%%%%********%##*******************++++++++++++++ +................................. %%%%%%######%%%%%%*******%#%*************************++++++++++++ +...............................
.........+*%#%*+.#.....................................++++++++++++++++ ++++++++++++++++++++++++++ ........+++***%***+++++...........................+++++++++++++++++++++ ++++++++++++++++++++++++++ ......++***%%%%#%%****++++....................+++++++++++++++++++++++++ ++++++++++++++++*+++++++++ .....++***%%#####%%%***++++..............++++++++++++++++++++++++++++++ ++++++++++++++++#+++++++++ .....++***%%%%##%%%%***++++..........++++++++++++++++++++++++++++++++++ +++++++++++++++++*%#*+%+++ .....+++*****%%%%*****+++++.......+++++++++++++++++++++++++++++++++++++ +++++++++++++**%##%%**++++ ....%%++%*%#%%******++++++....+++++++++++++++++++++++++++++++++++++++++ ++++++++++++*%%%%%%******* ..........+**%###%%***++...++++++++++++++++++++++++++++++++++++++++++++ ++++++++++**%%%%********** ..........++*%%%%%%**+++++++++++++++++++++++++#*#%+++++++++++++++++++++ ++++********%#%*********** ............+++%%%%#%*+++++++++++++++++++++++++*++++++++++++++++++++ +****************%%**%%%#*%** .................+**#%#*++*%*###%%%**%%****+++**#%++++++++++++ +****************************%%%%%# ...............++++++++++++++****%%%###%%%%*%%###% %****************************************%%#### ............++++++++++++++++++**%%%#######%%%##%%%%****** %*********************************%%%%%% ..........++++++++++++++++++++**#%%%%%%%%%%%%#%%%%%%%%%%%%%#%%%% %**********************%%%%%%%%## .......++++++++++++++++++++++++******%%%%%%%%%######%%%%%#%%#%%%%%%%%% %*%#*********%%%%%%##%##### .....++++++++++++++++++++++++*********%#%%##################%%%%%%%%%%% %%%%#%***%%%%%%%%%%####### ...++++++++++++++++++++++++********%%%%%%%%###################%%%%%%%%% %%%%######%%%%%%%%######## .++++++++++++++++++++++++********%%%%%%#%%#######################%%%%# %#%%%########%############# ++++++++++++++++++++++++***%##**%%%%##%%###########################%%% %########################## +++++++++++++++++++++++*******%%%%%%%%%%% %####################################################### ++++++++++++++++++++++********%%%%%%%%%% %######################################################## +++++++++++++++++++++*********%%%%%%%%%%% %####################################################### ++++++++++++++++**************%%%%%%%%%%%%% %##################################################### ++++%+++*********************%%#%%%%%%%%%%##% %################################################### +******%#%****************%**%%%%% %############################################################## *********%%%%**********%##%%%%%%%%% %############################################################# *****************%####%%%%% %##################################################################### *******************### %##########################################################################
....+%+.%.....................................+*+. +.............................................. .+*%#%*+.....................................+ +****.............................................. ++%%***+++++++++++#+++++++...................+*#%%* +............................................. *+%%*******************+++++++.......++++++****+***** +........................................... ++*%##%***%%%%%%%%%%*******++++++.++*+****%%%%%%%%**++ +.............................%+........... +*****%%%%%%%%%%%%%%%%%******+++++++****%%%#####%%%***+ +............................*%........... *****%%%%%#########%%%%%%******++++****%%%%%####%%%***++ +.....................%*%%#%%............ *****%%%%%##########%%%%%**#****+++#***%%%%%%%%%%%****+++++++++++++++++ ++++%**%*+%+++++++........ *****%%%%%%%#####%%%%%#%%%%#%%#**+++**%###%%*********++++++++++++++++++ ++%***++++++++++++++++++++ ******%%%%%%%%%%%%%%%%%#%####%%%***+*##%%*********+++++++++++++++++++++ ++++#+*+++++++++++++++++++ ++*******%%%%%%%%%%%%***%%%%%%%%#%%%#++++++++++++++++++%+*+++++++++++++ ++++++*%++++++++++++++++++ #**%%*%************************%*++**%#%%%************%******* [Timer] Timings: [Timer] annotate --- 352.3 s [Timer] ========================================== [Timer] Total: --- 352.3 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 273, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 704, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/tool/taskengine.py", line 116, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 267, in _do [translation:ERROR] res = func() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/translator/driver.py", line 294, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 99, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 190, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 246, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 471, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 531, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 735, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/annrpython.py", line 732, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<string>", line 3, in consider_op_setattr [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/annotation/unaryop.py", line 732, in setattr [translation:ERROR] setattr(example, s_attr.const, v_lltype._defl()) [translation:ERROR] File "/Users/jmil/G3_Documents/MakerBot/pypy- dist/pypy/rpython/lltypesystem/lltype.py", line 1027, in __setattr__ [translation:ERROR] " got %r" % (self._T, field_name, T1, T2)) [translation:ERROR] TypeError': <Struct timeval { c_tv_sec, c_tv_usec, c__pad0, c__pad1, c__pad2, c__pad3 }> instance field 'c_tv_usec': [translation:ERROR] expects <INT> [translation:ERROR] got <Signed> [translation:ERROR] .. v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] .. '(pypy.rlib.rpoll:75)select' [translation:ERROR] Processing block: [translation:ERROR] block@421 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'> [translation:ERROR] in (pypy.rlib.rpoll:75)select [translation:ERROR] containing the following operations: [translation:ERROR] v722 = call_args((function malloc), ((1, ('flavor',), False, False)), (Struct timeval), ('raw')) [translation:ERROR] v725 = simple_call ((builtin_function_or_method fmod), timeout_0, (1.0)) [translation:ERROR] v726 = simple_call((type int), timeout_0) [translation:ERROR] v727 = setattr(v722, ('c_tv_sec'), v726) [translation:ERROR] v728 = simple_call((type int), timeout_0) [translation:ERROR] v729 = sub(timeout_0, v728) [translation:ERROR] v730 = mul(v729, (1000000.0)) [translation:ERROR] v723 = simple_call((type int), v730) [translation:ERROR] v724 = setattr(v722, ('c_tv_usec'), v723) [translation:ERROR] --end-- [translation] start debugger... > /Users/jmil/G3_Documents/MakerBot/pypy-dist/pypy/rpython/ lltypesystem/lltype.py(1027)__setattr__() -> " got %r" % (self._T, field_name, T1, T2)) (Pdb+) (Pdb+) exit()
_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
-- Gabriel Lavoie glavoie@gmail.com _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
participants (3)
-
Gabriel Lavoie
-
Jordan Miller
-
Maciej Fijalkowski