Problem
I am compiling some C++ code and I get the message:
bus error or something nasty like that Cause
This cfront message is emitted when an internal error such as an
invalid memory reference is made. It is a "catch-all" message for
compiler aborts. Unless there is a serious hardware problem, the
same source program should continually fail with the same error
message. If there is a hardware problem, such as a faulty CPU, the
program could fail with this message on some occasions, and yet
compile successfully on other occasions.Other possible causes include multiply-nested include files and use of features not supported by cfront 3.02.
Solution
Check to see if the program in question will compile on another hardware platform. If it does, it is likely that a hardware problem on the machine generated the error. If the hardware is not suspect, see if there are any nested include files and if so, try to reference each include file directly for testing purposes.