Page 1 of 1

Sporadic Internal Compiler Errors

Posted: Fri Mar 15, 2019 6:46 am
by rradler
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.

Re: Sporadic Internal Compiler Errors

Posted: Fri Mar 15, 2019 10:30 am
by reox
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...

Re: Sporadic Internal Compiler Errors

Posted: Fri Mar 15, 2019 3:42 pm
by rradler
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

Posted: Sun Mar 17, 2019 7:31 am
by rradler
It turned out to be a hardware problem (defective memory).