Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908874 - sci-libs/vtk-9.2.5 - undefined reference to `__cudaUnregisterFatBinary'
Summary: sci-libs/vtk-9.2.5 - undefined reference to `__cudaUnregisterFatBinary'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-20 13:54 UTC by Bogdan
Modified: 2024-01-10 12:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (vtk-9.2.5:20230620-134241.log,21.21 KB, text/plain)
2023-06-20 13:55 UTC, Bogdan
Details
emerge --info (emerge.info,20.50 KB, text/plain)
2023-06-20 13:56 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2023-06-20 13:54:18 UTC
Compilation fails with an error

Reproducible: Always

Steps to Reproduce:
Install vtk:
Actual Results:  
link.stub:(.text+0xf): undefined reference to `__cudaUnregisterFatBinary'
and
many other 'undefined reference' errors.

Expected Results:  
Compilation success.

USE="all-modules boost cuda debug -doc -examples ffmpeg freetype gdal imaging -java las logging mpi mysql odbc openmp openvdb pdal postgres python qt5 -qt6 rendering sdl tbb test threads tk video_cards_nvidia views vtkm -web java -python_single_target_python3_10 python_single_target_python3_11 -test" emerge -1 sci-libs/vtk
Comment 1 Bogdan 2023-06-20 13:55:41 UTC
Created attachment 864302 [details]
build.log
Comment 2 Bogdan 2023-06-20 13:56:44 UTC
Created attachment 864303 [details]
emerge --info
Comment 3 Bogdan 2023-06-20 13:58:11 UTC
VTK_CUDA_ARCH="turing"
Comment 4 Leonid Kopylov 2023-09-26 13:05:30 UTC
i guess it's same as https://bugs.gentoo.org/909380
with USE="tbb cuda":
identifier "__builtin_ia32_cvtne2ps2bf16_v16hi" is undefined
Comment 5 Larry the Git Cow gentoo-dev 2024-01-10 12:41:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0167fc77186716079471d895b32b2283ca8b7fc4

commit 0167fc77186716079471d895b32b2283ca8b7fc4
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-07-06 14:26:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 12:41:01 +0000

    sci-libs/vtk: add 9.3.0
    
    Closes: https://bugs.gentoo.org/918898
    Closes: https://bugs.gentoo.org/909520
    Closes: https://bugs.gentoo.org/909380
    Closes: https://bugs.gentoo.org/908874
    Closes: https://bugs.gentoo.org/906264
    Closes: https://bugs.gentoo.org/906075
    Closes: https://bugs.gentoo.org/887505
    Closes: https://bugs.gentoo.org/840776
    Closes: https://bugs.gentoo.org/835659
    
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34432
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   6 +
 sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch       | 136 +++
 ...ix-Java-error-with-integer-enum-overloads.patch |  51 ++
 sci-libs/vtk/files/vtk-9.3.0-java.patch            |  11 +
 sci-libs/vtk/files/vtk-9.3.0-opencascade.patch     |  17 +
 sci-libs/vtk/files/vtk-9.3.0-pdal-2.6.0.patch      |  77 ++
 .../vtk-9.3.0-too-many-initializer-values.patch    |  20 +
 sci-libs/vtk/metadata.xml                          |   1 +
 sci-libs/vtk/vtk-9.3.0.ebuild                      | 909 +++++++++++++++++++++
 9 files changed, 1228 insertions(+)