Grammar build failure (cc1 takes 17 minutes) #13974
|
I'm having troubles getting one specific grammar to build, and I need help debugging this problem I'm using the latest 25.07 release: I'm building from source: Next I try to fetch and build the grammars: At this point, things seem to hang.
Which is a subprocess of Memory usage for this But this doesn't really tell me much. This problem is 100% reproducible, and it always/only happens with the "gitcommit" grammar. Any ideas how to debug this further? |
Replies: 2 comments 1 reply
|
Update: this grammar does actually build successfully, but it takes 17+ minutes |
|
For me this was just my system running out of memory and the build process being killed by OOM: I think that's why the stderr ouput isn't useful. Just wanted to add this in case anyone else came across the same problem. After closing some of my other programs there was enough memory to compile and the error went away. |
Update: this grammar does actually build successfully, but it takes 17+ minutes