Closed goretkin closed 4 years ago
did you apply this patch?
I think you might have linked to the wrong page (it links to this page). Happy to try any patch!
Oops! It's #407. It looks like Github cannot handle this format: [this patch](#407)
.
I took a guess and just tried it out, I still get a segfault. The stacktrace doesn't print reliably, and I didn't run gdb, but from some print statements I had, it looks like it's the same issue.
I get segfaults on CentOS-7, too, with Julia v1.3-RC4.
Is there a way to check whether a git commit is included in certain release branch?
I get what looks like the same segfault on Julia 1.3. Whenever I want to use Cxx, I'm switching back to 1.2
Getting the same error. Also using Julia 1.3.0
Oops! It's #407. It looks like Github cannot handle this format:
[this patch](#407)
.
It's entirely possible that I'm simply dense, but I'm going to ask this anyway. How does one go about applying this patch? I can dev Cxx and get the source. I can build the source. But the link takes me to a Github page that describes the patch but nowhere can I find an actual .patch file.
How does one go about applying this patch?
You can try
git cherry-pick 3c081e564256d5db22d045d47cd269dac19bdb99
in the Cxx Julia package directory (probably ~/dev/Cxx
)
The hash is of the one commit on that PR. You can see all the commits here: https://github.com/JuliaInterop/Cxx.jl/pull/407/commits
If you want to generate a .patch
file, there's a command to do that, too. Something like git diff hash1 hash2
with some arguments, if I recall, does it. The two hashes are e.g. the hash of the commit and the hash of the parent commit. You can then apply this .patch
. But I recommend cherry-pick
.
I applied both 407 and 434. Still getting the same error.
Did you build Julia from the source? I've merged 407 and 434 into master and submitted PR #450 for a fix.
I have tested Cxx.jl#master with #450 applied (which also applies #407 and #434) and still get this error on Julia 1.3.0 (official binary downloaded from julialang.org).
@alhirzel you need to build Julia from source for now.
Ok, thank you for the info. Is there a place I can read more about why a Julia source build is needed?
https://github.com/JuliaInterop/Cxx.jl/issues/441#issuecomment-560990589
No worries, I upgraded the build environment to the latest BB2 and successfully built libcxxffi for x86_linux this morning. It will take a couple of days to build&test other platforms before I submit a PR.
Does this mean that the building julia from source won't be needed if BB build works?
yes, just like Julia 1.1 and 1.2.
Binary-build for Julia 1.3 is ready for a test.
(v1.3) pkg> add Cxx#master
Thank you!
@Gnimuc, thanks for fixing this. Is it possible to summarize what changed between Julia 1.2 and Julia 1.3 that gave rise to this issue?
using Cxx#master, and after turning off precompilation