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

Bug 937391

Summary: sys-devel/clang-17.0.6 - [icu-75.1] [gcc-15] /.../Twine.h: error: const class llvm::SmallVectorImpl<char> has no member named data
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
sys-devel:clang-17.0.6:20240805-111144.log

Description Toralf Förster gentoo-dev 2024-08-05 17:36:29 UTC
      |                     ^~~~~~~~
In file included from /usr/lib/llvm/17/include/llvm/Support/MemoryBuffer.h:19,
                 from /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h:19,
                 from /usr/lib/llvm/17/include/llvm/TableGen/Error.h:17,
                 from /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:17:
/usr/lib/llvm/17/include/llvm/ADT/Twine.h: In constructor llvm::Twine::Twine(const llvm::SmallVectorImpl<char>&):
/usr/lib/llvm/17/include/llvm/ADT/Twine.h:309:34: error: const class llvm::SmallVectorImpl<char> has no member named data
  309 |       LHS.ptrAndLength.ptr = Str.data();
      |                                  ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 2679a6d43bb36f5f864e5c0109a24663d821734b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 5 09:19:20 2024 +0000

    2024-08-05 09:19:20 UTC

emerge -qpvO sys-devel/clang
Comment 1 Toralf Förster gentoo-dev 2024-08-05 17:36:30 UTC
Created attachment 899119 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-05 17:36:32 UTC
Created attachment 899120 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-05 17:36:33 UTC
Created attachment 899121 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-05 17:36:34 UTC
Created attachment 899122 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-05 17:36:35 UTC
Created attachment 899123 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-05 17:36:36 UTC
Created attachment 899124 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-05 17:36:38 UTC
Created attachment 899125 [details]
sys-devel:clang-17.0.6:20240805-111144.log