https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010
--- Comment #12 from Sam James <sjames at gcc dot gnu.org> --- Huh, I'm actually still seeing this: ``` m2/gm2-libs-boot/Glibc.h:207:14: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch] 207 | EXTERN off_t libc_lseek (int fd, ssize_t offset, int whence); | ^ /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/m2/mc-boot-ch/Glibc.c:356:1: note: type mismatch in parameter 2 356 | libc_lseek (int fd, off_t offset, int whence) | ^ /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/m2/mc-boot-ch/Glibc.c:356:1: note: type ‘off_t’ should match type ‘ssize_t’ /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/m2/mc-boot-ch/Glibc.c:356:1: note: ‘libc_lseek’ was previously declared here /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/m2/mc-boot-ch/Glibc.c:356:1: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ``` with ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/15/lto-wrapper Target: armv7a-unknown-linux-gnueabihf Configured with: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure --host=armv7a-unknown-linux-gnueabihf --build=armv7a-unknown-linux-gnueabihf --prefix=/usr --bindir=/usr/armv7a-unknown-linux-gnueabihf/gcc-bin/15 --includedir=/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/15/include --datadir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/15 --mandir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/15/man --infodir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/15/info --with-gxx-include-dir=/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/armv7a-unknown-linux-gnueabihf/15/python --enable-objc-gc --enable-languages=c,c++,d,objc,obj-c++,fortran,ada,m2,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 15.0.9999 p, commit 9ffb270464521895475f4e645b3df333d111c521' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --with-float=hard --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --enable-libgomp --disable-libssp --enable-libada --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-lto Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250113 (experimental) 0cf06bf0d7fd83549f0f410df57f8113fdc63da2 (Gentoo 15.0.9999 p, commit 9ffb270464521895475f4e645b3df333d111c521) ``` (and those *_FLAGS variables I mentioned)