Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 874513

Summary: dev-libs/rocr-runtime-4.3.0 - /.../queue.h: error: use of bitwise & with boolean operands [-Werror,-Wbitwise-instead-of-logical]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28706
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:rocr-runtime-4.3.0:20221003-023720.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 08:09:48 UTC
In file included from /var/tmp/portage/dev-libs/rocr-runtime-4.3.0/work/ROCR-Runtime-rocm-4.3.0/src/core/runtime/amd_blit_kernel.cpp:43:
In file included from /var/tmp/portage/dev-libs/rocr-runtime-4.3.0/work/ROCR-Runtime-rocm-4.3.0/src/core/inc/amd_blit_kernel.h:50:
In file included from /var/tmp/portage/dev-libs/rocr-runtime-4.3.0/work/ROCR-Runtime-rocm-4.3.0/src/core/inc/blit.h:48:
In file included from /var/tmp/portage/dev-libs/rocr-runtime-4.3.0/work/ROCR-Runtime-rocm-4.3.0/src/core/inc/agent.h:53:
/var/tmp/portage/dev-libs/rocr-runtime-4.3.0/work/ROCR-Runtime-rocm-4.3.0/src/core/inc/queue.h:76:12: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
    return (type() <= HSA_PACKET_TYPE_BARRIER_OR) & (type() != HSA_PACKET_TYPE_INVALID);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221001-190003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit e89f3623ec9bc8d116dd4e75e08b0f0b5ef2cdbf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 01:02:05 2022 +0000

    2022-10-03 01:02:04 UTC

emerge -qpvO dev-libs/rocr-runtime
[ebuild   R   ] dev-libs/rocr-runtime-5.1.3
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:09:49 UTC
Created attachment 817018 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:09:49 UTC
Created attachment 817021 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:09:50 UTC
Created attachment 817024 [details]
dev-libs:rocr-runtime-4.3.0:20221003-023720.log
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:09:52 UTC
Created attachment 817027 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:09:53 UTC
Created attachment 817030 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:09:54 UTC
Created attachment 817033 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:09:55 UTC
Created attachment 817036 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 08:09:57 UTC
Created attachment 817039 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-12-19 14:00:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e59d3dedf0149693d186ea22a2003fd7abef10c2

commit e59d3dedf0149693d186ea22a2003fd7abef10c2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-12-19 08:01:56 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-12-19 14:00:00 +0000

    dev-libs/rocr-runtime: drop versions 3* and 4*
    
    Closes: https://bugs.gentoo.org/874513
    Closes: https://bugs.gentoo.org/744928
    Closes: https://bugs.gentoo.org/832810
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/rocr-runtime/Manifest                     |  8 ----
 .../rocr-runtime-3.7.0-cmake-install-paths.patch   | 53 ----------------------
 .../rocr-runtime-4.1.0-cmake-install-paths.patch   | 53 ----------------------
 dev-libs/rocr-runtime/rocr-runtime-3.10.0.ebuild   | 47 -------------------
 dev-libs/rocr-runtime/rocr-runtime-3.8.0.ebuild    | 47 -------------------
 dev-libs/rocr-runtime/rocr-runtime-3.9.0.ebuild    | 47 -------------------
 dev-libs/rocr-runtime/rocr-runtime-4.0.0.ebuild    | 47 -------------------
 dev-libs/rocr-runtime/rocr-runtime-4.1.0.ebuild    | 53 ----------------------
 dev-libs/rocr-runtime/rocr-runtime-4.2.0.ebuild    | 46 -------------------
 dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild    | 45 ------------------
 dev-libs/rocr-runtime/rocr-runtime-4.5.2.ebuild    | 45 ------------------
 11 files changed, 491 deletions(-)