Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866701 - dev-util/nvidia-cuda-sdk-11.5.1:0/11.5.1 - /.../ld: .../libfreeimage.so: undefined reference to std::_throw_bad_array_new_length()
Summary: dev-util/nvidia-cuda-sdk-11.5.1:0/11.5.1 - /.../ld: .../libfreeimage.so: unde...
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: PMASKED
Depends on:
Blocks:
 
Reported: 2022-08-26 14:47 UTC by Toralf Förster
Modified: 2022-11-19 03:54 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.83 KB, text/plain)
2022-08-26 14:47 UTC, Toralf Förster
Details
dev-util:nvidia-cuda-sdk-11.5.1:20220825-232343.log.bz2 (dev-util:nvidia-cuda-sdk-11.5.1:20220825-232343.log.bz2,117.78 KB, application/x-bzip)
2022-08-26 14:47 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,124.25 KB, application/x-bzip)
2022-08-26 14:48 UTC, Toralf Förster
Details
environment (environment,98.22 KB, text/plain)
2022-08-26 14:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,52.10 KB, application/x-bzip)
2022-08-26 14:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-26 14:47:56 UTC
too long lines were shrinked:

#$ rm /var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp/tmpxft_000050ec_00000000-4_freeImageInteropNPP_dlink.fatbin
#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/10.4.0"/gcc -D__CUDA_ARCH_LIST__=350 -c -x c++ -DFATBINFILE="\"/var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp/tmpxft_000050ec_00000000-4_freeImageInteropNPP_dlink.fatbin.c\"" -DREGISTERLINKBINARYFILE="\"/var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp
#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/10.4.0"/g++ -D__CUDA_ARCH_LIST__=350 -pipe -march=native -fno-diagnostics-color -O2 -O2 -m64 -Wl,--start-group "/var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp/tmpxft_000050ec_00000000-6_freeImageInteropNPP_dlink.o" "freeImageInteropNPP.o" -Xlinker -O1 -Xli
#$ ptxas -arch=sm_37 -m64  "/var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp/tmpxft_0000477e_00000000-14_radixSortThrust.compute_37.ptx"  -o "/var/tmp/portage/dev-util/nvidia-cuda-sdk-11.5.1/temp/tmpxft_0000477e_00000000-20_radixSortThrust.compute_37.cubin"  > /var/tmp/portage/dev-util/nvidia-c
/usr/lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib64/libfreeimage.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status
# --error 0x1 --

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220817-010005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.4.0
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.15_p10 [openjdk-11]
3)	OpenJDK 17.0.3_p7 [openjdk-17]
4)	OpenJDK 8.332_p09 [openjdk-8]
5)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
7)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
8)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-8 
  [3]   openjdk-11 
  [4]   openjdk-17 
  [5]   openjdk-bin-8 
  [6]   openjdk-bin-11 
  [7]   openjdk-bin-17  system-vm
  [8]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 423848af41fff14085a438fac7d50b1b1ea10257
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 25 22:02:20 2022 +0000

    2022-08-25 22:02:19 UTC

emerge -qpvO dev-util/nvidia-cuda-sdk
[ebuild  N    ] dev-util/nvidia-cuda-sdk-11.5.1  USE="doc examples (-cuda) -debug -mpi -opencl"
Comment 1 Toralf Förster gentoo-dev 2022-08-26 14:47:57 UTC
Created attachment 801103 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-26 14:47:58 UTC
Created attachment 801106 [details]
dev-util:nvidia-cuda-sdk-11.5.1:20220825-232343.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-26 14:48:00 UTC
Created attachment 801109 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-08-26 14:48:02 UTC
Created attachment 801112 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-26 14:48:03 UTC
Created attachment 801115 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2022-10-18 18:27:48 UTC
The bug has been referenced in the following commit(s):

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

commit d836cd44c1b06bac0d1ad99f8dd9064c400f5312
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-18 18:27:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-18 18:27:37 +0000

    profiles: last-rite dev-util/nvidia-cuda-sdk
    
    Bug: https://bugs.gentoo.org/722092
    Bug: https://bugs.gentoo.org/749900
    Bug: https://bugs.gentoo.org/762169
    Bug: https://bugs.gentoo.org/840656
    Bug: https://bugs.gentoo.org/845381
    Bug: https://bugs.gentoo.org/858392
    Bug: https://bugs.gentoo.org/866701
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-11-19 03:54:57 UTC
The bug has been closed via the following commit(s):

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

commit aac3cd55032f85ba5a13cf05b631b301d3370c60
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-11-19 03:54:28 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-11-19 03:54:28 +0000

    dev-util/nvidia-cuda-sdk: treeclean
    
    Closes: https://bugs.gentoo.org/722092
    Closes: https://bugs.gentoo.org/749900
    Closes: https://bugs.gentoo.org/762169
    Closes: https://bugs.gentoo.org/840656
    Closes: https://bugs.gentoo.org/845381
    Closes: https://bugs.gentoo.org/858392
    Closes: https://bugs.gentoo.org/866701
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/nvidia-cuda-sdk/Manifest                  |   1 -
 dev-util/nvidia-cuda-sdk/metadata.xml              |  12 --
 .../nvidia-cuda-sdk/nvidia-cuda-sdk-11.5.1.ebuild  | 140 ---------------------
 profiles/package.mask                              |   6 -
 4 files changed, 159 deletions(-)