Experimental Physics and Industrial Control System
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: [email protected] [[email protected]]
Sent: Saturday, January 28, 2017 4:37 PM
To: [email protected]; Siddons, David; [email protected]
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: [email protected] [mailto:[email protected]] 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: [email protected] [[email protected]] on behalf of D Peter Siddons [[email protected]]
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>
2018
2019
2020
2021
2022
2023
2024
- 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>
2018
2019
2020
2021
2022
2023
2024