You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yosys's plugins are super easy to use. Thanks for showing them to me. They work well on my Mac, but I'm having issues on Linux. Here's the setup:
The following error occurs within a Docker container running Ubuntu 22.04.3 (not sure the Docker part is relevant)
I'm using the 2023-08-06 release of oss-cad-suite for linux-x64, but this also occurs with the latest releases of oss-cad-suite
I build my plugin locally during the Docker build
Seemingly, mixing the prebuilt Yosys with the locally-built plugin isn't working well. When I try to load the plugin with the oss-cad-suite Yosys, I get the following error:
ERROR: Can't load module `/root/lakeroad/yosys-plugin/lakeroad.so': /root/oss-cad-suite/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /root/lakeroad/yosys-plugin/lakeroad.so)
But when I build Yosys from source, the error doesn't present itself.
It seems like it has to be due to Yosys being built in a different environment, but I have no idea. Any thoughts?
The text was updated successfully, but these errors were encountered:
Good that you have asked. To build a plugin that is able to run with oss-cad-suite or tabby-cad, you need to build it within same build environment, this affects also GLIBC but can also be problematic due to some other dependencies (if your plugin uses them).
For this there is prepared solution of using https://github.com/YosysHQ-GmbH/tabby-cad-plugin-build
Note that instructions are made for TabbyCAD, but in case of oss-cad-suite you can just point license file to a dummy one.
In case you need some additional info feel free to ping me here or on Slack.
Hi all!
Sorry, was unsure whether to post this here or in https://github.com/YosysHQ/yosys.
Yosys's plugins are super easy to use. Thanks for showing them to me. They work well on my Mac, but I'm having issues on Linux. Here's the setup:
Seemingly, mixing the prebuilt Yosys with the locally-built plugin isn't working well. When I try to load the plugin with the oss-cad-suite Yosys, I get the following error:
But when I build Yosys from source, the error doesn't present itself.
It seems like it has to be due to Yosys being built in a different environment, but I have no idea. Any thoughts?
The text was updated successfully, but these errors were encountered: