This article explains what to do if an incompatible version of the system assembler is invoked.
Problem:
We are receiving a 114 error when running an executable build using the cob command. A truss trace of executable shows the error Incurred fault #6 FLTBOUNDS and the failing executable is a custom created version of the run time system:
cob -e "" -x -o ./myrts
This error occurs because an incompatible version of the the system assembler is being invoked. To ensure that the correct version of the 'as' command is being used, look at the file $COBDIR/docs/env.txt. In this file the expected assembler version is specified along with the command that can be used to get the version information. Compare the assembler version information on the failing system with the version identified in $COBDIR/docs/env.txt.
In some cases there is more than one 'as' command on your system, therefore it is important to place the directory name for the correct version on the PATH environment variable and that this location be placed before the location of any other possible 'as' version.