Power9 Compilation OK, but adding packages fails

I’m trying to install julia from source on a power9 architecture.
The compilation looks like it succeeds, but I can’t add any packages:

(v1.0) pkg> add Flux
   Cloning default registries into /ccs/home/jstrube/.julia/registries
   Cloning registry General from "https://github.com/JuliaRegistries/General.git"

signal (11): Segmentation fault
in expression starting at no file:0
set_ssl_cert_locations at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/error.jl:100
initialize at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:990
Type at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:967
Type at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/config.jl:50 [inlined]
Type at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/types.jl:1340 [inlined]
#CredentialPayload#32 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/types.jl:1350 [inlined]
Type at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/types.jl:1350 [inlined]
#clone#131 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:559
unknown function (ip: 0x3fff53488af7)
jl_fptr_trampoline at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1831
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_invoke at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:56
#clone at ./none:0 [inlined]
#clone#2 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/GitTools.jl:99
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_fptr_trampoline at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1831
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_invoke at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:56
#51 at ./none:0
shred! at ./secretbuffer.jl:184
#registries#50 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:929
jfptr_#registries#50_10026 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/lib/julia/sys.so (unknown line)
jl_invoke at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:42
registries at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:913 [inlined]
macro expansion at ./logging.jl:307 [inlined]
update_registry at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:97
#handle_repos_add!#32 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:607
jfptr_#handle_repos_add!#32_9973 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/lib/julia/sys.so (unknown line)
jl_invoke at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:42
#handle_repos_add! at ./none:0 [inlined]
#add_or_develop#13 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:54
#add_or_develop at ./none:0
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_fptr_trampoline at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1831
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
do_add! at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:709
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_fptr_trampoline at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1831
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_f__apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:556
jl_f__apply_latest at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:594
#invokelatest#1 at ./essentials.jl:697
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_f__apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:556
invokelatest at ./essentials.jl:696
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
do_cmd! at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:603
#do_cmd#33 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:577
jfptr_#do_cmd#33_9769 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/lib/julia/sys.so (unknown line)
jl_invoke at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:42
do_cmd at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:573 [inlined]
#44 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:912
jfptr_#44_9730 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/lib/julia/sys.so (unknown line)
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_f__apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:556
jl_f__apply_latest at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:594
#invokelatest#1 at ./essentials.jl:697 [inlined]
invokelatest at ./essentials.jl:696 [inlined]
run_interface at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2261
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
run_frontend at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:1029
run_repl at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:191
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
macro expansion at ./logging.jl:311 [inlined]
#719 at ./client.jl:342
jfptr_#719_5868 at /autofs/nccs-svm1_home1/jstrube/software/julia-1.0.1/usr/lib/julia/sys.so (unknown line)
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/julia.h:1537 [inlined]
jl_f__apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:556
jl_f__apply_latest at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/builtins.c:594
#invokelatest#1 at ./essentials.jl:697 [inlined]
invokelatest at ./essentials.jl:696 [inlined]
macro expansion at ./logging.jl:308 [inlined]
run_main_repl at ./client.jl:330
exec_options at ./client.jl:242
_start at ./client.jl:421
jl_fptr_args at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:1841
jl_apply_generic at /autofs/nccs-svm1_home1/jstrube/software/source/julia/src/gf.c:2184
jl_apply at /autofs/nccs-svm1_home1/jstrube/software/source/julia/ui/../src/julia.h:1537 [inlined]
true_main at /autofs/nccs-svm1_home1/jstrube/software/source/julia/ui/repl.c:112
main at /autofs/nccs-svm1_home1/jstrube/software/source/julia/ui/repl.c:233
generic_start_main.isra.0 at /lib64/libc.so.6 (unknown line)
__libc_start_main at /lib64/libc.so.6 (unknown line)
Allocations: 996372 (Pool: 996019; Big: 353); GC: 1
Segmentation fault (core dumped)

If anybody succeeded building julia-1.0 on powerpc, please let me know your trick!

This post was temporarily hidden by the community for possibly being off-topic, inappropriate, or spammy.

I don’t understand what that means

He is trolling, just ignore.

Seems like something goes wrong with LibGit2 on that system.There is a similar issue at https://github.com/JuliaLang/julia/issues/17789.