Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22165

Getting a segmentation fault when trying to build my GCC backend

$
0
0

I am currently trying to write a GCC backend for a new architecture, but when I try to compile it I get the following error message:

xgcc: internal compiler error: Segmentation fault signal terminated program cc1

The build is configured with the following command:

../gcc/configure --prefix=--prefix=$HOME/GCC-10.0.1 --disable-bootstrap --target=arch_name --enable-languages=c

How would I go about fixing this error so that I can build my backend?

As far as I am aware, I have implemented the target macro's, functions and insn patterns required to get GCC to build.

Sorry that the question is a bit vague, I am not sure what extra information I can provide. If more specific information is needed please let me know and I will edit the question.

Thanks in advance.


Viewing all articles
Browse latest Browse all 22165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>