Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: epics 3.12.4 rebuild
From: D Peter Siddons <siddons@bnl.gov>
To: EPICS <tech-talk@aps.anl.gov>
Date: Sat, 28 Jan 2017 14:54:09 -0500
I just had a reason to re-compile my EPICS distribution, and it failed. It is 3.14.12.4, and I am running Ubunti 16.04 LTS, using gcc version 5.4.0. Here is the error:

make[3]: Entering directory '/home/peter/epics/base-3.14.12.4/src/libCom/test/O.linux-x86_64'

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64      -MMD -I. -I../O.Common -I. -I.. -I../../../../include/os/Linux -I../../../../include        ../epicsCalcTest.cpp
../epicsCalcTest.cpp: In function ‘int main(int, char**)’:
../../../../include/os/Linux/epicsMath.h:22:21: error: non-floating-point argument in call to function ‘__builtin_isfinite’
 #  define finite(x) isfinite(x)
                     ^
../epicsCalcTest.cpp:102:40: note: in definition of macro ‘testExpr’
 #define testExpr(expr) testCalc(#expr, expr);
                                        ^
../epicsCalcTest.cpp:314:14: note: in expansion of macro ‘finite’
     testExpr(finite(0));
              ^
../epicsCalcTest.cpp:328:14: error: non-floating-point argument in call to function ‘__builtin_isinf_sign’
     testExpr(isinf(0));
              ^
../epicsCalcTest.cpp:102:40: note: in definition of macro ‘testExpr’
 #define testExpr(expr) testCalc(#expr, expr);
                                        ^
../epicsCalcTest.cpp:332:14: error: non-floating-point argument in call to function ‘__builtin_isnan’
     testExpr(isnan(0));
              ^
../epicsCalcTest.cpp:102:40: note: in definition of macro ‘testExpr’
 #define testExpr(expr) testCalc(#expr, expr);
                                        ^
../../../../configure/RULES_BUILD:209: recipe for target 'epicsCalcTest.o' failed
make[3]: *** [epicsCalcTest.o] Error 1
make[3]: Leaving directory '/home/peter/epics/base-3.14.12.4/src/libCom/test/O.linux-x86_64'
../../../configure/RULES_ARCHS:63: recipe for target 'install.linux-x86_64' failed
make[2]: *** [install.linux-x86_64] Error 2

Any ideas?

Replies:
RE: epics 3.12.4 rebuild Mark Rivers

Navigate by Date:
Prev: Sequencer and Visual Studio 2015 express freddie.akeroyd
Next: RE: epics 3.12.4 rebuild Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Sequencer and Visual Studio 2015 express Andrew Johnson
Next: RE: epics 3.12.4 rebuild Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·