[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 Tue, 23 Nov 2021 15:49:04 +0000
with message-id <E1mpY2a-00045p-Ps@fasolo.debian.org>
and subject line Bug#984270: fixed in onednn 2.2.2+ds-3
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.2+ds-3
Done: Andreas Tille <tille@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.
Andreas Tille <tille@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: Tue, 23 Nov 2021 15:11:48 +0100
Source: onednn
Architecture: source
Version: 2.2.2+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 984270
Changes:
 onednn (2.2.2+ds-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ Gard Spreemann ]
   * Add patch to fix building with GCC 11. (Closes: #984270)
 .
   [ Andreas Tille ]
   * Standards-Version: 4.6.0
   * Update symbols file
Checksums-Sha1:
 3a8d4afb3973488d7afc94e369c2782f402bce80 2301 onednn_2.2.2+ds-3.dsc
 a324318fc2ac845343ab8410bcec8d67d183a4f4 11360 onednn_2.2.2+ds-3.debian.tar.xz
 2f1b663fe7a5a961e80a8d174460d52be7adf18d 9273 onednn_2.2.2+ds-3_amd64.buildinfo
Checksums-Sha256:
 f822581871e0cab97d9c737bac13649bb56ca0f545f5c3b19362fbff7f1c3a7e 2301 onednn_2.2.2+ds-3.dsc
 7f17818fea00e0fc3148f7e205413d7c485978649f140fdc6285db939af3719c 11360 onednn_2.2.2+ds-3.debian.tar.xz
 ad1b54df1adad55ae06eb56c3e94d7150c060a1b2c382c555770a74e1c0cbae1 9273 onednn_2.2.2+ds-3_amd64.buildinfo
Files:
 4818d06032c04e16aaa0891bfe94514c 2301 science optional onednn_2.2.2+ds-3.dsc
 09aec9718a322d79480d04501d6e2ae4 11360 science optional onednn_2.2.2+ds-3.debian.tar.xz
 1af7182a5504ffa55f1076e2b450007b 9273 science optional onednn_2.2.2+ds-3_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmGdCcERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHdkA/+Ixr7ZGffzk93hLrETC4FvKDN1A9jw3/+
aIYUdeK745vMjX0ePTK1jN8NPOvh7No0x0Bwx57b/l7oxPT790H9gVQKKwzc4aO4
B0lSsI00lMUBzTu6DYkn2+KgxYZSuOuOzMkG8cM/42YKnB7fcgFVdFczqDrCmGiJ
uGoTE6Tus7hKjchz681ozBJdh8W13+IB2I9o5xK56Jr7SB2xV/W8xeZpCZ5aewY6
RX3D9i5j+434sfaOhVgm3bgozZWKJG1ih2+zaoOIaL+JOB5U30tTCuSDLGS4PvQ2
QCFIfc+Saop1ayFUufbBSCMEoQWHnV73Retk5Q28hCYEqNdD5LXlqF2E6nW696NA
EMdu95CMayIuVmfkFXdqB5kI9IMYJovIxHY74E55fYMrZVvTAo6buMzIKaVS0ZKL
cBr3d2paGNQCwNH909Slj2e2/9aYEdJV3//ycfoPQT3Q5nJRC6EeFOGq+d2ef1o/
nq2mZGoAB94XymtclCKlsuudgfnoi6lNGWpSfvrUFoMRKHKhLhpRvlOeEzcSCBc0
1uGlwHgfn0bNLr9cO4JhSEbgHeOwtYzyKBlLuxdkL4ElpnZ7H10NjeoSLnZfwrA8
yMeYx4suct1cnNaz97yACe07pV5QoHvxbdHghgLHV3/gEfJMVWMVXiPcyFzFiDk7
Gz7iQGvK5GQ=
=idHx
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: