[pypy-issue] [issue1378] [ARM] version problem with glib

Bas Westerbaan tracker at bugs.pypy.org
Tue Jan 22 00:31:05 CET 2013


New submission from Bas Westerbaan <bas at westerbaan.name>:

I followed pypy/doc/arm.rst.  Translating its test program

# --- start ---
def main(args):
    print "Hello World"
    return 0

def target(*args):
    return main, None
# --- end ---

works fine with pypy ../path/to/translate.py -O2 --platform=arm target.py

However, translating pypy itself with

  ../path/to/translate.py -Ojit --platform=arm --gcrootfinder=shadowstack

creates a binary which when executed complains:

  ./pypy-c: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.15' not found 
(required by ./pypy-c)

Comparing:

(rpi) root at bishop:/# ldd pypy-c 
./pypy-c: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.15' not found 
(required by ./pypy-c)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x4082e000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x40839000)
        libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x408aa000)
        libssl.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0 
(0x408c8000)
        libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 
(0x40917000)
        libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x40a7b000)
        libbz2.so.1.0 => /lib/arm-linux-gnueabihf/libbz2.so.1.0 (0x40aa5000)
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x40abe000)
        libffi.so.5 => /usr/lib/arm-linux-gnueabihf/libffi.so.5 (0x40acd000)
        libutil.so.1 => /lib/arm-linux-gnueabihf/libutil.so.1 (0x40ae1000)
        libcrypt.so.1 => /lib/arm-linux-gnueabihf/libcrypt.so.1 (0x40aed000)
        libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 (0x40b24000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x40b48000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x40b70000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x40b8f000)
        /lib/ld-linux-armhf.so.3 (0x40000000)
(rpi) root at bishop:/# ldd target-c 
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x4082e000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x4083d000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x4085c000)
        /lib/ld-linux-armhf.so.3 (0x40000000)

----------
messages: 5198
nosy: bas, pypy-issue
priority: critical
release: 2.0
status: unread
title: [ARM] version problem with glib

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1378>
________________________________________


More information about the pypy-issue mailing list