EPICS Release base 3.14.0alpha1 Known Problems
Building on solaris sparc with GCC
Building with GCC on solaris does not work. The following helps somewhat.
Make the following changes in <base>/configure/os
diff -r1.4 CONFIG.solaris-sparc.solaris-sparc
68,71c68,71
< GCC_STATIC_LDLIBS_YES= -lposix4
< GCC_STATIC_LDLIBS_NO= -lposix4
< G++_STATIC_LDLIBS_YES= -lposix4
< G++_STATIC_LDLIBS_NO= -lposix4
---
> GCC_STATIC_LDLIBS_YES= -lposix4 -lpthread -lthread
> GCC_STATIC_LDLIBS_NO= -lposix4 -lpthread -lthread
> G++_STATIC_LDLIBS_YES= -lposix4 -lpthread -lthread
> G++_STATIC_LDLIBS_NO= -lposix4 -lpthread -lthread
After building with these changes on solaris 8 with gcc version 2.95.2
19991024 and then generating exampleApp the following was observed:
-
example (the example iocCore) seems to work properly. CA clients build
on 3.13 or using SUNWspro work.
-
caExample, the CA client, core dumps. A modified version showed that the
core dump occurs the first time ca_pend_io or ca_pend_event is called
caExample does work correctly with solaris 6 and a different version of
gcc. The problem is under investigation.
GCC debug build
Another recently discovered R3.14 "known problem" is that the following
version of the GNU compiler will not build the alpha release of EPICS w/o
undefined symbols during the link if I specify a debug ( HOST_OPT = NO
)
build. There has for some time been a g++ bug where inline functions
show up undefined during a debug build, and it continues in egcs-2.91.66.
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
I saw this both on Linux and Solaris 6.
Reported by Jeff Hill
base/config - Building 3.13 applications
Instructions were not in the README.htm. A paragraph on R3.13 compatibility
has been added.