[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1065598: gcc-13-offload-nvptx: openmp offload compile fails due to missing libgomp.spec



Package: gcc-13-offload-nvptx
Version: 13.2.0-18
Severity: grave
Justification: renders package unusable

Dear Maintainer,

due to a different organisation in file installation with respect to gcc-12-offload-nvptx, compiling code to offload openmp to nvptx fails with the following:
x86_64-linux-gnu-accel-nvptx-none-gcc-13: 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-13 returned 1 exit status
compilation terminated.
lto-wrapper: fatal error: /usr/libexec/gcc/x86_64-linux-gnu/13//accel/nvptx-none/mkoffload returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed

While gcc-12-offload-nvptx installed executables, includes, and libs under /usr/lib/gcc/x86_64-linux-gnu/12/accel/nvptx-none, and found them, gcc-13-offload-nvptx does not appear to install them anywhere, nor to depend on any other separate package that does. This effectively renders the package unusable. While the gcc-12 offload still works, gcc-13 is now the default compiler on sid, meaning that trying to compile openmp to offload to nvptx with the default compiler fails.

Thanks in advance, best regards
Giacomo Mulas


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.7-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-13-offload-nvptx depends on:
ii  gcc-13                 13.2.0-18
ii  gcc-13-base            13.2.0-18
ii  libc6                  2.37-15.1
ii  libc6-dev              2.37-15.1
ii  libgmp10               2:6.3.0+dfsg-2+b1
ii  libgomp-plugin-nvptx1  14-20240303-1
ii  libmpc3                1.3.1-1+b2
ii  libmpfr6               4.2.1-1+b1
ii  libzstd1               1.5.5+dfsg2-2
ii  nvptx-tools            0.20230904-1
ii  zlib1g                 1:1.3.dfsg-3.1

gcc-13-offload-nvptx recommends no packages.

gcc-13-offload-nvptx suggests no packages.

-- no debconf information


Reply to: