[PyPy-issue] [issue550] 1.3 translation fails when --cc is used

Joshua Root pypy-dev-issue at codespeak.net
Tue Jun 29 07:22:31 CEST 2010


New submission from Joshua Root <jmr at macports.org>:

I'm in the process of updating pypy in MacPorts to version 1.3. The translation is run using --
cc=/usr/bin/gcc-4.2 and eventually fails thus:

[c:database] Completed
[Timer] Timings:
[Timer] annotate                       ---  813.5 s
[Timer] rtype_lltype                   ---  743.4 s
[Timer] backendopt_lltype              ---  477.6 s
[Timer] stackcheckinsertion_lltype     ---   65.8 s
[Timer] database_c                     ---  710.1 s
[Timer] ===========================================
[Timer] Total:                         --- 2810.5 s
[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "translate.py", line 286, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/driver.py", line 800, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/driver.py", line 293, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/driver.py", line 496, in task_database_c
[translation:ERROR]     database = cbuilder.build_database()
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/c/genc.py", line 185, in build_database
[translation:ERROR]     self.collect_compilation_info(db)
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/c/genc.py", line 202, in 
collect_compilation_info
[translation:ERROR]     self.merge_eci(*all)
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/c/genc.py", line 191, in merge_eci
[translation:ERROR]     self.eci = self.eci.merge(*ecis)
[translation:ERROR]    File "/opt/local/var/macports/build/_Users_josh_Coding_dports-
dev_svn_dports_lang_pypy/work/pypy-1.3/pypy/translator/tool/cbuild.py", line 216, in merge
[translation:ERROR]     (other.platform, self.platform))
[translation:ERROR]  Exception: Mixing ECI for different platforms <Darwin_x86_64 cc=gcc> and 
<Darwin_x86_64 cc=/usr/bin/gcc-4.2>
[translation] batch mode, not calling interactive helpers

----------
effort: ???
messages: 1793
nosy: jmr, pypy-issue
priority: bug
release: ???
status: unread
title: 1.3 translation fails when --cc is used

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue550>
_______________________________________________________



More information about the Pypy-issue mailing list