-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking errors and warnings lead to failure in generating shared library #29
Comments
I haven't seen this error before, but it seems like the timeloop libraries are built without PIC and that is causing the issue. Would you mind providing some information about how you built timeloop? E.g., what commands did you call to build timeloop. |
Hi,
I then built the infrastructure as explained in: https://timeloop.csail.mit.edu/v4/installation, thereby building Timeloop through SConstruct with I managed to work around the issue somewhat by modifying Timeloop's SConstruct as follows: # ...
env = Environment(ENV = os.environ)
if not GetOption('clang'):
env.Append(CCFLAGS=['-fPIC'])
#... And after re-building Timeloop, I got a different error while running
To solve this error, I temporarily rolled back the last commit of pytimeloop, going from 54cdc1e50a1d0b34dedd3c39f1c649e14f983253 to 95e4a731d7e518ea16a59ed217fbac5330a6b777.
I don't know if the steps I took were meaningful in fixing the problem, but anyway I did not manage to go any further from here. Thank you in advance. On a side note, I also tried to use pytimeloop within the Docker container mentioned in the documentation, however I cannot successfully import pytimeloop there too, with the following error (on a freshly created container):
|
I followed the timeloop tutorial to install it, and then followed the timeloop-python Installing, but pip3 install -e. The following error message is returned.
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: