Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864085 - dev-libs/rocm-comgr-5.1.3 - /.../comgr-compiler.cpp: error: cannot convert llvm::raw_ostream to bool
Summary: dev-libs/rocm-comgr-5.1.3 - /.../comgr-compiler.cpp: error: cannot convert ll...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-06 16:54 UTC by Toralf Förster
Modified: 2022-08-27 01:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.11 KB, text/plain)
2022-08-06 16:54 UTC, Toralf Förster
Details
dev-libs:rocm-comgr-5.1.3:20220806-162917.log (dev-libs:rocm-comgr-5.1.3:20220806-162917.log,52.28 KB, text/plain)
2022-08-06 16:54 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,121.72 KB, application/x-bzip)
2022-08-06 16:55 UTC, Toralf Förster
Details
environment (environment,102.26 KB, text/plain)
2022-08-06 16:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,44.75 KB, application/x-bzip)
2022-08-06 16:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.18 KB, application/x-bzip)
2022-08-06 16:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-06 16:54:57 UTC
/usr/lib/llvm/14/include/llvm/IR/ModuleSummaryIndex.h:1175:73: warning: member llvm::ModuleSummaryIndex::Alloc is used uninitialized [-Wuninitialized]
 1175 |       : HaveGVs(HaveGVs), EnableSplitLTOUnit(EnableSplitLTOUnit), Saver(Alloc),
      |                                                                         ^~~~~
/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/ROCm-CompilerSupport-rocm-5.1.3/lib/comgr/src/comgr-compiler.cpp: In function amd_comgr_status_t COMGR::linkWithLLD(llvm::ArrayRef<const char*>, llvm::raw_ostream&, llvm::raw_ostream&):
/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/ROCm-CompilerSupport-rocm-5.1.3/lib/comgr/src/comgr-compiler.cpp:609:41: error: cannot convert llvm::raw_ostream to bool
  609 |   bool LLDRet = lld::elf::link(ArgRefs, LogS, LogE, false, false);
      |                                         ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220725-030525

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1
  [2]   rust-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
4)	Eclipse Temurin JRE 8.332_p09 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-8 
  [4]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit edcd53ef9e26e4d20d7e36c40af6e489822d5eb7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 6 16:02:02 2022 +0000

    2022-08-06 16:02:02 UTC

emerge -qpvO dev-libs/rocm-comgr
[ebuild     U ] dev-libs/rocm-comgr-5.1.3 [5.0.2]
Comment 1 Toralf Förster gentoo-dev 2022-08-06 16:54:58 UTC
Created attachment 798343 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-06 16:54:59 UTC
Created attachment 798346 [details]
dev-libs:rocm-comgr-5.1.3:20220806-162917.log
Comment 3 Toralf Förster gentoo-dev 2022-08-06 16:55:00 UTC
Created attachment 798349 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-08-06 16:55:02 UTC
Created attachment 798352 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-06 16:55:03 UTC
Created attachment 798355 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-06 16:55:04 UTC
Created attachment 798358 [details]
logs.tar.bz2
Comment 7 myoung008 2022-08-27 01:48:48 UTC
I had this error.  LLVM, clang, etc. versions 13 AND 14 were installed.  lld 13 was installed but not 14.  After removing lld-13 and installing lld-14, rocm-comgr-5.1.3 compiles.