[pypy-issue] Issue #2553: Unable to translate PyPy 5.7.1 on CentOS 6.7 (pypy/pypy)

shrikant shinde issues-reply at bitbucket.org
Fri May 5 06:01:38 EDT 2017


New issue 2553: Unable to translate PyPy 5.7.1 on CentOS 6.7
https://bitbucket.org/pypy/pypy/issues/2553/unable-to-translate-pypy-571-on-centos-67

shrikant shinde:

# Description #

I am unable to translate PyPy 5.7.1 on a CentOS 6.7 system (details below).
Could you please provide me with some guidance? Any help is appreciated. Thank you.

# Notes #

Trying to build pypy for the first time.
Some initial and last lines of the output are in output section. For detailed logs check attachment.

# System Details #

$ gcc --version
gcc (GCC) 4.9.1

$ cat /etc/centos-release 
CentOS release 6.7 (Final)

Source: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.7.1-src.zip
Translation environment: pypy 1.8
Translation command: ./rpython/bin/rpython -Ojit pypy/goal/targetpypystandalone.py

# Output # 


```
#!python

[c:writing] rpython_translator_c.c
[translation:info] written: /tmp/usession-release-pypy2.7-v5.7.1-13/testing_1/testing_1.c
[6b0b3] translation-task}
[translation:info] Compiling c source...
[6b0b3] {translation-task
starting compile_c
[platform:execute] make -j 3 in /tmp/usession-release-pypy2.7-v5.7.1-13/testing_1
[platform:Error] implement_3.c: In function ‘pypy_g_ccall_ERR_reason_error_string__Unsigned’:
[platform:Error] implement_3.c:16826:11: warning: assignment discards ‘const’ qualifier from pointer target type
[platform:Error]   l_res_54 = ERR_reason_error_string(l_a0_47);
[platform:Error]            ^
[platform:Error] implement_3.c: In function ‘pypy_g_ccall_EVP_DigestFinal__EVP_MD_CTXPtr_arrayPtr_ar’:
[platform:Error] implement_3.c:18724:13: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign]
[platform:Error]   l_v83436 = EVP_DigestFinal(l_a0_59, l_a1_29, l_a2_12);
[platform:Error]              ^
[platform:Error] In file included from /usr/include/openssl/x509.h:73:0,
[platform:Error]                  from /usr/include/openssl/ssl.h:156,
[platform:Error]                  from common_header.h:132,
[platform:Error]                  from implement_3.c:4:

.
.
.

        ./libpypy-c.so: undefined reference to `SSL_shutdown at libssl.so.10'
        ./libpypy-c.so: undefined reference to `SSL_load_error_strings at libssl.so.10'
        ./libpypy-c.so: undefined reference to `SSL_CTX_use_certificate_chain_file at libssl.so.10'
        collect2: error: ld returned 1 exit status
        make: *** [pypy-c] Error 1
        """)
[translation] start debugger...
> /home/sshinde/pypy-temp/pypy2-v5.7.1-src/rpython/translator/platform/__init__.py(152)_handle_error()
-> raise CompilationError(stdout, stderr)
(Pdb+)
(Pdb+)

```




More information about the pypy-issue mailing list