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

Bug 953044

Summary: sys-devel/gcc-14.2.1_p20250301 - [cmake-4] sanitizer_platform_limits_posix.cpp: error: invalid application of sizeof to incomplete type _sanitizer::termio
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal CC: holger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=953040
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 952954    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.xz
gcc-build-logs.tar.xz
qlist-info.txt
sys-devel:gcc-14.2.1_p20250301:20250402-034155.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-04-02 08:29:26 UTC
too long lines were shrinked:

libtool: compile:  /var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/
In file included from /var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/gcc-14-20250301/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h:39,
                 from /var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/gcc-14-20250301/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:177:
/var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/gcc-14-20250301/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:592:10: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  592 |   struct {
      |          ^
/var/tmp/portage/sys-devel/gcc-14.2.1_p20250301/work/gcc-14-20250301/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:483:31: error: invalid application of sizeof to incomplete type __sanitizer::termio
  483 |   unsigned struct_termio_sz = sizeof(struct termio);
      |                               ^~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_test-20250402-012006

  KEYWORDED/UNMASKED

  [cmake-4] Requested by sam
  =dev-build/cmake-4*

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
llvm-config: Python 3.12.9

  HEAD of ::gentoo
commit 19b430c9025933c2b267f2def6f8c9fcc78445a3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 2 02:05:23 2025 +0000

    2025-04-02 02:05:22 UTC

emerge -qpvO =sys-devel/gcc-14.2.1_p20250301
[ebuild     U ] sys-devel/gcc-14.2.1_p20250301 [14.2.1_p20241221] USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran go* hardened jit* nls openmp (pie) sanitize (ssp) valgrind* zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -graphite (-ieee-long-double) (-libssp) -lto -modula2 (-multilib*) -objc -objc++ -objc-gc (-pch) -pgo -rust -systemtap -test (-time64) -vanilla -vtv"
Comment 1 Toralf Förster gentoo-dev 2025-04-02 08:29:27 UTC
Created attachment 923519 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-02 08:29:28 UTC
Created attachment 923520 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-02 08:29:29 UTC
Created attachment 923521 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-02 08:29:30 UTC
Created attachment 923522 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-02 08:29:32 UTC
Created attachment 923523 [details]
gcc-build-logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-02 08:29:33 UTC
The file size of ./files/logs.tar.xz is too big (1.4M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_no_multilib_hardened_test-20250402-012006/var/tmp/tb/issues/20250402-044641-sys-devel_gcc-14.2.1_p20250301/files/logs.tar.xz is valid.
Comment 7 Toralf Förster gentoo-dev 2025-04-02 08:29:34 UTC
Created attachment 923524 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-04-02 08:29:35 UTC
Created attachment 923525 [details]
sys-devel:gcc-14.2.1_p20250301:20250402-034155.log.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-02 08:29:36 UTC
Created attachment 923526 [details]
temp.tar.xz