And you probably don't want shadowstack either, so leave off all options other than -Ojit.
It would also appear that you are using cpython 2.7.10 to translate with, this will add quite a bit of time to your translation, you would be better off using a (perhaps older) pypy binary to do the translation.
Matti

On 13/08/15 16:42, Maciej Fijalkowski wrote:
Please don't use --output :-) The reason is that because --shared is
on you might get a new pypy-xxyyz file, but the libpypy-c.so (which is
not easy to rename) will overwrite the existing one anyway.

On Thu, Aug 13, 2015 at 2:17 PM, Neal Becker <ndbeck...@gmail.com> wrote:
I thought I'd try grabbing the fedora 2.4.0 srpm and see if it would build
2.6.0, but didn't get far:

PYPY_USESSION_DIR=/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal
PYPY_USESSION_BASENAME=pypy python ../../rpython/bin/rpython --output=pypy
--gcrootfinder=shadowstack -Ojit targetpypystandalone
[translation:info] 2.7.10 (default, Jul  5 2015, 14:15:43)
[translation:info] [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc',
version='Unknown'
[translation:info] Translating target as defined by targetpypystandalone
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-
unused /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/gcctest.c -o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/gcctest.o
[platform:execute] gcc /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/gcctest.o -pthread -Wl,--export-dynamic -lrt -
o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/gcctest
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-
unused /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/gcctest.c -o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/gcctest.o
[platform:execute] gcc /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/gcctest.o -pthread -Wl,--export-dynamic -lrt -
o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/gcctest
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-
unused -I/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/rpython/translator/c
/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/platcheck_0.c -o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/platcheck_0.o
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-
unused -I/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/rpython/translator/c
/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/rpython/translator/c/src/thread.c -o
/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/rpython/translator/c/src/thread.o
[platform:execute] gcc /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/usession-pypy-1/platcheck_0.o
/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/rpython/translator/c/src/thread.o -pthread -Wl,--export-dynamic -lrt
-o /home/nbecker/rpmbuild/BUILD/pypy-2.6.0-src/pypy/goal/usession-
pypy-1/platcheck_0
[translation:info] Error:
[translation:info]    File "/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/rpython/translator/goal/translate.py", line 284, in main
[translation:info]     default_goal='compile')
[translation:info]    File "/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/rpython/translator/driver.py", line 562, in from_targetspec
[translation:info]     spec = target(driver, args)
[translation:info]    File "targetpypystandalone.py", line 244, in target
[translation:info]     raise Exception("Cannot use the --output option with
PyPy "
[translation:ERROR] Exception: Cannot use the --output option with PyPy when
--shared is on (it is by default). See issue #1971.
[translation] start debugger...
/home/nbecker/rpmbuild/BUILD/pypy-2.6.0-
src/pypy/goal/targetpypystandalone.py(244)target()
-> raise Exception("Cannot use the --output option with PyPy "

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

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

Reply via email to