CMake unknown argument : Support for 64 bit file systems on Ubuntu 18.04

I’m running into this issue when configuring ParaView master on Ubuntu 18.04 using gcc 8 from synaptic and CMake 3.19.0-rc1. This is a 64-bit system (AMD Ryzen 7 3700X) and I haven’t seen this error in the past with CMake projects. VTK compiles and runs fine BTW. Any help would be appreciated.
Thanks!

The C compiler identification is GNU 8.4.0
 The CXX compiler identification is GNU 8.4.0
 Detecting C compiler ABI info
 Detecting C compiler ABI info - done
 Check for working C compiler: /usr/bin/cc - skipped
 Detecting C compile features
 Detecting C compile features - done
 Detecting CXX compiler ABI info
 Detecting CXX compiler ABI info - done
 Check for working CXX compiler: /usr/bin/c++ - skipped
 Detecting CXX compile features
 Detecting CXX compile features - done
 Setting build type to 'Debug' as none was specified.
 Performing Test HAVE_GCC_ERROR_RETURN_TYPE
 Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
 Looking for a Fortran compiler
 Looking for a Fortran compiler - /usr/bin/gfortran
 CMake Error at /usr/share/cmake-3.19/Modules/CheckSourceRuns.cmake:122 (message):
   Unknown argument:

     Support for 64 bit file systems

 Call Stack (most recent call first):
   /usr/share/cmake-3.19/Modules/CheckCXXSourceRuns.cmake:71 (check_source_runs)
   CMakeLists.txt:123 (check_cxx_source_runs)

 Configuring incomplete, errors occurred!
 See also "/home/wgodoy/workspace/paraview-build/CMakeFiles/CMakeOutput.log".

This looks like a regression in 3.19. Thanks for the report.

Cc: @brad.king @robert.maynard

1 Like

I’ve submitted a fix for the regression here: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5426

And a fix to make ParaView not care about the new behavior anyways: https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4481

@ben.boeckel thanks for the quick response, those are fast fixes. Happy to help from my side. Looking forward to the fixes.