[Bug 2036593] [NEW] Compilation error: absent libgomp.spec with gcc-13-offload-nvptx

Sergio Ĥlutĉin 2036593 at bugs.launchpad.net
Tue Sep 19 11:14:38 UTC 2023


Public bug reported:

I have installed g++-13 and gcc-13-offload-nvptx amd64 packages.
When compiling the program with OMP using g++ with nvidia offloading support i got the error:
x86_64-linux-gnu-accel-nvptx-none-gcc-13: fatal error: cannot read spec file 'libgomp.spec': No such file or directory
The program is compiled without errors with g++-11, g++-12 and g++ from gcc-snapshot.
gcc-11-offload-nvptx, gcc-12-offload-nvptx, and gcc-snapshot have this file in the corresponding directories as
"/usr/lib/gcc/x86_64-linux-gnu/12/accel/nvptx-none/mgomp/libgomp.spec"
but not gcc-13-offload-nvptx.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gcc-13-offload-nvptx 13.2.0-4ubuntu1
ProcVersionSignature: Ubuntu 6.3.0-7.7.1-lowlatency 6.3.5
Uname: Linux 6.3.0-7-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Tue Sep 19 15:00:32 2023
InstallationDate: Installed on 2022-04-28 (509 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gcc-13
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gcc-13 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lunar

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-13 in Ubuntu.
https://bugs.launchpad.net/bugs/2036593

Title:
  Compilation error: absent libgomp.spec with gcc-13-offload-nvptx

Status in gcc-13 package in Ubuntu:
  New

Bug description:
  I have installed g++-13 and gcc-13-offload-nvptx amd64 packages.
  When compiling the program with OMP using g++ with nvidia offloading support i got the error:
  x86_64-linux-gnu-accel-nvptx-none-gcc-13: fatal error: cannot read spec file 'libgomp.spec': No such file or directory
  The program is compiled without errors with g++-11, g++-12 and g++ from gcc-snapshot.
  gcc-11-offload-nvptx, gcc-12-offload-nvptx, and gcc-snapshot have this file in the corresponding directories as
  "/usr/lib/gcc/x86_64-linux-gnu/12/accel/nvptx-none/mgomp/libgomp.spec"
  but not gcc-13-offload-nvptx.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: gcc-13-offload-nvptx 13.2.0-4ubuntu1
  ProcVersionSignature: Ubuntu 6.3.0-7.7.1-lowlatency 6.3.5
  Uname: Linux 6.3.0-7-lowlatency x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: MATE
  Date: Tue Sep 19 15:00:32 2023
  InstallationDate: Installed on 2022-04-28 (509 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  SourcePackage: gcc-13
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-13/+bug/2036593/+subscriptions




More information about the foundations-bugs mailing list