https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65884
--- Comment #2 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- > /usr/bin/ia64-linux-gnu-ld: libgccjit.so.0.0.1: short data segment overflowed > (0x400a68 >= 0x400000) It's the ia64 way to say that .sdata overflowed 4MB of 'static' constants and variables (which is not that much by modern standards). I think libgccjit.so is only a victim of it's big size. I wonder if it will builds successfully if you configure gcc with -mno-sdata added: $ ./configure CFLAGS="-O2 -g -mno-sdata" CXXFLAGS="-O2 -g -mno-sdata" It should be a safe option that generates slightly less efficient code when accesses gp-relative data. (I'll need some time to set the cross-compiler up locally to test myself)