Apparently glibc is dropping libieee.a in the next release. In Fedora
Rawhide, -mieee-fp on i686 results in:
/usr/bin/ld: Cannot find -lieee
Dropping -mieee-fp from csiro.cmake fixes it for me. Also works with glibc
2.25. Not sure about older ones.
diff -up plplot-5.12.0/cmake/modules/csiro.cmake.ieee
plplot-5.12.0/cmake/modules/csiro.cmake
--- plplot-5.12.0/cmake/modules/csiro.cmake.ieee 2017-01-28
18:50:35.000000000 -0700
+++ plplot-5.12.0/cmake/modules/csiro.cmake 2017-12-12 15:05:56.964587720
-0700
@@ -27,17 +27,13 @@ option(WITH_CSA "Enable use of the csa l
# expanded to a lot more cases as we gain platform experience.
set(NAN_CFLAGS ${CMAKE_C_FLAGS})
if(PL_HAVE_QHULL OR WITH_CSA)
- if(CMAKE_SYSTEM_PROCESSOR MATCHES "i[0-9]86")
- set(NAN_CFLAGS "${NAN_CFLAGS} -mieee-fp")
- else(CMAKE_SYSTEM_PROCESSOR MATCHES "i[0-9]86")
- if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
- if(CMAKE_C_COMPILER MATCHES "gcc")
- set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
- else(CMAKE_C_COMPILER MATCHES "gcc")
- set(NAN_CFLAGS "${NAN_CFLAGS} -ieee")
- endif(CMAKE_C_COMPILER MATCHES "gcc")
- endif(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
- endif(CMAKE_SYSTEM_PROCESSOR MATCHES "i[0-9]86")
+ if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
+ if(CMAKE_C_COMPILER MATCHES "gcc")
+ set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
+ else(CMAKE_C_COMPILER MATCHES "gcc")
+ set(NAN_CFLAGS "${NAN_CFLAGS} -ieee")
+ endif(CMAKE_C_COMPILER MATCHES "gcc")
+ endif(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
if(NOT DEFINED NaNAwareCCompiler)
message(STATUS "Check for NaN awareness in C compiler")
try_run(NaNAwareCCompiler COMPILE_RESULT
Fedora doesn't build for alpha, so no idea there.
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane [email protected]
Boulder, CO 80301 https://www.nwra.com/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel