Discussion:
epic4/INSTALL vs epic5/INSTALL
James
2008-10-11 08:14:29 UTC
Permalink
In the epic5 INSTALL file[1] exists the text:
o You must not try to compile epic with "gcc -O2" because -O2 will
generate bad code that leads to random crashes. When you use -O2,
gcc assumes the source is conformant to ISO C99's requirements about
alias-safety, and EPIC, being a C90 program, does not conform, so the
result is undefined behavior (which means it crashes randomly.) This
is not a bug in EPIC. You must only compile epic with -O.

This does not exist in the epic4 INSTALL file [2].

As the advice does apply to both, perhaps that paragraph should be added?

[1] http://cvs.epicsol.org/cgi/viewcvs.cgi/epic5/INSTALL
[2] http://cvs.epicsol.org/cgi/viewcvs.cgi/epic4/INSTALL

Loading...