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.

On Fri, Sep 4, 2015 at 6:28 AM Maurizio Tomasi <[email protected]> wrote:

> Update: I made a lot of progress, but now it seems I've got a quite
> serious stopper. Julia depends on libunwind, which seems not to be
> supported under OpenBSD. This seems in turn to be due to a 9-year-old
> OpenBSD bug (http://marc.info/?l=openbsd-bugs&m=114670090311718).
>
> Unless there is a simple way to remove the libunwind dependency, I guess
> this is the best I can do at the moment.
>
> If anybody volunteers to continue this effort, the (possibly incomplete)
> list of packages I had to install before compiling Julia is: bash, blas,
> cblas, coreutils, fftw, g++, g95, gmake, gmp, lapack, libf2c, pcre. After a
> bit of tweaking (mainly to force the Makefile to use the latest commit from
> Rjulia-math and to extend some FreeBSD-related cases to OpenBSD as well),
> the following command compiles the most of Julia (devel branch):
>
>     gmake CC=egcc CXX=eg++ FC=egfortran LDFLAGS="-lm -lg2c" \
>         USE_SYSTEM_BLAS=1 \
>         USE_SYSTEM_FFTW=1 \
>         USE_SYSTEM_GMP=1 \
>         USE_SYSTEM_LAPACK=1 \
>         USE_SYSTEM_LIBM=1 \
>         USE_SYSTEM_PCRE=1
>
> Cheers,
>   Maurizio.
>

Reply via email to