Hi Claes and all,
we are used to use one virtual machine with proview devlopment station for each of our project in order not to let the source code of every project freely available on each one and in my latest machine when I build the application I discover recently that a build force is causing strange error relating to some of proview basis and I never encountered that.
For example, building my application, reveals:
%GSX-I-CCSUCC, Window compiled PLC1P-EQP12-EQP12_Pgm-W-ObjFlt152_24-W
-- Plc window generated PLC1P-EQP12-EQP12_Pgm-W-SENSANA_Fo24-W
** Plc window compiled with errors for x86_linux PLC1P-EQP12-EQP12_Pgm-W-SENSANA_Fo24-W
In file included from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_gdh.h:65:0,
from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_plc_timer.h:53,
from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_io_supervise.h:65,
from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_io_base.h:62,
from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_plc.h:137,
from /usr/pwr55/os_linux/hw_x86/exp/inc/rt_plc_macro.h:48,
from /usr/local/pwrp/xv19444/bld/common/tmp/plc_m000_019_044_001_00116f74.gc:1:
/usr/pwr55/os_linux/hw_x86/exp/inc/rt_errh.h:243:7: error: attempt to use poisoned "errh_LogInfo"
void errh_LogInfo (errh_sLog*, const char *msg, ...);
^
/usr/pwr55/os_linux/hw_x86/exp/inc/rt_errh.h:243:7: error: expected identifier or ‘(’ before ‘errh_LogInfo’
%GSX-F-CCERROR, Error from c compiler or linker
SENSANA is a module of my class volume related to the management of an analog sensor which is working fine on other machine and even on that one all other modules compiles fine and from time to time I got the above.
At each build the error location can be different but often gcc finishes by mentionning rt_plc_macro.h or a segmentation fault as in below example.
How could have I an error in such core component or include file ?
Another example here after:
* Plc window compiled with errors for x86_linux PLC1P-EQP6-EQP6_Pgm-W-ObjFlt146_42-W
/usr/local/pwrp/xv19444/bld/common/tmp/plc_m000_019_044_001_001335fe.gc: In function ‘M000_019_044_001_001335fe_exec’:
/usr/local/pwrp/xv19444/bld/common/tmp/plc_m000_019_044_001_001335fe.gc:23:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
%GSX-F-CCERROR, Error from c compiler or linker
in window PLC1P-EQP6-EQP6_Pgm-W-ObjFlt146_42-W
-- Plc window generated PLC1P-EQP6-EQP6_Pgm-W-ObjFlt146_43-W
-- Plc window compiled for x86_linux with debug PLC1P-EQP6-EQP6_Pgm-W-ObjFlt146_
I don't know how to get rid of theses faults that put the doubt for me on the output of my build and related package generation.
Would you have some advice to provide ?
[EDIT] I just recompile with force the hieracrchy involved in the fault (PLC1P-EQP12) and it's OK (build OK without any warnig or error). It 's look like it's only when I build all volume or node that this kind of failure occurs
Many thanks in advance
Best regards
Snarf