<div dir="ltr">Hi Team,<div><br></div><div>I am building out the pypy 2.5.0 from source on linux. I built this using oel 6.3 which has a gcc 4.4.7 and built fine, however with oel 5.6 with a gcc version 4.1.2, it fails on the creation of libpypy-c.so shared library with the following error:</div><div><br></div><div><p style="margin:0px;font-size:12px;font-family:Helvetica">/usr/bin/ld: implement.o: relocation R_X86_64_PC32 against `pypy_asm_stackwalk' can not be used when making a shared object; recompile with -fPIC</p>
<p style="margin:0px;font-size:12px;font-family:Helvetica">/usr/bin/ld: final link failed: Bad value</p>
<p style="margin:0px;font-size:12px;font-family:Helvetica">collect2: ld returned 1 exit status</p><p style="margin:0px;font-size:12px;font-family:Helvetica"><br></p><p style="margin:0px;font-size:12px;font-family:Helvetica">I rechecked that gcc asserts fPIC for position independent code, however it still fails and I don't have this problem on 4.4.7 gcc. Could I know the recommended gcc version for building pypy 2.5.0.</p><p style="margin:0px;font-size:12px;font-family:Helvetica"><br></p><p style="margin:0px;font-size:12px;font-family:Helvetica">I am sorry the recommended approach is to use an older version of pypy to build the newer version however we have a unique situation in our build environment where pypy is built using 2.7.5 python. I know this may not be relevant in this context but thought I should say so.</p><p style="margin:0px;font-size:12px;font-family:Helvetica"><br></p><p style="margin:0px;font-size:12px;font-family:Helvetica">Thanks in Advance,</p><p style="margin:0px;font-size:12px;font-family:Helvetica">-Roshan</p></div></div>