[Pkg-julia-devel] Bug#861486: Bug#861486: Bug#861486: Bug#861486: Bug#861486: julia: FTBFS on mips64el (segmentation fault)

Graham Inggs ginggs at debian.org
Wed May 3 21:44:11 UTC 2017


On 3 May 2017 at 13:17, Aurelien Jarno <aurelien at aurel32.net> wrote:
> The problem only happens when using multiple OpenMP threads, it can be
> workarounded by setting OMP_NUM_THREADS=1.

Thanks for investigating!
Modifying debian/rules as follows did work:

override_dh_link-arch:
        # Create *.so symlinks for dlopen'd libraries in private libdir.
        OMP_NUM_THREADS=1 make -f debian/shlibdeps.mk $(COMMON_FLAGS)
debian/julia.links
        dh_link

> I *guess* therefore that either
> openblas should be built with OpenMP support or that suitesparse should
> not use OpenMP.

Another option is to build Julia on mips64el with blas and lapack
instead of openblas.
This works for mips64el, but makes no difference to the arm64 issue in #861484.



More information about the Pkg-julia-devel mailing list