-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Segfault generating inference0.ji with ORC on ARMv7 #14585
Comments
I've seen this kind of backtrace before. It's a state persistence bug in the backend generally. I'll take a look. |
Thanks. In the meantime, reverting to MCJIT yields a working build again. |
Submitted upstream as http://reviews.llvm.org/D15950 |
there's a similar issue with MCMachOStreamer that was fixed by |
Yeah, I found that one first ;), but it was on hold while I wrote the infrastructure to actually be able to test this upstream. IIRC, this may have been introduced after 3.7 branched. I wonder why I didn't include it in the 3.7.1 patchset. Maybe it was introduced after 3.7 branched or maybe I just forgot. Will check. |
(per the commit comment), it was introduced in the spring. i figured you'd already seen that one, but also figured you could bundle the patch files for these too. |
Hi. Looks like I have the same issue here. If anyone can explain me how to revert to MCJIT (as @maleadt said it works), I'll be very thankful. |
Comment out this line: Line 15 in bef2b08
|
@vtjnash I built everything from source (with 3.7.1) just to make sure and it does not seem like I'm seeing the assertion failure fixed by that commit, so I think we're fine. |
I was wrong. I do see that assertion. I'll add both that patch and the ARM patch to the patchset. |
Indeed, I tried both 3.7.0 and 3.7.1 and both fails with this assertion or just segfault message. |
For the arm build this should be fixed on master by bcfc967, right? |
Yes |
I'm building latest Julia on ARMv7 with the following
Make.user
(from the ARM README):Debug builds added for the sake of a readable backtrace, but the segfault also happens on non-debug Julia/LLVM.
When building Julia, very early during sysimg generation (more specifically when generating
usr/lib/julia/inference0.ji
) I get a segfault:Attaching GDB, I get a SIGABRT instead... So it might be a different issue, but at least there's a backtrace + assertion failure:
This is on commit bc1c18e, after a
distclean
so all relevant LLVM patches should have been applied. I bisected the issue to commit a38fa5f, so it seems related to the ORCJIT activation (cc @Keno).The text was updated successfully, but these errors were encountered: