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
per title, a project which depends on the blst package ends up with GLOBAL (as reported by readelf) references to blst_p2_to_affine instead of LOCAL symbols when compiling with sccache enabled in a github action (using maturin-action). the resulting wheel fails at runtime with ImportError... undefined symbol: blst_p2_to_affine
Your maturin version (maturin --version)
1.5.1
Your Python version (python -V)
n/a
Your pip version (pip -V)
n/a
What bindings you're using
pyo3
Does cargo build work?
Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Bug Description
per title, a project which depends on the
blst
package ends up withGLOBAL
(as reported byreadelf
) references toblst_p2_to_affine
instead ofLOCAL
symbols when compiling with sccache enabled in a github action (usingmaturin-action
). the resulting wheel fails at runtime withImportError... undefined symbol: blst_p2_to_affine
Your maturin version (
maturin --version
)1.5.1
Your Python version (
python -V
)n/a
Your pip version (
pip -V
)n/a
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
https://github.com/paradigmxyz/pyrevm/actions/runs/8680598504
i've archived the log for linux-x86_64 at https://gist.github.com/charles-cooper/2fd01dc60fabea7815e8b8cc62fc8652. the same problem exists for both cffi and pyo3 (i did not check other bindings).
The text was updated successfully, but these errors were encountered: