Created
January 17, 2017 22:37
-
-
Save oberstet/a3814c77e5400df3456d7ac74a26bdf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ export CPPYYHOME=${HOME}/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ export LD_LIBRARY_PATH=${CPPYYHOME}/lib:${LD_LIBRARY_PATH} | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ export PATH=${CPPYYHOME}/bin:${PATH} | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ which genreflex | |
/home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/bin/genreflex | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ genreflex MyClass.h | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ clang++ -std=c++11 -fPIC -rdynamic -O2 -shared -I$CPPYYHOME/include MyClass_rflx.cpp -o libMyClassDict.so -L$CPPYYHOME/lib -lCling | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ ldd libMyClassDict.so | |
linux-vdso.so.1 => (0x00007ffeb78e0000) | |
libCling.so => /home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/lib/libCling.so (0x00007f6657596000) | |
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f66571f8000) | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6656eef000) | |
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6656cd9000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f665690f000) | |
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f665670b000) | |
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f66564ee000) | |
libRIO.so => /home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/lib/libRIO.so (0x00007f6655ffd000) | |
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6655df5000) | |
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f6655bcc000) | |
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f66559b1000) | |
libThread.so => /home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/lib/libThread.so (0x00007f665578a000) | |
libCore.so => /home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/lib/libCore.so (0x00007f6655190000) | |
/lib64/ld-linux-x86-64.so.2 (0x000055961b031000) | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ nm libMyClassDict.so | grep " U " | |
U __cxa_atexit@@GLIBC_2.2.5 | |
U __cxa_guard_abort@@CXXABI_1.3 | |
U __cxa_guard_acquire@@CXXABI_1.3 | |
U __cxa_guard_release@@CXXABI_1.3 | |
U __gxx_personality_v0@@CXXABI_1.3 | |
U _Unwind_Resume@@GCC_3.0 | |
U _ZdaPv@@GLIBCXX_3.4 | |
U _ZdlPv@@GLIBCXX_3.4 | |
U _ZN13TVersionCheckC1Ei | |
U _ZN4ROOT17TGenericClassInfo11SetNewArrayEPFPvlS1_E | |
U _ZN4ROOT17TGenericClassInfo13SetDestructorEPFvPvE | |
U _ZN4ROOT17TGenericClassInfo14SetDeleteArrayEPFvPvE | |
U _ZN4ROOT17TGenericClassInfo6SetNewEPFPvS1_E | |
U _ZN4ROOT17TGenericClassInfo8GetClassEv | |
U _ZN4ROOT17TGenericClassInfo9SetDeleteEPFvPvE | |
U _ZN4ROOT17TGenericClassInfoC1EPKcS2_iRKSt9type_infoPKNS_8Internal13TInitBehaviorEPFP6TClassvEP16TVirtualIsAProxyii | |
U _ZN4ROOT17TGenericClassInfoD1Ev | |
U _ZN4ROOT8Internal14DefineBehaviorEPvS1_ | |
U _ZN5TROOT14RegisterModuleEPKcPS1_S2_S1_S1_PFvvERKSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaISD_EES2_ | |
U _ZN9TIsAProxyC1ERKSt9type_info | |
U _Znam@@GLIBCXX_3.4 | |
U _Znwm@@GLIBCXX_3.4 | |
U _ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3 | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ export LD_LIBRARY_PATH=${PWD}:${LD_LIBRARY_PATH} | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ export PATH=${HOME}/pypy-5.6-linux_x86_64-portable/bin:${PATH} | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ pypy MyClass.py | |
unknown type code: P | |
1 | |
unknown type code: � | |
-178968160 | |
77 | |
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment