[Pkg-julia-devel] Bug#919183: julia: baseline violation on armhf

M. Zhou cdluminate at gmail.com
Thu Jan 17 05:29:38 GMT 2019


control: severity -1 important


This is not baseline violation. julia -C "armv7-a;armv7-a,neon;armv7-a,neon,vfp4"
compiles 3 branches of code, and the optimal branch will be selected
during runtime. The SIGILL raised during build on the buildd stems from
LLVM's incorrect CPU detection.


Here is a proof with QEMU emulated ARM Cortex-a7:


(sid_armhf-dchroot)lumin at abel:~$ julia
Invalid ARM instruction at 0xad4253d0: 0xf2800050

signal (4): Illegal instruction
in expression starting at no file:0
__init__ at ./sysinfo.jl:92
jl_apply_generic at /usr/bin/../lib/arm-linux-gnueabihf/libjulia.so.1 (unknown line)
unknown function (ip: 0xb6d7e006)
unknown function (ip: 0xb6d6e43a)
julia_init__threading at /usr/bin/../lib/arm-linux-gnueabihf/libjulia.so.1 (unknown line)
unknown function (ip: 0x44df2c)
__libc_start_main at /lib/arm-linux-gnueabihf/libc.so.6 (unknown line)
unknown function (ip: 0x44dfc4)
Allocations: 3006 (Pool: 3002; Big: 4); GC: 0
Illegal instruction
(sid_armhf-dchroot)lumin at abel:~$ qemu-arm -cpu cortex-a7 julia
Error while loading julia: Permission denied
(sid_armhf-dchroot)lumin at abel:~$ qemu-arm -cpu cortex-a7 /usr/bin/julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.3
 _/ |\__'_|_|_|\__'_|  |  Debian ⛬  julia/1.0.3+dfsg-1
|__/                   |

julia>



More information about the Pkg-julia-devel mailing list