-
Notifications
You must be signed in to change notification settings - Fork 178
Issues with optimizing a shared object #175
Comments
Thanks for reporting the issue. The only known thing to not work with .so's is |
Oh good idea, I removed all the command line flags:
And the result still crashes:
It also crashes if I still pass the profile file. |
Thanks for trying that. I will take a look. |
When I pass the |
There is an issue with what looks like a computed goto in |
That didn't quite do it, but after skipping every function mentioned by Just in case it's relevant, we compile _PyEval_EvalFrameDefault with |
That's good to know. Although, it's quite unexpected. You can also disable processing functions with jump tables using |
We've been using bolt successfully on our binary, but when we compile our program with
-fPIC
and link as a shared object and apply bolt to it, the result doesn't work correctly. I'm not exactly sure what's going on but the two things I've noticed are:I assume these are related and imply that we didn't get good output from bolt, but I can't be sure.
Is there anything different we should be doing for optimizing a shared object / PIC code?
Here's how we produced the files:
Here are the files, let me know if there's any other info that I could provide that would be helpful.
The text was updated successfully, but these errors were encountered: