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

Assertion failure while precompiling PyCall on ARM #15432

Closed
aviks opened this issue Mar 10, 2016 · 3 comments
Closed

Assertion failure while precompiling PyCall on ARM #15432

aviks opened this issue Mar 10, 2016 · 3 comments
Labels
needs more info Clarification or a reproducible example is required system:arm ARMv7 and AArch64

Comments

@aviks
Copy link
Member

aviks commented Mar 10, 2016

INFO: PyCall is using python (Python 2.7.9) at /usr/bin/python, libpython = libpython2.7
.....

julia> using PyCall
INFO: Precompiling module PyCall...
julia: /home/pi/dev/julia/src/ccall.cpp:183: llvm::Value* llvm_type_rewrite(llvm::Value*, llvm::Type*, llvm::Type*, bool, bool, bool, jl_codectx_t*): 
Assertion `from_type->isPointerTy() == target_type->isPointerTy()' failed.
ERROR: Failed to precompile PyCall to /home/pi/.julia/lib/v0.5/PyCall.ji
julia> versioninfo()
Julia Version 0.5.0-dev+3050
Commit c96f322 (2016-03-08 04:08 UTC)
Platform Info:
  System: Linux (arm-linux-gnueabihf)
  CPU: ARMv7 Processor rev 4 (v7l)
  WORD_SIZE: 32
  BLAS: libblas
  LAPACK: liblapack
  LIBM: libm
  LLVM: libLLVM-3.7.1
@aviks aviks added the system:arm ARMv7 and AArch64 label Mar 10, 2016
@yuyichao
Copy link
Contributor

Can you get a backtrace?

@yuyichao
Copy link
Contributor

On

Julia Version 0.5.0-dev+3080
Commit ad101c9* (2016-03-09 22:18 UTC)
DEBUG build
Platform Info:
  System: Linux (armv7l-unknown-linux-gnueabihf)
  CPU: Cortex A57 Processor rev 1 (aarch64)
  WORD_SIZE: 32
  BLAS: libopenblas (NO_AFFINITY CORTEXA9)
  LAPACK: libopenblas
  LIBM: libm
  LLVM: libLLVM-3.9.0svn-r260101

I get the same failure with #15300 (comment) after the pre-compilation finishes.

@yuyichao yuyichao added the needs more info Clarification or a reproducible example is required label Mar 17, 2016
@aviks
Copy link
Member Author

aviks commented Mar 24, 2016

I haven't been able to trigger a breakpoint while running in gdb. I'll update to a more recent julia and see if this has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Clarification or a reproducible example is required system:arm ARMv7 and AArch64
Projects
None yet
Development

No branches or pull requests

3 participants