EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Build failure under QNX 6.1
From: David Eisert <[email protected]>
To: [email protected]
Date: Thu, 07 Sep 2006 16:45:29 -0500
I am trying to build 3.14.8.2 on QNX 6.1 (GCC version 2.95.2). We are currently running our control system
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



Replies:
Re: Build failure under QNX 6.1 Andrew Johnson

Navigate by Date:
Prev: Re: StripTool2_5_10_0 display of waveform records? Lawrence T. Hoff
Next: Re: Build failure under QNX 6.1 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: A question concerning rset->special() Benjamin Franksen
Next: Re: Build failure under QNX 6.1 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·