Skip to content
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

conda-forge build failures related to PyPy's ctypes #944

Closed
sklam opened this issue May 15, 2023 · 0 comments
Closed

conda-forge build failures related to PyPy's ctypes #944

sklam opened this issue May 15, 2023 · 0 comments
Labels
Milestone

Comments

@sklam
Copy link
Member

sklam commented May 15, 2023

from: conda-forge/llvmlite-feedstock#69 (comment):

  File "/home/conda/feedstock_root/build_artifacts/llvmlite_1683058932597/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/pypy3.9/_ctypes/function.py", line 425, in _getfuncptr_fromaddress
    return _ffi.FuncPtr.fromaddr(address, '', ffiargs, ffires, self._flags_,
SystemError: not supported by libffi

and conda-forge/llvmlite-feedstock#69 (comment):

All the failing tests are those which rely on a custom LLVM compiler pass that is compiled and shipped from llvmlite's source. The error suggests _ffi.FuncPtr.fromaddr is not supported by libffi but I don't think llvmlite has changed the way this pass is loaded/accessed since llvmlite 0.39 which appears to have built successfully on PyPy. I wonder if the problem is maybe something link resolution related instead and the error just ends up at that point in FFI loading.

@esc esc added the bug label May 16, 2023
@esc esc added this to the v0.40.1 milestone May 16, 2023
@sklam sklam closed this as completed in 8283f5c May 16, 2023
sklam added a commit that referenced this issue May 16, 2023
Fix #944. Add `.argtypes` to prevent errors in pypy.
esc pushed a commit to esc/llvmlite that referenced this issue Jun 6, 2023
Fix numba#944. Add `.argtypes` to prevent errors in pypy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants