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

ARM segfault while generating inference.ji #17659

Closed
eschnett opened this issue Jul 28, 2016 · 11 comments
Closed

ARM segfault while generating inference.ji #17659

eschnett opened this issue Jul 28, 2016 · 11 comments
Labels
system:arm ARMv7 and AArch64

Comments

@eschnett
Copy link
Contributor

I'm building Julia 0.5 (master) on my Raspberry Pi. This aborts with

make[1]: Entering directory '/home/pi/src/julia-0.5'
 cd /home/pi/src/julia-0.5/base && /home/pi/src/julia-0.5/usr/bin/julia -C arm1176jzf-s --output-ji /home/pi/src/julia-0.5/usr/lib/julia/inference.ji --startup-file=no coreimg.jl
Segmentation fault
Makefile:215: recipe for target '/home/pi/src/julia-0.5/usr/lib/julia/inference.ji' failed
make[1]: *** [/home/pi/src/julia-0.5/usr/lib/julia/inference.ji] Error 139
make[1]: Leaving directory '/home/pi/src/julia-0.5'
Makefile:96: recipe for target 'julia-inference' failed
make: *** [julia-inference] Error 2
@tkelman
Copy link
Contributor

tkelman commented Jul 28, 2016

duplicate of #17577?

@kshyatt kshyatt added the system:arm ARMv7 and AArch64 label Jul 28, 2016
@yuyichao
Copy link
Contributor

More likely #17645

@eschnett
Copy link
Contributor Author

#17645 shows the same symptoms, but the remedy there didn't help. I'm using USE_SYSTEM_LLVM=1, with LLVM 3.7.0. Is that a bad idea?

@nalimilan
Copy link
Member

In my experience USE_SYSTEM_LLVM=1 makes inference fail on ARM (#10602). It would be interesting to know whether somebody managed to get the build pass on ARM with that option set.

@yuyichao
Copy link
Contributor

I'm using USE_SYSTEM_LLVM=1 with either llvm SVN/patched 3.7.1/alarm stock 3.8.0.

@ViralBShah
Copy link
Member

Looks like the buildbot successfully built a binary a few hours ago. I wonder if this is spurious or if the issue got addressed with the recent arm PR and other compiler PRs.

@josefsachsconning Can you test on your setup?

@josefsachsconning
Copy link
Contributor

My build has been running for 2.5 hours on my Raspberry Pi. Looks like it's using a lot more memory than it used to, swapping a lot on my 1 GB system.

@ViralBShah
Copy link
Member

My build just went through and is failing:

signal (11): Segmentation fault
while loading coreio.jl, in expression starting on line 9
Allocations: 143308 (Pool: 143234; Big: 74); GC: 0
Segmentation fault
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/home/viral/julia/usr/lib/julia/sys.o] Error 1
make: *** [julia-sysimg-release] Error 2

@ViralBShah
Copy link
Member

Perhaps I am filing this in the wrong issue.

@josefsachsconning
Copy link
Contributor

The build is being killed by oom-killer on my 1 GB Raspberry Pi 3. I'll try again after I connect a USB hard drive and add swap space on it.

@josefsachsconning
Copy link
Contributor

I have added swap to my Raspberry Pi, and successfully built 0.6.0-dev.212.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:arm ARMv7 and AArch64
Projects
None yet
Development

No branches or pull requests

7 participants