Unable to build libgccjit

Egor Sozonov egor.sozonov.09@gmail.com
Tue Apr 8 10:18:35 GMT 2025


Hello, I'm having trouble building libgccjit from source.

I'm following the docs at
https://gcc.gnu.org/onlinedocs/jit/internals/index.html
Running the command from the GCC 14.0.2 source folder (on Arch Linux):

cd build
> ../gcc/configure  \
>     --prefix=/home/username/software/myGcc \
>     --enable-checking=release --enable-languages=jit,c++
> --disable-bootstrap \
>     --program-suffix=my


Firstly, Configure doesn't recognize one of the options:

> configure: WARNING: unrecognized options: --disable-bootstrap

Secondly, Make errors out with

> make: *** No rule to make target
'../build-x86_64-linux-gnu/libiberty/libiberty.a', needed by
'build/genmodes'.  Stop.

Looks like the build instructions are out of date. Could you please share
the commands you use to build libgccjit.so from source successfully?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20250408/dbbc4c1f/attachment.htm>


More information about the Jit mailing list