Hi Yuri and Armin, Thanks for the response.
Our build system uses gcc 4.4.6 as a result I am kind of confined to it. I am copying the part which has lead to the error. Please let me know how I can provide more info. Thanks for your help, -Roshan [c:writing] rpython_rlib_rweaklist.c [c:writing] rpython_rlib_rzipfile.c [c:writing] rpython_rlib_rzlib.c [c:writing] rpython_rlib_special_value.c [c:writing] rpython_rlib_streamio.c [c:writing] rpython_rlib_unicodedata_unicodedb_3_2_0.c [c:writing] rpython_rlib_unicodedata_unicodedb_5_2_0.c [c:writing] rpython_rtyper_lltypesystem_ll_str.c [c:writing] rpython_rtyper_lltypesystem_lltype.c [c:writing] rpython_rtyper_lltypesystem_module_ll_math.c [c:writing] rpython_rtyper_lltypesystem_rbuilder.c [c:writing] rpython_rtyper_lltypesystem_rdict.c [c:writing] rpython_rtyper_lltypesystem_rffi.c [c:writing] rpython_rtyper_lltypesystem_rlist.c [c:writing] rpython_rtyper_lltypesystem_rordereddict.c [c:writing] rpython_rtyper_lltypesystem_rordereddict_1.c [c:writing] rpython_rtyper_lltypesystem_rordereddict_2.c [c:writing] rpython_rtyper_lltypesystem_rordereddict_3.c [c:writing] rpython_rtyper_lltypesystem_rordereddict_4.c [c:writing] rpython_rtyper_lltypesystem_rordereddict_5.c [c:writing] rpython_rtyper_lltypesystem_rstr.c [c:writing] rpython_rtyper_module_ll_os.c [c:writing] rpython_rtyper_module_ll_os_environ.c [c:writing] rpython_rtyper_module_ll_os_stat.c [c:writing] rpython_rtyper_module_ll_time.c [c:writing] rpython_rtyper_rclass.c [c:writing] rpython_rtyper_rfloat.c [c:writing] rpython_rtyper_rint.c [c:writing] rpython_rtyper_rlist.c [c:writing] rpython_rtyper_rrange.c [c:writing] rpython_rtyper_rstr.c [c:writing] rpython_tool_error.c [c:writing] rpython_translator_c_extfunc.c [c:writing] rpython_translator_exceptiontransform.c [translation:info] written: /tmp/usession-release-2.6.0-4/testing_1/testing_1.c [4d2eb] translation-task} [translation:info] Compiling c source... [4d2eb] {translation-task starting compile_c [platform:execute] make in /tmp/usession-release-2.6.0-4/testing_1 [platform:Error] In file included from testing_1.c:4: [platform:Error] forwarddecl.h:94149: error: expected declaration specifiers or ‘...’ before ‘EC_KEY’ [platform:Error] In file included from testing_1.c:4: [platform:Error] forwarddecl.h:131540: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token [platform:Error] forwarddecl.h:131541: error: expected ‘)’ before ‘*’ token [platform:Error] forwarddecl.h:131543: error: expected declaration specifiers or ‘...’ before ‘EC_KEY’ [platform:Error] In file included from testing_1.c:4: [platform:Error] forwarddecl.h:155882: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token [platform:Error] make: *** [testing_1.gcmap] Error 1 [4d2eb] translation-task} [Timer] Timings: [Timer] annotate --- 565.2 s [Timer] rtype_lltype --- 704.7 s [Timer] pyjitpl_lltype --- 1005.1 s [Timer] backendopt_lltype --- 189.4 s [Timer] stackcheckinsertion_lltype --- 93.6 s [Timer] database_c --- 304.3 s [Timer] source_c --- 352.4 s [Timer] compile_c --- 2.9 s [Timer] =========================================== [Timer] Total: --- 3217.6 s [translation:info] Error: [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/goal/translate.py", line 318, in main [translation:info] drv.proceed(goals) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/driver.py", line 549, in proceed [translation:info] return self._execute(goals, task_skip = self._maybe_skip()) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/tool/taskengine.py", line 114, in _execute [translation:info] res = self._do(goal, taskcallable, *args, **kwds) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/driver.py", line 277, in _do [translation:info] res = func() [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/driver.py", line 515, in task_compile_c [translation:info] cbuilder.compile(**kwds) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/c/genc.py", line 376, in compile [translation:info] extra_opts) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/platform/posix.py", line 211, in execute_makefile [translation:info] self._handle_error(returncode, stdout, stderr, path.join('make')) [translation:info] File "/home/roshan/python/pypy-2.6.0/rpython/translator/platform/__init__.py", line 151, in _handle_error [translation:info] raise CompilationError(stdout, stderr) [translation:ERROR] CompilationError: CompilationError(err=""" [translation:ERROR] In file included from testing_1.c:4: [translation:ERROR] forwarddecl.h:94149: error: expected declaration specifiers or ‘...’ before ‘EC_KEY’ [translation:ERROR] In file included from testing_1.c:4: [translation:ERROR] forwarddecl.h:131540: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token [translation:ERROR] forwarddecl.h:131541: error: expected ‘)’ before ‘*’ token [translation:ERROR] forwarddecl.h:131543: error: expected declaration specifiers or ‘...’ before ‘EC_KEY’ [translation:ERROR] In file included from testing_1.c:4: [translation:ERROR] forwarddecl.h:155882: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token [translation:ERROR] make: *** [testing_1.gcmap] Error 1 [translation:ERROR] """) [translation] start debugger... > /home/roshan/python/pypy-2.6.0/rpython/translator/platform/__init__.py(151)_handle_error() -> raise CompilationError(stdout, stderr) On Sat, Jun 13, 2015 at 2:14 AM, Yury V. Zaytsev <y...@shurup.com> wrote: > On Sat, 2015-06-13 at 08:58 +0200, Armin Rigo wrote: > > My guess is that you didn't show us the complete output. > > Isn't gcc 4.4 way too old anyways? FYI, one can get newer gcc on OEL 6 > from Software Collections / DevToolset. > > -- > Sincerely yours, > Yury V. Zaytsev > > >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev