Skip to content

EQY Plugin ABI Mismatch causing "undefined symbol" error when running eqy check #3854

@observerw

Description

@observerw

Subject

[Flow] for any util, flow Makefile, or flow script issues.

Describe the bug

When using latest docker image, running basic synthesis will fail:

source /OpenROAD-flow-scripts/env.sh
cd /OpenROAD-flow-scripts/flow
make DESIGN_CONFIG=designs/sky130hd/gcd/config.mk

log file at logs/sky130hd/gcd/base/4_eqy_output/combine.log saids:

ERROR: Can't load module `/usr/local/bin/../share/yosys/plugins/eqy_combine.so': /usr/local/bin/../share/yosys/plugins/eqy_combine.so: undefined symbol: _ZN5Yosys5RTLIL10IDInternal8blackboxE

Expected Behavior

Seems to be a yosys plugin related issue. The flow is suppose to run successfully.

Environment

This issue can be reproduced in the standard openroad/orfs:latest image, which does not contains tools/OpenROAD repo.

To Reproduce

make DESIGN_CONFIG=designs/sky130hd/gcd/config.mk

gcd.zip

Relevant log output

Screenshots

No response

Additional Context

I've noticed that openroad/flow-ubuntu22.04-dev installs EQY and its plugins into /usr/local/share/yosys/plugins, but build_openroad.shcompiles a version of Yosys from the tools/yosys submodule and installs it into tools/install/yosys/. The env.sh add tools/install/yosys/bin/ to PATH, but the plugins in /usr/local/share/yosys/plugins are incompatible with the newer Yosys binary built from source.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions