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

Bug#984270: marked as done (onednn: ftbfs with GCC-11)



Your message dated Mon, 03 Jan 2022 17:48:40 +0000
with message-id <E1n4RRo-000IPW-4d@fasolo.debian.org>
and subject line Bug#984270: fixed in onednn 2.2.4+ds-1
has caused the Debian Bug report #984270,
regarding onednn: ftbfs with GCC-11
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
984270: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984270
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:onednn
Version: 2.0+ds-2
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/onednn_2.0+ds-2_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
  389 |         default:        return std::numeric_limits<int>::max();
      |                                     ^~~~~~~~~~~~~~
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:389:52: error: expected primary-expression before ‘int’
  389 |         default:        return std::numeric_limits<int>::max();
      |                                                    ^~~
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:389:52: error: expected ‘;’ before ‘int’
  389 |         default:        return std::numeric_limits<int>::max();
      |                                                    ^~~
      |                                                    ;
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:389:55: error: expected unqualified-id before ‘>’ token
  389 |         default:        return std::numeric_limits<int>::max();
      |                                                       ^
../src/gpu/jit/ngen/ngen_auto_swsb.hpp: In function ‘uint8_t ngen::autoswsb::chooseSBID(ngen::HW, Program&, int32_t, int32_t, const ngen::autoswsb::DependencyTable<false>&, const ngen::autoswsb::DependencyTable<false>&, uint32_t)’:
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1000:39: error: ‘numeric_limits’ is not a member of ‘std’
 1000 |     constexpr int32_t infinite = std::numeric_limits<int32_t>::max();
      |                                       ^~~~~~~~~~~~~~
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1000:61: error: expected primary-expression before ‘>’ token
 1000 |     constexpr int32_t infinite = std::numeric_limits<int32_t>::max();
      |                                                             ^
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1000:64: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1000 |     constexpr int32_t infinite = std::numeric_limits<int32_t>::max();
      |                                                                ^~~
      |                                                                std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from ../src/gpu/jit/ngen/ngen_core.hpp:23,
                 from ../src/gpu/jit/ngen/ngen.hpp:35,
                 from ../src/gpu/jit/ngen/ngen_register_decl.hpp:290,
                 from ../src/gpu/jit/ngen/ngen_register_decl.cpp:17:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from ../src/gpu/jit/ngen/ngen.hpp:36,
                 from ../src/gpu/jit/ngen/ngen_register_decl.hpp:290,
                 from ../src/gpu/jit/ngen/ngen_register_decl.cpp:17:
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1001:27: error: ‘numeric_limits’ is not a member of ‘std’
 1001 |     int32_t bestPE = std::numeric_limits<int32_t>::min();
      |                           ^~~~~~~~~~~~~~
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1001:49: error: expected primary-expression before ‘>’ token
 1001 |     int32_t bestPE = std::numeric_limits<int32_t>::min();
      |                                                 ^
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1001:52: error: ‘::min’ has not been declared; did you mean ‘std::min’?
 1001 |     int32_t bestPE = std::numeric_limits<int32_t>::min();
      |                                                    ^~~
      |                                                    std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from ../src/gpu/jit/ngen/ngen_core.hpp:23,
                 from ../src/gpu/jit/ngen/ngen.hpp:35,
                 from ../src/gpu/jit/ngen/ngen_register_decl.hpp:290,
                 from ../src/gpu/jit/ngen/ngen_register_decl.cpp:17:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from ../src/gpu/jit/ngen/ngen.hpp:36,
                 from ../src/gpu/jit/ngen/ngen_register_decl.hpp:290,
                 from ../src/gpu/jit/ngen/ngen_register_decl.cpp:17:
../src/gpu/jit/ngen/ngen_auto_swsb.hpp: In function ‘void ngen::autoswsb::analyze(ngen::HW, Program&, ngen::autoswsb::BasicBlock&, int)’:
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1077:29: error: ‘numeric_limits’ is not a member of ‘std’
 1077 |     int noPreconsume = std::numeric_limits<int>::min();
      |                             ^~~~~~~~~~~~~~
../src/gpu/jit/ngen/ngen_auto_swsb.hpp:1077:44: error: expected primary-expression before ‘int’
 1077 |     int noPreconsume = std::numeric_limits<int>::min();
      |                                            ^~~
[305/905] /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=120 -DDNNL_DLL -DDNNL_DLL_EXPORTS -DDNNL_ENABLE_MAX_CPU_ISA -DDNNL_X64=1 -DNGEN_CPP11 -DNGEN_NEO_INTERFACE -DNGEN_NO_OP_NAMES -DNGEN_SAFE -DNGEN_WINDOWS_COMPAT -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I../include -Iinclude -I../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdiagnostics-color=always  -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fopenmp -fvisibility-inlines-hidden  -Wall -Wno-unknown-pragmas -w -fvisibility=internal  -fPIC -Wformat -Wformat-security -fstack-protector-strong  -Wmissing-field-initializers  -Wno-strict-overflow  -O2 -g -DNDEBUG -MD -MT src/gpu/CMakeFiles/dnnl_gpu.dir/gpu_impl_list.cpp.o -MF src/gpu/CMakeFiles/dnnl_gpu.dir/gpu_impl_list.cpp.o.d -o src/gpu/CMakeFiles/dnnl_gpu.dir/gpu_impl_list.cpp.o -c ../src/gpu/gpu_impl_list.cpp
[306/905] /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=120 -DDNNL_DLL -DDNNL_DLL_EXPORTS -DDNNL_ENABLE_MAX_CPU_ISA -DDNNL_X64=1 -DNGEN_CPP11 -DNGEN_NEO_INTERFACE -DNGEN_NO_OP_NAMES -DNGEN_SAFE -DNGEN_WINDOWS_COMPAT -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I../include -Iinclude -I../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdiagnostics-color=always  -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fopenmp -fvisibility-inlines-hidden  -Wall -Wno-unknown-pragmas -w -fvisibility=internal  -fPIC -Wformat -Wformat-security -fstack-protector-strong  -Wmissing-field-initializers  -Wno-strict-overflow  -O2 -g -DNDEBUG -MD -MT src/gpu/jit/CMakeFiles/dnnl_gpu_jit.dir/gemm/gen_gemm_kernel_generator.cpp.o -MF src/gpu/jit/CMakeFiles/dnnl_gpu_jit.dir/gemm/gen_gemm_kernel_generator.cpp.o.d -o src/gpu/jit/CMakeFiles/dnnl_gpu_jit.dir/gemm/gen_gemm_kernel_generator.cpp.o -c ../src/gpu/jit/gemm/gen_gemm_kernel_generator.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: onednn
Source-Version: 2.2.4+ds-1
Done: Mo Zhou <lumin@debian.org>

We believe that the bug you reported is fixed in the latest version of
onednn, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 984270@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated onednn package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 03 Jan 2022 12:31:14 -0500
Source: onednn
Architecture: source
Version: 2.2.4+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 984270
Changes:
 onednn (2.2.4+ds-1) unstable; urgency=medium
 .
   [ Gard Spreemann ]
   * Update GCC 11 patch for arm64 (Closes: #984270)
 .
   [ Mo Zhou ]
   * New upstream version 2.2.4+ds
   * Rebase existing patches.
Checksums-Sha1:
 6857e2eb5839d1c92a0ed72a0df201b5965c0913 2301 onednn_2.2.4+ds-1.dsc
 bf846e498d38d7e9f5d1957c7b05e0664aa59372 3607912 onednn_2.2.4+ds.orig.tar.xz
 41916cd70fff0521b23f5ef0b355a227cb528b80 11524 onednn_2.2.4+ds-1.debian.tar.xz
 4aa34358e378a348bd6499711e2676843cddc9c5 8234 onednn_2.2.4+ds-1_source.buildinfo
Checksums-Sha256:
 1faeb7cce363ca5d084739a0d59eeda72583fe2912dc664fa70d3018e9a08944 2301 onednn_2.2.4+ds-1.dsc
 019b856776bc7ccac9f1f1014fdd19616880f2a21e3c04315b2d869af3a291e6 3607912 onednn_2.2.4+ds.orig.tar.xz
 9e10a009dbfe1da81c0f4b9fe6af2f863aad83e3e00b70eed2d88a69341dce8b 11524 onednn_2.2.4+ds-1.debian.tar.xz
 b1e5e380b82b40fa61d71d79f3f4ccb322e1deb0cb82b60fcbff9fc21187635e 8234 onednn_2.2.4+ds-1_source.buildinfo
Files:
 e16e61c43bacdcb930570aeba09d9501 2301 science optional onednn_2.2.4+ds-1.dsc
 a7ddf4ee388d31bb6d7c9caf9ece8c85 3607912 science optional onednn_2.2.4+ds.orig.tar.xz
 ec56a84da0647928f86901803ee6aecc 11524 science optional onednn_2.2.4+ds-1.debian.tar.xz
 d8997e2874c912123b68a99560e65a99 8234 science optional onednn_2.2.4+ds-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmHTMxcRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaooLVxAAnqcmYEN8T8Ki1xRp/tI8y+zzggc3kf/d
KJ9Zocd2fx+ybZvtBHenb3dMyBzCxp6S+kTF5G+ObSyBw0ICF7rFsgeAleHlKJm4
tl8Prl1Gv9sofnsU20926JMovDDcd/KbxH7XsxEpinIbB0CvXx6c/bTrQO3Dlb18
9eZeO/VP/IxzMeXR27AI/UUwG+k4Gg/mQs7+EDr1cMXNXo8yfSjcUYo6TEP+jVL8
t5ugVmPIwX2YCpcVoZ9GS/raLZTgwqhqcm3xCwb6vqBsdiEpBs1iS636gl6ssnlS
Kv8agMXrED0DLsyMe7ya5/gSORGulykXXvJRFTPb3F5esTwFalfn+g1iu3CtmEqj
CELS1jNI20HIi7u6icDX2Q3B4oXqxdoaP+eWH/QMPolI0hXBcNPc81u8/daYTHyz
MBjqDf9g1D97eMYeYUXMSzcT2PXO2YvalUfPPf71auRsLPEldVCZGh5IPFGM1k0g
NL2rFWaPfkbeODIS7u0JdHWyzXtVEq7qdnRdEXLCQXur2YgNKC6O/iqLaBXW4Bd+
BUs1wvNY/eIA3ApjjlUbdQ47NNbuUqeH8iW+k3T8nf7ujTOBT84zruJPVtlAhWkb
6mfjIMkxtiD8LkNCHY+txDlzWFtM8rE/5lz0x9kijeh4RnBoVhzzXFHC70jVSE3m
VyjgvSdXx2A=
=1iHZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: