building libgccjit on Illumos
Neal Sidhwaney
nealsid@gmail.com
Sun Jun 22 16:04:25 GMT 2025
Assembler: libgcov-profiler.c
> "/var/tmp//ccRhaWk5.s", line 36 : Syntax error
> Near line: " data16 leaq __gcov_indirect_call@tlsgd(%rip), %rdi"
> "/var/tmp//ccRhaWk5.s", line 48 : Syntax error
>
These errors above appear to be due to using the SunOS assembler rather
than GNU as. I tried running configure with AS=/usr/gnu/bin/as prepended.
However, it appears that the SunOS assembler continues to be detected. In
the "as" script which is created as part of the build in
$BUILD_DIR_ROOT/gcc/as, the following is present near the top:
# Invoke as, ld or nm from the build tree.
ORIGINAL_AS_FOR_TARGET="/usr/bin/as"
ORIGINAL_LD_FOR_TARGET="/usr/bin/ld"
If I change ORIGINAL_AS_FOR_TARGET to point to gas, it errors out because
-xarch=generic (a SunOS assembler-specific flag, AFAICT) is being passed to
it.
Hope I'm not missing something obvious, and thanks,
Neal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20250622/3c2ee62f/attachment.htm>
More information about the Jit
mailing list