andreadelprete / consim

GNU General Public License v3.0
14 stars 1 forks source link

gcc internal error segmentation fault #17

Closed andreadelprete closed 4 years ago

andreadelprete commented 4 years ago

This issue is just to remember how I fixed the segmentation fault of gcc that I was getting when compiling consim. It was a memory issue: basically the compiler did not have enough memory to compile and so it crashed. To solve the problem I've created a swap memory (4 GB) following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 That's it. This could be useful to somebody else to know, or even just to my future self.