-
Notifications
You must be signed in to change notification settings - Fork 21
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
version `GLIBC_2.35' not found #2310
Comments
I also tried with
|
Check out a fresh clone, Do not use your yosys build, use the yosys build that is checked out by the Synlig repo. |
What you propose is not what the Installation section says. Is it a workaround or instructions are outdated? To be honest, for me, the best approach would be to install all from sources, instead of depending on pre-built packages. I would like to use Yosys mainstream instead of a, probably outdated, version. |
Plugins in Yosys are just shared libraries that are loaded in runtime. They do have to be compatible with the yosys version you have, and there is no clear split between the main binary and the plugin (aka an API) so things break. Therefore: The "installation guide" is for Debian Trixie and expects that you install a debian package (https://github.com/chipsalliance/synlig#installation) The "from sources" installation guide is expecting you to use our sources from submodules (https://github.com/chipsalliance/synlig#installation-from-source). Both are tested in a CI (but I can imagine a slim chance of sudden Debian breaking due to some change in a package). |
So, Debian Trixie, which will be unstable for at least a year and a half from now, was selected? (I just noticed that Trixie is a requirement, I think was not in the README months ago). I would expect to support stable versions instead. |
There is no hidden agenda here, Synlig requires a pretty recent Yosys version, and debian:trixie is the first Debian to have a packaged version that is new enough. We also provide fully binary releases, there is Yosys in those as well - those might work for you but no promises. |
@rodrigomelo9 , if you prefer to compile from source: https://github.com/chipsalliance/synlig?tab=readme-ov-file#installation-from-source |
Ok, I will try to generate the plugin from sources. |
What we could potentially do is to add an additional test that checks if the full binary release works on debian:bookworm, this might reveal this issue and then we can try to find a way to make it work... FYI @kgugala @tgorochowik |
Hello there, Chiming in to inform you that the kind of issues discussed here also happen on the yosys packaged in the OSS Cad Suite which provides the latest stable Yosys (0.42 at the time of writing) . The README mention
Which is fairly different from "The Required Yosys version is the one bundled" With Yosys 0.42, the plugin loading fails with yosys> plugin -i systemverilog
ERROR: Can't load module `./systemverilog': /home/xxx/opt/oss-cad-suite/lib/../share/yosys/plugins/systemverilog.so: undefined symbol: _ZN5Yosys5RTLIL8IdString12global_cacheE Now, if I understand correctly, the plugin system is "just" providing access points to Yosys internals that may (and have) change without particular notice which feels like an absolute pain to support on the plugin side. If you want me to, I can open a new issue tracking this particular problem 🙂 |
Hi. I'm trying on Ubuntu 20.04, but I also tried
ubuntu:latest
(docker image).I installed Yosys from sources:
And synlig as following:
When I run:
And with sudo:
PS: it worked 5 months ago, the last time that I tried.
The text was updated successfully, but these errors were encountered: