chipsalliance / synlig

SystemVerilog support for Yosys
Apache License 2.0
154 stars 20 forks source link

Unable to load yosys plugin system verilog #1175

Open Maor545 opened 1 year ago

Maor545 commented 1 year ago

yosys> plugin -i systemverilog ERROR: Can't load module./systemverilog': /usr/bin/../share/yosys/plugins/systemverilog.so: undefined symbol: _ZN5Yosys4Pass11on_registerEv`

ubuntu 20.04 LTS in WSL2 container Yosys 0.9 (git sha1 1979e0b) yosys-systemverilog compiled from sources as per the instructions say

pgielda commented 1 year ago

Yosys 0.9 is too old. As README states "the required yosys version is 0.10 or later". This particular symbol that is missing was introduced in Yosys 0.10.

kgugala commented 1 year ago

@Maor545 I suppose you've built the plugin against newer yosys, and then you try to load the plugin to an older on (maybe previously installed in your system?)