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: RE: epics 3.12.4 rebuild
From: "Siddons, David" <siddons@bnl.gov>
To: "freddie.akeroyd@stfc.ac.uk" <freddie.akeroyd@stfc.ac.uk>, "rivers@cars.uchicago.edu" <rivers@cars.uchicago.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Sun, 29 Jan 2017 01:12:39 +0000
HI Freddie,
   That did help, thanks. I also had to change isnan(0) to isnan(0.0) in epicsCalcTest.cpp; similarly for isinf(0.0). Then the build completed.
Pete.

________________________________________
From: freddie.akeroyd@stfc.ac.uk [freddie.akeroyd@stfc.ac.uk]
Sent: Saturday, January 28, 2017 4:37 PM
To: rivers@cars.uchicago.edu; Siddons, David; tech-talk@aps.anl.gov
Subject: RE: epics 3.12.4 rebuild

If it is not possible/convenient to upgrade, you could try this fix on your existing setup  http://www.aps.anl.gov/epics/tech-talk/2016/msg00754.php

Regards,

Freddie

-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Mark Rivers
Sent: 28 January 2017 20:49
To: D Peter Siddons; EPICS
Subject: RE: epics 3.12.4 rebuild

I would suggest trying 3.14.12.6 or 3.15.5.  We are now running 3.15.5 on our beamlines and we are happy with it.  We are running gcc 4.8.5 not 5.4.0.

Mark

________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of D Peter Siddons [siddons@bnl.gov]
Sent: Saturday, January 28, 2017 1:54 PM
To: EPICS
Subject: epics 3.12.4 rebuild

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?



References:
epics 3.12.4 rebuild D Peter Siddons
RE: epics 3.12.4 rebuild Mark Rivers
RE: epics 3.12.4 rebuild freddie.akeroyd

Navigate by Date:
Prev: RE: epics 3.12.4 rebuild freddie.akeroyd
Next: Question about CSS plot refresh lzf neu
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: epics 3.12.4 rebuild freddie.akeroyd
Next: Question about CSS plot refresh lzf neu
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 ·