* Package: sci-libs/vtk-9.2.5:0/9.2 * Repository: gentoo * Maintainer: sci@gentoo.org waebbl-gentoo@posteo.net,proxy-maint@gentoo.org * USE: abi_x86_64 all-modules amd64 boost cuda elibc_glibc ffmpeg freetype gdal imaging kernel_linux las logging mpi mysql odbc openmp openvdb pdal postgres python python_single_target_python3_11 qt5 rendering sdl tbb threads tk video_cards_nvidia views vtkm * FEATURES: compressdebug network-sandbox preserve-libs sandbox selinux sesandbox splitdebug userpriv usersandbox * FEATURES='xattr unmerge-orphans unmerge-logs qa-unresolved-soname-deps sesandbox distlocks buildpkg-live split-log binpkg-docompress warn-on-large-env news parallel-fetch unknown-features-warn assume-digests preserve-libs usersandbox binpkg-dostrip sfperms compress-index ipc-sandbox strict sign multilib-strict mount-sandbox split-elog pid-sandbox parallel-install metadata-transfer strict-keepdir config-protect-if-modified splitdebug userpriv protect-owned fixlafiles userfetch usersync selinux fail-clean merge-sync binpkg-logs compressdebug sandbox cgroup candy network-sandbox ebuild-locks' * CFLAGS='-march=znver2 -mtune=znver2 -O2 -pipe -fomit-frame-pointer -fdiagnostics-color=always -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * CXXFLAGS='-march=znver2 -mtune=znver2 -O2 -pipe -fomit-frame-pointer -fdiagnostics-color=always -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * FFLAGS='-march=znver2 -mtune=znver2 -O2 -pipe -fomit-frame-pointer -fdiagnostics-color=always -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * FCFLAGS='-march=znver2 -mtune=znver2 -O2 -pipe -fomit-frame-pointer -fdiagnostics-color=always -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * F77FLAGS='-march=znver2 -mtune=znver2 -O2 -pipe -fomit-frame-pointer -fdiagnostics-color=always -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-O2,--sort-common,--as-needed -Wl,--enable-new-dtags,--hash-style=both -Wl,-z,relro,-z,now' * MAKEOPTS=' -j11 --load-average=11 -j3' * gcc (Gentoo Hardened 12.2.1_p20230428-r1 p2) 12.2.1 20230428 * g++ (Gentoo Hardened 12.2.1_p20230428-r1 p2) 12.2.1 20230428 * GNU ld (Gentoo 2.39 p6) 2.39.0 * Linux win11 6.3.8-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 19 18:39:17 EEST 2023 x86_64 AMD Ryzen 5 4600H with Radeon Graphics AuthenticAMD GNU/Linux sci-libs/vtk: 1 hour, 52 seconds average for 32 merges sci-libs/vtk: 37 minutes, 59 seconds sci-libs/vtk: 10 minutes, 37 seconds sci-libs/vtk: 50 minutes, 50 seconds sci-libs/vtk: 47 minutes, 43 seconds sci-libs/vtk: 36 minutes, 14 seconds sci-libs/vtk: 4 minutes, 7 seconds sci-libs/vtk: 4 minutes, 14 seconds sci-libs/vtk: 27 minutes, 46 seconds sci-libs/vtk: 1 hour, 6 minutes, 34 seconds sci-libs/vtk: 55 minutes, 5 seconds sci-libs/vtk: 55 minutes, 18 seconds sci-libs/vtk: 54 minutes, 27 seconds sci-libs/vtk: 46 minutes sci-libs/vtk: 46 minutes sci-libs/vtk: 3 hours, 34 seconds sci-libs/vtk: 1 hour, 31 minutes, 6 seconds sci-libs/vtk: 2 hours, 35 minutes, 10 seconds sci-libs/vtk: 37 minutes, 40 seconds sci-libs/vtk: 56 minutes, 51 seconds sci-libs/vtk: 56 minutes, 8 seconds sci-libs/vtk: 44 minutes, 17 seconds sci-libs/vtk: 42 minutes, 38 seconds sci-libs/vtk: 1 hour, 22 minutes, 5 seconds sci-libs/vtk: 1 hour, 3 minutes, 24 seconds sci-libs/vtk: 2 hours, 44 minutes, 1 second sci-libs/vtk: 1 hour, 49 minutes, 37 seconds sci-libs/vtk: 1 hour, 18 minutes, 12 seconds sci-libs/vtk: 31 minutes, 6 seconds sci-libs/vtk: 30 minutes, 9 seconds sci-libs/vtk: 40 minutes, 30 seconds sci-libs/vtk: 53 minutes, 57 seconds sci-libs/vtk: 1 hour, 27 minutes, 43 seconds ]0;emerge 16:42:46 2|5 vtk 1:00:43 (root@win11)kemerge 16:42:46 2|5 vtk 1:00:43 (root@win11)\ * Checking for at least 21504 MiB RAM ... [ ok ] * Checking for at least 12288 MiB disk space at "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/temp" ... [ ok ] * Using python3.11 to build * Source directory (CMAKE_USE_DIR): "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5" * Build directory (BUILD_DIR): "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build" * Applying vtk-9.2.2-vtkGeometryFilter-add-missing-mutex-header-file.patch ... [ ok ] * Applying vtk-9.2.2-VTKm-respect-user-CXXFLAGS.patch ... [ ok ] * Applying vtk-9.2.2-link-with-glut-library-for-freeglut.patch ... [ ok ] * Applying vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch ... [ ok ] * Applying vtk-9.2.5-Fix-compilation-error-with-CUDA-12.patch ... [ ok ] * Applying vtk-9.2.5-More-include-cstdint-to-compile-with-gcc13.patch ... [ ok ] * Hardcoded definition(s) removed in ThirdParty/eigen/vtkeigen/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release") * Hardcoded definition(s) removed in ThirdParty/expat/vtkexpat/CMakeLists.txt: * set(CMAKE_BUILD_TYPE NoConfig) # so that accessing CMAKE_*_POSTFIX will * Hardcoded definition(s) removed in ThirdParty/libproj/vtklibproj/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/CMakeLists.txt: * set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose * Using CUDA architecture 'turing' * Source directory (CMAKE_USE_DIR): "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5" * Build directory (BUILD_DIR): "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build" cmake -C /mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LICENSEDIR=share/vtk/licenses -DVTK_ANDROID_BUILD=OFF -DVTK_IOS_BUILD=OFF -DVTK_BUILD_ALL_MODULES=ON -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DVTK_ENABLE_CATALYST=OFF -DVTK_ENABLE_KITS=OFF -DVTK_ENABLE_LOGGING=ON -DVTK_ENABLE_REMOTE_MODULES=OFF -DVTK_FORBID_DOWNLOADS=ON -DVTK_GROUP_ENABLE_Imaging=YES -DVTK_GROUP_ENABLE_Rendering=YES -DVTK_GROUP_ENABLE_StandAlone=YES -DVTK_GROUP_ENABLE_Views=YES -DVTK_GROUP_ENABLE_Web=DEFAULT -DVTK_INSTALL_SDK=ON -DVTK_MODULE_ENABLE_VTK_IOCGNSReader=WANT -DVTK_MODULE_ENABLE_VTK_IOExportPDF=WANT -DVTK_MODULE_ENABLE_VTK_IOLAS=WANT -DVTK_MODULE_ENABLE_VTK_IONetCDF=WANT -DVTK_MODULE_ENABLE_VTK_IOOggTheora=WANT -DVTK_MODULE_ENABLE_VTK_IOOpenVDB=WANT -DVTK_MODULE_ENABLE_VTK_IOSQL=WANT -DVTK_MODULE_ENABLE_VTK_IOPDAL=WANT -DVTK_MODULE_ENABLE_VTK_IOXML=WANT -DVTK_MODULE_ENABLE_VTK_IOXMLParser=WANT -DVTK_MODULE_ENABLE_VTK_RenderingFreeType=WANT -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=WANT -DVTK_MODULE_ENABLE_VTK_cgns=WANT -DVTK_MODULE_ENABLE_VTK_doubleconversion=WANT -DVTK_MODULE_ENABLE_VTK_eigen=WANT -DVTK_MODULE_ENABLE_VTK_expat=WANT -DVTK_MODULE_ENABLE_VTK_fmt=WANT -DVTK_MODULE_ENABLE_VTK_freetype=WANT -DVTK_MODULE_ENABLE_VTK_hdf5=WANT -DVTK_MODULE_ENABLE_VTK_jpeg=WANT -DVTK_MODULE_ENABLE_VTK_jsoncpp=WANT -DVTK_MODULE_ENABLE_VTK_libharu=WANT -DVTK_MODULE_ENABLE_VTK_libproj=WANT -DVTK_MODULE_ENABLE_VTK_libxml2=WANT -DVTK_MODULE_ENABLE_VTK_lz4=WANT -DVTK_MODULE_ENABLE_VTK_lzma=WANT -DVTK_MODULE_ENABLE_VTK_netcdf=WANT -DVTK_MODULE_ENABLE_VTK_nlohmannjson=WANT -DVTK_MODULE_ENABLE_VTK_ogg=WANT -DVTK_MODULE_ENABLE_VTK_pegtl=WANT -DVTK_MODULE_ENABLE_VTK_png=WANT -DVTK_MODULE_ENABLE_VTK_pugixml=WANT -DVTK_MODULE_ENABLE_VTK_sqlite=WANT -DVTK_MODULE_ENABLE_VTK_theora=WANT -DVTK_MODULE_ENABLE_VTK_tiff=WANT -DVTK_MODULE_ENABLE_VTK_utf8=WANT -DVTK_MODULE_ENABLE_VTK_vtkm=WANT -DVTK_MODULE_ENABLE_VTK_zlib=WANT -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF -DVTK_RELOCATABLE_INSTALL=ON -DVTK_SMP_ENABLE_OPENMP=ON -DVTK_SMP_ENABLE_STDTHREAD=ON -DVTK_SMP_ENABLE_TBB=ON -DVTK_UNIFIED_INSTALL_TREE=ON -DVTK_USE_CUDA=ON -DVTK_USE_EXTERNAL=ON -DVTK_USE_MEMKIND=OFF -DVTK_USE_MPI=ON -DVTK_USE_TK=ON -DVTK_USE_X=ON -DVTK_WHEEL_BUILD=OFF -DVTK_WRAP_JAVA=OFF -DVTK_WRAP_PYTHON=ON -DVTK_ENABLE_OSPRAY=OFF -DVTK_MODULE_ENABLE_VTK_DomainsMicroscopy=NO -DVTK_MODULE_ENABLE_VTK_fides=NO -DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS=NO -DVTK_MODULE_ENABLE_VTK_IOADIOS2=NO -DVTK_MODULE_ENABLE_VTK_IOFides=NO -DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=NO -DVTK_MODULE_ENABLE_VTK_RenderingOpenXR=NO -DVTK_MODULE_USE_EXTERNAL_VTK_cli11=OFF -DVTK_MODULE_ENABLE_VTK_InfovisBoost=WANT -DVTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms=WANT -DVTKm_CUDA_Architecture=turing -DVTK_MODULE_ENABLE_VTK_IOFFMPEG=WANT -DVTK_MODULE_ENABLE_VTK_RenderingFFMPEGOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_GeovisGDAL=WANT -DVTK_MODULE_ENABLE_VTK_IOGDAL=WANT -DVTK_MODULE_ENABLE_VTK_IOGeoJSON=WANT -DVTK_MODULE_ENABLE_VTK_ImagingColor=WANT -DVTK_MODULE_ENABLE_VTK_ImagingCore=WANT -DVTK_MODULE_ENABLE_VTK_ImagingFourier=WANT -DVTK_MODULE_ENABLE_VTK_ImagingGeneral=WANT -DVTK_MODULE_ENABLE_VTK_ImagingHybrid=WANT -DVTK_MODULE_ENABLE_VTK_ImagingMath=WANT -DVTK_MODULE_ENABLE_VTK_ImagingMorphological=WANT -DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_ImagingSources=WANT -DVTK_MODULE_ENABLE_VTK_ImagingStatistics=WANT -DVTK_MODULE_ENABLE_VTK_ImagingStencil=WANT -DVTK_MODULE_ENABLE_VTK_RenderingImage=WANT -DVTK_GROUP_ENABLE_MPI=YES -DVTK_MODULE_ENABLE_VTK_IOH5part=WANT -DVTK_MODULE_ENABLE_VTK_IOMPIParallel=WANT -DVTK_MODULE_ENABLE_VTK_IOParallel=WANT -DVTK_MODULE_ENABLE_VTK_IOParallelNetCDF=WANT -DVTK_MODULE_ENABLE_VTK_IOParallelXML=WANT -DVTK_MODULE_ENABLE_VTK_ParallelMPI=WANT -DVTK_MODULE_ENABLE_VTK_h5part=WANT -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF -DVTK_MODULE_ENABLE_VTK_IOMPIImage=WANT -DVTK_MODULE_ENABLE_VTK_ParallelMPI4Py=WANT -DVTK_MODULE_ENABLE_VTK_RenderingParallel=WANT -DVTK_MODULE_ENABLE_VTK_RenderingParallelLIC=WANT -DVTKm_ENABLE_MPI=ON -DVTK_MODULE_ENABLE_VTK_IOMySQL=WANT -DVTK_MODULE_ENABLE_VTK_IOODBC=WANT -DOpenVDB_CMAKE_PATH=/usr/lib64/cmake/OpenVDB -DVTK_MODULE_ENABLE_VTK_IOPostgreSQL=WANT -DPython3_EXECUTABLE=/usr/bin/python3.11 -DVTK_ENABLE_WRAPPING=ON -DVTK_MODULE_ENABLE_VTK_Python=WANT -DVTK_MODULE_ENABLE_VTK_PythonInterpreter=WANT -DVTK_MODULE_ENABLE_VTK_WrappingPythonCore=WANT -DVTK_PYTHON_SITE_PACKAGES_SUFFIX=lib/python3.11/site-packages -DVTK_MODULE_ENABLE_VTK_PythonContext2D=WANT -DCMAKE_INSTALL_QMLDIR=/usr/lib64/qt5/qml -DVTK_QT_VERSION=5 -DVTK_GROUP_ENABLE_Qt:STRING=YES -DVTK_MODULE_ENABLE_VTK_GUISupportQt=WANT -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick=WANT -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=WANT -DVTK_MODULE_ENABLE_VTK_RenderingQt=WANT -DVTK_MODULE_ENABLE_VTK_ViewsQt=WANT -DVTK_ENABLE_OSPRAY=OFF -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS=WANT -DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContext2D=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingCore=WANT -DVTK_MODULE_ENABLE_VTK_RenderingExternal=WANT -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingHyperTreeGrid=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLOD=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLabel=WANT -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib=WANT -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing=WANT -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph=WANT -DVTK_MODULE_ENABLE_VTK_RenderingUI=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolume=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_gl2ps=WANT -DVTK_MODULE_ENABLE_VTK_glew=WANT -DVTK_MODULE_ENABLE_VTK_opengl=WANT -DVTK_USE_SDL2=YES -DVTK_MODULE_ENABLE_VTK_RenderingTk=WANT -DVTK_MODULE_ENABLE_VTK_ViewsContext2D=WANT -DVTK_BUILD_TESTING=OFF -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DVTK_GROUP_ENABLE_Tk=YES -DVTK_MODULE_ENABLE_VTK_ViewsCore=WANT -DVTK_MODULE_ENABLE_VTK_ViewsInfovis=WANT -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore=WANT -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel=WANT -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters=WANT -DVTKm_NO_INSTALL_README_LICENSE=ON -DVTKm_Vectorization=native -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_toolchain.cmake /mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5 loading initial cache file /mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could not use git to determine source version, using version -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success -- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT -- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT - Success CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:751 (message): Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed. Compiler: /opt/cuda/bin/nvcc Build flags: Id flags: --keep;--keep-dir;tmp -v The output was: 1 #$ _NVVM_BRANCH_=nvvm #$ _SPACE_= #$ _CUDART_=cudart #$ _HERE_=/opt/cuda/bin #$ _THERE_=/opt/cuda/bin #$ _TARGET_SIZE_= #$ _TARGET_DIR_= #$ _TARGET_DIR_=targets/x86_64-linux #$ TOP=/opt/cuda/bin/.. #$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice #$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: #$ PATH=/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/temp/python3.11/bin:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin:/opt/cuda/bin #$ INCLUDES="-I/opt/cuda/bin/../targets/x86_64-linux/include" #$ LIBRARIES= "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/opt/cuda/bin/../targets/x86_64-linux/lib" #$ CUDAFE_FLAGS= #$ PTXAS_FLAGS= #$ rm tmp/a_dlink.reg.c #$ gcc -D__CUDA_ARCH_LIST__=520 -E -x c++ -D__CUDACC__ -D__NVCC__ "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=1 -D__CUDACC_VER_BUILD__=105 -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=1 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp4.ii" #$ cudafe++ --c++17 --gnu_version=120201 --display_error_number --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/CMakeFiles/3.26.4/CompilerIdCUDA/CMakeCUDACompilerId.cu" --allow_managed --m64 --parse_templates --gen_c_file_name "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file --module_id_file_name "tmp/CMakeCUDACompilerId.module_id" "tmp/CMakeCUDACompilerId.cpp4.ii" #$ gcc -D__CUDA_ARCH__=520 -D__CUDA_ARCH_LIST__=520 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=1 -D__CUDACC_VER_BUILD__=105 -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=1 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp1.ii" #$ cicc --c++17 --gnu_version=120201 --display_error_number --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name "/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/CMakeFiles/3.26.4/CompilerIdCUDA/CMakeCUDACompilerId.cu" --allow_managed -arch compute_52 -m64 --no-version-ident -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "CMakeCUDACompilerId.fatbin.c" -tused --module_id_file_name "tmp/CMakeCUDACompilerId.module_id" --gen_c_file_name "tmp/CMakeCUDACompilerId.cudafe1.c" --stub_file_name "tmp/CMakeCUDACompilerId.cudafe1.stub.c" --gen_device_file_name "tmp/CMakeCUDACompilerId.cudafe1.gpu" "tmp/CMakeCUDACompilerId.cpp1.ii" -o "tmp/CMakeCUDACompilerId.ptx" #$ ptxas -arch=sm_52 -m64 "tmp/CMakeCUDACompilerId.ptx" -o "tmp/CMakeCUDACompilerId.sm_52.cubin" #$ fatbinary --create="tmp/CMakeCUDACompilerId.fatbin" -64 --cicc-cmdline="-ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 " "--image3=kind=elf,sm=52,file=tmp/CMakeCUDACompilerId.sm_52.cubin" "--image3=kind=ptx,sm=52,file=tmp/CMakeCUDACompilerId.ptx" --embedded-fatbin="tmp/CMakeCUDACompilerId.fatbin.c" #$ gcc -D__CUDA_ARCH__=520 -D__CUDA_ARCH_LIST__=520 -c -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS "-I/opt/cuda/bin/../targets/x86_64-linux/include" -m64 "tmp/CMakeCUDACompilerId.cudafe1.cpp" -o "tmp/CMakeCUDACompilerId.o" #$ nvlink -m64 --arch=sm_52 --register-link-binaries="tmp/a_dlink.reg.c" "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/opt/cuda/bin/../targets/x86_64-linux/lib" -cpu-arch=X86_64 "tmp/CMakeCUDACompilerId.o" -lcudadevrt -o "tmp/a_dlink.sm_52.cubin" --host-ccbin "gcc" #$ fatbinary --create="tmp/a_dlink.fatbin" -64 --cicc-cmdline="-ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 " -link "--image3=kind=elf,sm=52,file=tmp/a_dlink.sm_52.cubin" --embedded-fatbin="tmp/a_dlink.fatbin.c" #$ gcc -D__CUDA_ARCH_LIST__=520 -c -x c++ -DFATBINFILE="\"tmp/a_dlink.fatbin.c\"" -DREGISTERLINKBINARYFILE="\"tmp/a_dlink.reg.c\"" -I. -D__NV_EXTRA_INITIALIZATION= -D__NV_EXTRA_FINALIZATION= -D__CUDA_INCLUDE_COMPILER_INTERNAL_HEADERS__ "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=1 -D__CUDACC_VER_BUILD__=105 -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=1 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -m64 "/opt/cuda/bin/crt/link.stub" -o "tmp/a_dlink.o" #$ g++ -D__CUDA_ARCH_LIST__=520 -m64 -Wl,--start-group "tmp/a_dlink.o" "tmp/CMakeCUDACompilerId.o" "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/opt/cuda/bin/../targets/x86_64-linux/lib" -lcudadevrt -lcudart_static -lrt -lpthread -ldl -Wl,--end-group -o "a.out" /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: tmp/a_dlink.o: in function `__cudaUnregisterBinaryUtil': link.stub:(.text+0xf): undefined reference to `__cudaUnregisterFatBinary' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: tmp/CMakeCUDACompilerId.o: in function `__cudaUnregisterBinaryUtil()': CMakeCUDACompilerId.cudafe1.cpp:(.text+0x104): undefined reference to `__cudaUnregisterFatBinary' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: tmp/CMakeCUDACompilerId.o: in function `__nv_init_managed_rt_with_module(void**)': CMakeCUDACompilerId.cudafe1.cpp:(.text+0x11f): undefined reference to `__cudaInitModule' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: tmp/CMakeCUDACompilerId.o: in function `__sti____cudaRegisterAll()': CMakeCUDACompilerId.cudafe1.cpp:(.text+0x15e): undefined reference to `__cudaRegisterFatBinary' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeCUDACompilerId.cudafe1.cpp:(.text+0x18f): undefined reference to `__cudaRegisterFatBinaryEnd' collect2: error: ld returned 1 exit status # --error 0x1 -- Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test) /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:307 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:134 (enable_language)  -- Configuring incomplete, errors occurred! * ERROR: sci-libs/vtk-9.2.5::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 6607: Called cmake_src_configure * environment, line 3171: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=sci-libs/vtk-9.2.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/vtk-9.2.5::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =vtk-9.2.5 * The complete build log is located at '/var/log/portage/build/sci-libs/vtk-9.2.5:20230620-134241.log'. * The ebuild environment file is located at '/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/temp/environment'. * Working directory: '/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build' * S: '/mnt/850PRO/system/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5'