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

Bug 838979

Summary: sys-devel/llvm-14.0.1 - /.../Signals.inc: error: backtrace was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: felix.janda, herrtimson, llvm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 885471    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-devel:llvm-14.0.1:20220417-140635.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-17 16:33:21 UTC
too long lines were shrinked:

FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/llvm-14.0.1/work/llvm-14.0.1_build-abi_x86_64.amd64/lib/Support -I/var/tmp/portage/sys-devel/llvm-14.0.1/work/llvm/lib/Support -I/var/tmp/portage/sys-devel/llvm-14
In file included from /var/tmp/portage/sys-devel/llvm-14.0.1/work/llvm/lib/Support/Signals.cpp:250:
/var/tmp/portage/sys-devel/llvm-14.0.1/work/llvm/lib/Support/Unix/Signals.inc: In function 'void llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)':
/var/tmp/portage/sys-devel/llvm-14.0.1/work/llvm/lib/Support/Unix/Signals.inc:565:13: error: 'backtrace' was not declared in this scope; did you mean 'StackTrace'?
  565 |     depth = backtrace(StackTrace, static_cast<int>(array_lengthof(StackTrace)));
      |             ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220417-060035

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26
  [2]   ruby27 *
php cli:

  HEAD of ::gentoo
commit 900ac80a8def9ed32cf6bab903d88411fbce2d31
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 17 13:39:03 2022 +0000

    2022-04-17 13:39:02 UTC

emerge -qpvO sys-devel/llvm
[ebuild  N    ] sys-devel/llvm-14.0.1  USE="binutils-plugin libffi ncurses xml -debug -doc -exegesis -libedit -test -xar -z3" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)"
Comment 1 Toralf Förster gentoo-dev 2022-04-17 16:33:23 UTC
Created attachment 771164 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-17 16:33:26 UTC
Created attachment 771167 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-17 16:33:29 UTC
Created attachment 771170 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-17 16:33:31 UTC
Created attachment 771173 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-17 16:33:32 UTC
Created attachment 771176 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-17 16:33:33 UTC
Created attachment 771179 [details]
sys-devel:llvm-14.0.1:20220417-140635.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-17 16:33:35 UTC
Created attachment 771182 [details]
temp.tar.bz2
Comment 8 Felix Janda 2022-12-30 21:40:14 UTC
*** Bug 864847 has been marked as a duplicate of this bug. ***