libblst does not get statically linked when sccache is present
charles-cooper opened this issue · 0 comments
charles-cooper commented
Bug Description
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 /
)?
- Yes
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).