Update: I submitted a PR for libunwind and got the following answer from *cbergstrom* (https://github.com/pathscale/libunwind/pull/5#issuecomment-138237585):
I don't want to turn you away from pathscale/libunwind, but do you know if > Julia can use the Apple libunwind? I really don't know what to answer hereā¦ However, it seems that neither Apple's library is supported on OpenBSD. Maurizio. On Monday, September 7, 2015 at 9:55:01 AM UTC+2, Maurizio Tomasi wrote: > > *@Jameson*, I was able to go a little further by modifying libunwind's > source code in order to include <signal.h> instead of <ucontext.h>. > However, there is some point where non-trivial assembly code needs to be > ported: > > > https://github.com/pathscale/libunwind/blob/vanilla_pathscale/src/x86_64/setcontext.S#L95 > > I haven't the slightest idea of what this code does, so I'm stuck on this > point. > > Maurizio. > > On Saturday, September 5, 2015 at 4:38:26 AM UTC+2, Jameson wrote: >> >> The libunwind dependency is very shallow, but you would lose backtraces. >> However, I'm surprised nobody has created that header yet, since the struct >> that I would expect to be the hard part is required for the sigaction libc >> function and is defined at >> http://fxr.watson.org/fxr/source/sys/signal.h?v=OPENBSD#L200 >> <http://www.google.com/url?q=http%3A%2F%2Ffxr.watson.org%2Ffxr%2Fsource%2Fsys%2Fsignal.h%3Fv%3DOPENBSD%23L200&sa=D&sntz=1&usg=AFQjCNH96veTOX30g20SNT2jb6ZaPCi-Fw> >> . >> >>