-
Notifications
You must be signed in to change notification settings - Fork 506
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
Ubuntu 32 bit (14.04) and Modelsim_DE #146
Comments
pvandoran, Could you try tip of branch Issue#146 and see if this resolves this issues? Thanks Stu |
Hi Stu: Unfortunatly the changes in branch Issue#146 did not resolve the issue. I'm still getting When running with SIM=modelsim on Ubuntu 14.04 32-bit. Thanks Pete |
So turns out I fixed another issue to do with 32bit python on 64bit which is not what this bug is. After trying on a full 32 bit system I see a similar error with PyExec, Can you try commit 3048ba1 please. |
Ok. I'm still seeing the same error with 32-bit Ubuntu 14.04. Pete |
Thanks for testing. Ill continue over the weekend. Stu
|
Hi, I've installed a clean 32bit ubuntu 14.04 and see the error on Master. On the tip of Issue#146 its resolved for me. Did you update to the correct commit ? Stu |
Ok. I Think it was either stale do files or work directories. I validated I was on the correct branch and checkout, then removed all "uncommitted" files then remade the project and everything started working. Sorry for the confusion. I also have Riviera-Pro that I can test against, if you need someone to test those configurations. Thanks Pete. Please close this once you have merged those changes into the master branch. pvandoren@ubuntu:/opt/cocotb$ git status
commit a19ece8
commit ee6e54c
commit 2170852
|
Just a note: I tried this with Riviera-Pro 2014-02 and am seeing a similar issue. I've opened a support case with Riviera to see if they have a similar -gblso switch (I couldn't find it in the documentation) Once they get back to me I'll open up a new case on that and let you know what I find. Thanks Pete |
I'm also seeing this on Linux mint + Riviera-PRO |
I think the general problem is that we either have to link against everything as we did previously (which is awkward), or ensure that our library is loaded with I think on reflection simply re-loading the library before initialising Python is safe and effective. The only change required is to pass the Python version as an environment variable (assuming the shared object follows a predictable naming convention between distributions). |
Linking with "everything" does not work on 32 bit systems. There is a As you correctly point out the problem is to do with symbol resolution on I'll make these changes and push shortly. All a hack though and not nice. On 31 August 2014 18:10, chiggs [email protected] wrote:
|
Fixed in 17806b2 |
When making cocotb on Ubuntu 32 bit for ModelSim_DE 10.2c i get a PyFloat_type error as referenced in issue #124
The "Work around" mention of of adding
dlopen("libpython2.7.so", RTLD_LAZY | RTLD_GLOBAL);
to ./lib/embed/gpi_embed.c before Py_Initialize(); in embed_init_python works, but requires a include at the begining.
#include <dlfcn.h>
The original code works with icarus, but seems to be an issue with ModelSim in ubuntu 14.04 (32 bit)
The text was updated successfully, but these errors were encountered: