Hi,
when I compile FreeCAD from the sources I get sporadic internal compiler errors (I am using Arch Linux with gcc (GCC) 8.2.1 20181127). With sporadic I mean that it does not happen always and not with the same file. Usually make will fail at some point and when I restart the build process it will compile that file just fine.
Does anybody have similar problems? Might this be a hardware problem with my computer? It runs very stable but it is quite old.
Sporadic Internal Compiler Errors
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Sporadic Internal Compiler Errors
I had such issues when the PC would go OOM.
Do you compile on multiple cores at the same time, i.e. make -jX? Sometimes those problems went away when using a single core only...
Do you compile on multiple cores at the same time, i.e. make -jX? Sometimes those problems went away when using a single core only...
Re: Sporadic Internal Compiler Errors
I have done single core compilations so far. I have now tried multi core and things don't change much. I will try it on my laptop (also has Arch installed). If FreeCAD compiles wouthout that errors there, I'll buy a new desktop. My present one is a 10 years old AMD Phenom II machine. Since it was sufficient for me I had no motivation to get a new one.
Re: Sporadic Internal Compiler Errors
It turned out to be a hardware problem (defective memory).