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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | epics 3.12.4 rebuild |
From: | D Peter Siddons <[email protected]> |
To: | EPICS <[email protected]> |
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? |