Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953040 - llvm-runtimes/compiler-rt-sanitizers-20.1.1 - sanitizer_platform_limits_posix.cpp: error: invalid application of sizeof to an incomplete type struct termio
Summary: llvm-runtimes/compiler-rt-sanitizers-20.1.1 - sanitizer_platform_limits_posix...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: termio
  Show dependency tree
 
Reported: 2025-04-02 08:15 UTC by Toralf Förster
Modified: 2025-04-02 15:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.09 KB, text/plain)
2025-04-02 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.35 KB, text/plain)
2025-04-02 08:15 UTC, Toralf Förster
Details
environment (environment,156.17 KB, text/plain)
2025-04-02 08:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2025-04-02 08:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.36 KB, application/x-xz)
2025-04-02 08:15 UTC, Toralf Förster
Details
llvm-runtimes:compiler-rt-sanitizers-20.1.1:20250401-210309.log (llvm-runtimes:compiler-rt-sanitizers-20.1.1:20250401-210309.log,46.12 KB, text/plain)
2025-04-02 08:15 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,106.63 KB, application/x-xz)
2025-04-02 08:15 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,84.92 KB, text/plain)
2025-04-02 08:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.48 KB, application/x-xz)
2025-04-02 08:15 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 2025-04-02 08:15:01 UTC
too long lines were shrinked:

[18/1213] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DHAVE_RPC_XDR_H=0 -I/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/..  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused-parameter -std=c++17 -fno-color-diagnostics
[19/1213] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DHAVE_RPC_XDR_H=0 -I/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/..  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused-parameter -std=c++17 -fno-color-diagnostics
[20/1213] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DHAVE_RPC_XDR_H=0 -I/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/..  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused-parameter -std=c++17 -fno-color-diagnostics
[21/1213] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DHAVE_RPC_XDR_H=0 -I/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/..  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused-parameter -std=c++17 -fno-color-diagnostics
FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o 
/usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DHAVE_RPC_XDR_H=0 -I/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/..  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused-parameter -std=c++17 -fno-color-diagnostics -m32 -fPI
/var/tmp/portage/llvm-runtimes/compiler-rt-sanitizers-20.1.1/work/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:489:31: error: invalid application of 'sizeof' to an incomplete type 'struct termio'
  489 |   unsigned struct_termio_sz = sizeof(struct termio);
      |                               ^     ~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20250401-114014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.1
  [2]   rust-bin-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 5cb6ed95d3e38eb9243173da3c378a345bccbc23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 1 17:20:23 2025 +0000

    2025-04-01 17:20:22 UTC

emerge -qpvO =llvm-runtimes/compiler-rt-sanitizers-20.1.1
[ebuild  NS   ] llvm-runtimes/compiler-rt-sanitizers-20.1.1 [19.1.7] USE="asan cfi (clang) ctx-profile dfsan gwp-asan hwasan libfuzzer lsan memprof msan nsan%* orc profile rtsan%* safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test -verify-sig" ABI_X86="32 (64)"
Comment 1 Toralf Förster gentoo-dev 2025-04-02 08:15:02 UTC
Created attachment 923483 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-02 08:15:03 UTC
Created attachment 923484 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-02 08:15:04 UTC
Created attachment 923485 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-02 08:15:05 UTC
Created attachment 923486 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-02 08:15:06 UTC
Created attachment 923487 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-02 08:15:07 UTC
Created attachment 923488 [details]
llvm-runtimes:compiler-rt-sanitizers-20.1.1:20250401-210309.log
Comment 7 Toralf Förster gentoo-dev 2025-04-02 08:15:09 UTC
Created attachment 923489 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-02 08:15:11 UTC
Created attachment 923490 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-04-02 08:15:12 UTC
Created attachment 923491 [details]
temp.tar.xz