Sporadic Internal Compiler Errors

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
rradler
Posts: 21
Joined: Sun Feb 03, 2019 10:49 am

Sporadic Internal Compiler Errors

Post 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.
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Sporadic Internal Compiler Errors

Post 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...
rradler
Posts: 21
Joined: Sun Feb 03, 2019 10:49 am

Re: Sporadic Internal Compiler Errors

Post 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.
rradler
Posts: 21
Joined: Sun Feb 03, 2019 10:49 am

Re: Sporadic Internal Compiler Errors

Post by rradler »

It turned out to be a hardware problem (defective memory).
Post Reply