Relocation issue during create_sysimage() of large libraries of code (Flux, FastAI, Cairo)

julia-1.9.3 on ibm power9 ppc64le

I successfully created a sysimage with Flux, FastAI, … but can’t incrementally add CairoMakie due to relocation error. Working is 821MB large.


/tmp/jl_uxK58XMbaX.o(text.o): in function japi1_setproperty!_112736': ./Base.jl:38:(.text+0x20000b8): relocation truncated to fit: R_PPC64_REL24 (stub) against symbol jl_f_fieldtype’ defined in .text section in /mnt/…/notebooks/julia/julia-1.9.3/lib/julia/
./Base.jl:38:(.text+0x20000e0): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

Is there a known workaround ?
Is it possible to pass -mlong-call option to compiler ? sysimage_build_args=Cmd(["-mlong-calls"]) is not working…