[Bug 2051511] [NEW] Compilation error: absent libgomp.spec with gcc-14-offload-nvptx
Sergio Ĥlutĉin
2051511 at bugs.launchpad.net
Mon Jan 29 10:54:00 UTC 2024
Public bug reported:
Program does not compile using omp offloading
$ LANG=C g++-14 -fopenmp -O3 -fcf-protection=none -fno-stack-protector omp.C -o omp
x86_64-linux-gnu-accel-nvptx-none-gcc-14: fatal error: cannot read spec file 'libgomp.spec': No such file or directory
compilation terminated.
nvptx mkoffload: fatal error: x86_64-linux-gnu-accel-nvptx-none-gcc-14 returned 1 exit status
compilation terminated.
lto-wrapper: fatal error: /usr/libexec/gcc/x86_64-linux-gnu/14//accel/nvptx-none/mkoffload returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gcc-14-offload-nvptx 14-20240126-2ubuntu1
ProcVersionSignature: Ubuntu 6.6.0-14.14.1-lowlatency 6.6.3
Uname: Linux 6.6.0-14-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Mon Jan 29 14:37:09 2024
InstallationDate: Installed on 2022-04-28 (641 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gcc-14
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gcc-14 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
** Attachment added: "C++ source file for test"
https://bugs.launchpad.net/bugs/2051511/+attachment/5743050/+files/omp.C
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-14 in Ubuntu.
https://bugs.launchpad.net/bugs/2051511
Title:
Compilation error: absent libgomp.spec with gcc-14-offload-nvptx
Status in gcc-14 package in Ubuntu:
New
Bug description:
Program does not compile using omp offloading
$ LANG=C g++-14 -fopenmp -O3 -fcf-protection=none -fno-stack-protector omp.C -o omp
x86_64-linux-gnu-accel-nvptx-none-gcc-14: fatal error: cannot read spec file 'libgomp.spec': No such file or directory
compilation terminated.
nvptx mkoffload: fatal error: x86_64-linux-gnu-accel-nvptx-none-gcc-14 returned 1 exit status
compilation terminated.
lto-wrapper: fatal error: /usr/libexec/gcc/x86_64-linux-gnu/14//accel/nvptx-none/mkoffload returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gcc-14-offload-nvptx 14-20240126-2ubuntu1
ProcVersionSignature: Ubuntu 6.6.0-14.14.1-lowlatency 6.6.3
Uname: Linux 6.6.0-14-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Mon Jan 29 14:37:09 2024
InstallationDate: Installed on 2022-04-28 (641 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gcc-14
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2051511/+subscriptions
More information about the foundations-bugs
mailing list