https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114199
Bug ID: 114199 Summary: [14 regression] error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: csfore at posteo dot net Target Milestone: --- Created attachment 57590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57590&action=edit build.log Does not fail on 13 Steps to reproduce: 1. Build attached file with -O3 -fno-semantic-interposition -fPIC libumockdev-preload.i $ gcc -O3 -fno-semantic-interposition -fPIC libumockdev-preload.i libumockdev-preload.i: In function ‘__readlinkat_chk’: libumockdev-preload.i:4:6: error: inlining failed in call to ‘always_inline’ ‘readlinkat.localalias’: function not inlinable 4 | long readlinkat() {} | ^~~~~~~~~~ libumockdev-preload.i:5:34: note: called from here 5 | long __readlinkat_chk() { return readlinkat(); } | ^~~~~~~~~~~~ $ gcc -v gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.1_pre20240225/work/gcc-14-20240225/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-languages=c,c++,go,fortran,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=yes,extra --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 14.0.1_pre20240225 p23' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --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-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240225 (experimental) (Gentoo Hardened 14.0.1_pre20240225 p23)