These seem to be missing? I stenciled this up by copy and pasting…
I did try and run the test suite, but you didn’t add a -L$(objdir) to the flags to pick up the library that was built. You incorrectly test the installed library, which has no relation to the library that should be tested. I’ve installed that library, but, it can’t be found without a -L, as I didn’t install it in any standard place. Anyway, here is what I saw: Executing on host: c++ /home/mrs/net/gcc/gcc/testsuite/../jit/docs/examples/tut01-hello-world.cc -fno-diagnostics-show-caret -fdiagnostics-color=never -fmessage-length=0 -I/home/mrs/net/gcc/gcc/testsuite/../jit -lgccjit -g -Wall -Werror -Wl,--export-dynamic -lm -o tut01-hello-world.cc.exe (timeout = 300) spawn c++ /home/mrs/net/gcc/gcc/testsuite/../jit/docs/examples/tut01-hello-world.cc -fno-diagnostics-show-caret -fdiagnostics-color=never -fmessage-length=0 -I/home/mrs/net/gcc/gcc/testsuite/../jit -lgccjit -g -Wall -Werror -Wl,--export-dynamic -lm -o tut01-hello-world.cc.exe /usr/bin/ld: cannot find -lgccjit collect2: error: ld returned 1 exit status compiler exited with status 1 I hacked in a -L to get the built library found and ran the jit testsuite, no failures. The test suite at -j30 is, well, lopsided. 2 that take forever and the rest finish pretty quickly. Ok?
jit-1.diffs
Description: Binary data