-
Notifications
You must be signed in to change notification settings - Fork 134
Pin 3.7 build issues #9
Comments
Does libz3.so work in PIN 3.7? |
doesn't work with the DT_HASH issue. Currently trying to build it with sysv, and static shared library.. |
This is gonna be harder, since pin's dlopen doesn't support hash-style=gnu, just supports hash-style=sysv. Trial 1. recompiling all libsI tried to recompile all the glibc ~ z3 chain with Maybe ubuntu libc/stdc++/c++ packages are not built for this kind of usage. (building a static library) Even LLVM C++ library has dependency to glibc. Currently I've failed to build custom glibc locally because of binutils internal bug.. I'll retry it. But maybe waiting for PinCRT updates or using other libc like musl seems to be a better choice. (or using pin 7xxxx build, because I think using non-PinCRT libraries can cause some not-intel-supported unexpected bugs from libc) Trial 2. Building Z3 with PinCRTI tried and it doesn't work. PinCRT doesn't support C++11 (giving " |
Yes. I had same issues when I tried to use PIN 3.7. |
Update: built glibc, but encountered error:
... Maybe glibc is not appropriate way to build this. Separating solver with tool process would work. Update 2: since the linker is from bionic, I'm trying bionic ld. |
Maybe it can be merged to #4? I'll give up this approach since it would cause many uncontrollable bugs because of hacking PinCRT. |
Currently QSYM is using Pin 2.14 build 71313, and it doesn't support latest linux kernel versions. I wonder why, and tried to build it with Pin 3.7, but there were some issues:
./memory.h
onpintool/
. Renaming it into_memory.h
fixed the issue.pintool/third_party/llvm
will work.The text was updated successfully, but these errors were encountered: