[Pkg-julia-devel] build failure on ppc64el

Norbert Preining norbert at preining.info
Fri Jan 8 03:06:52 GMT 2021


Ok, I found that this has been discussed upstream Julia, and is a bug in
LLVM 9 on ppc.

Julia upstream fixes that by using their own patched llvm, see
	https://github.com/JuliaLang/julia/pull/35477

Thus, I see the only option to disable ppc64el in the archs completely
until we can switch to llvm 11 with the next release of julia.

Any comments on that?

Best

Norbert

On Wed, 30 Dec 2020, Norbert Preining wrote:
> Hi all,
> 
> it seems that switching to LLVM 9 (Rc bug to depend on llvm 10) has
> introduced a new failure with ppc64el:
> 
> Generating precompile statements... 1878 generated in 179.445970 seconds (overhead 114.237436 seconds)
> 
> *** from [1]
> signal (11): Segmentation fault
> in expression starting at none:0
> unknown function (ip: 0x7fff88d6c1f0)
> _ZN4llvm10MCStreamer6FinishEv at /usr/lib/powerpc64le-linux-gnu/libLLVM-9.so.1 (unknown line)
> _ZN4llvm10AsmPrinter14doFinalizationERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-9.so.1 (unknown line)
> unknown function (ip: 0x7fff88c982ff)
> _ZN4llvm13FPPassManager14doFinalizationERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-9.so.1 (unknown line)
> _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-9.so.1 (unknown line)
> _ZN4llvm6legacy11PassManager3runERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-9.so.1 (unknown line)
> operator() at ./src/./src/aotcompile.cpp:536 [inlined]
> jl_dump_native at ./src/./src/aotcompile.cpp:572
> Allocations: 152628342 (Pool: 152578342; Big: 50000); GC: 125
> Segmentation fault
> ***
> 
> Anyone having seen this, any suggestion besides disabling builds on
> ppc64el?
> 
> All the best for 2021!!!
> 
> Best
> 
> Norbert
> 
> [1] https://buildd.debian.org/status/fetch.php?pkg=julia&arch=ppc64el&ver=1.5.3%2Bdfsg-3&stamp=1608884006&raw=0
> 
> 
> --
> PREINING Norbert                              https://www.preining.info
> Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> 
> _______________________________________________
> Pkg-julia-devel mailing list
> Pkg-julia-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-julia-devel
Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-julia-devel mailing list