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

Bug 874096

Summary: dev-libs/rocm-comgr-5.1.3 - /.../comgr-compiler.cpp: error: too many arguments to function call, expected 4, have 5
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:rocm-comgr-5.1.3:20221002-164459.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-02 17:00:09 UTC
too long lines were shrinked:

[78/142] /usr/lib/llvm/14/bin/clang++ -DAMD_COMGR_EXPORT -D_GNU_SOURCE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Damd_comgr_EXPORTS -I/usr/lib/llvm/14/include -I/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/R
[79/142] /usr/lib/llvm/14/bin/clang++ -DAMD_COMGR_EXPORT -D_GNU_SOURCE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Damd_comgr_EXPORTS -I/usr/lib/llvm/14/include -I/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/R
FAILED: CMakeFiles/amd_comgr.dir/src/comgr-compiler.cpp.o 
/usr/lib/llvm/14/bin/clang++ -DAMD_COMGR_EXPORT -D_GNU_SOURCE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Damd_comgr_EXPORTS -I/usr/lib/llvm/14/include -I/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/ROCm-Compi
/var/tmp/portage/dev-libs/rocm-comgr-5.1.3/work/ROCm-CompilerSupport-rocm-5.1.3/lib/comgr/src/comgr-compiler.cpp:609:60: error: too many arguments to function call, expected 4, have 5
  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_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 bf31bd1510c88fb7cc62274835494537f14c97f8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 15:48:43 2022 +0000

    2022-10-02 15:48:43 UTC

emerge -qpvO dev-libs/rocm-comgr
[ebuild  N    ] dev-libs/rocm-comgr-5.1.3
Comment 1 Toralf Förster gentoo-dev 2022-10-02 17:00:10 UTC
Created attachment 815713 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 17:00:11 UTC
Created attachment 815716 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-02 17:00:13 UTC
Created attachment 815719 [details]
dev-libs:rocm-comgr-5.1.3:20221002-164459.log
Comment 4 Toralf Förster gentoo-dev 2022-10-02 17:00:14 UTC
Created attachment 815722 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-02 17:00:16 UTC
Created attachment 815725 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-02 17:00:17 UTC
Created attachment 815728 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-02 17:00:18 UTC
Created attachment 815731 [details]
logs.tar.bz2