Experimental Physics and
| |||||||||||||||
|
under QNX. The migration plan is to have EPICS and our current control software running side by side in our IOCs. Unfortunately the build is failing in resourceLib.h. I noticed that the code near the error has a problem on some systems and it has been conditionally removed. # if ! defined (__GNUC__) || __GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 92 ) const unsigned oldTableSize = this->pTable ? 1 << this->logBaseTwoTableSize : 0; # endif ... // Run the destructors explicitly. Currently this destructor is a noop. // The Tornado II compiler and RedHat 6.2 will not compile ~tsSLList<T>() but // since its a NOOP we can find an ugly workaround # if ! defined (__GNUC__) || __GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 92 ) for ( i = 0; i < oldTableSize; i++ ) { this->pTable[i].~tsSLList<T>(); } # endif Removing this code does not fix the error. I am building it using the linux-x86 host architecture. So far only small changes have been needed. QNX is supposed to be POSIX compliant. Any ideas? Dave Eisert /usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_ -D__GCC_BUILTIN -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -an si -O3 -Wall -g -fPIC -I. -I.. -I../../../src/libCom/bucketLib -I../. ./../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I ../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/lib Com/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/l ibCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../. ./src/libCom/gpHash -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/task wd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/o s/Linux -I../../../include ../../../src/libCom/fdmgr/fdmgr.cpp ../../../src/libCom/cxxTemplates/resourceLib.h: In method `bool resTable<timerFo rOldFdmgr,chronIntId>::setTableSizePrivate(unsigned int)': ../../../src/libCom/cxxTemplates/resourceLib.h:645: instantiated from `resTabl e<timerForOldFdmgr,chronIntId>::add(timerForOldFdmgr &)' ../../../src/libCom/fdmgr/fdmgr.cpp:102: instantiated from here ../../../src/libCom/cxxTemplates/resourceLib.h:607: Internal compiler error. ../../../src/libCom/cxxTemplates/resourceLib.h:607: Please submit a full bug rep ort. ../../../src/libCom/cxxTemplates/resourceLib.h:607: See <URL:http://www.gnu.org/ software/gcc/faq.html#bugreport> for instructions. make[3]: *** [fdmgr.o] Error 1 make[3]: Leaving directory `/home/Epics/base-3.14.8.2/src/libCom/O.linux-x86' make[2]: *** [install.linux-x86] Error 2 make[2]: Leaving directory `/home/Epics/base-3.14.8.2/src/libCom' make[1]: *** [libCom.install] Error 2 make[1]: Leaving directory `/home/Epics/base-3.14.8.2/src' make: *** [src.install] Error 2
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |