https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150
--- Comment #37 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Xi Ruoyao <xry...@gcc.gnu.org>: https://gcc.gnu.org/g:331f7d8a393af99afccdb2729d4ab45797fd7a86 commit r15-2869-g331f7d8a393af99afccdb2729d4ab45797fd7a86 Author: Xi Ruoyao <xry...@xry111.site> Date: Mon May 6 11:33:43 2024 +0800 i386: testsuite: Add -no-pie for pr113689-1.c [PR70150] For a --enable-default-pie build, using -fno-pic (for compiler) but not -no-pie (for linker) triggers some linker warnings counted as excess errors: /usr/bin/ld: /tmp/cc8MgxiR.o: warning: relocation in read-only section `.text.startup' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE gcc/testsuite/ChangeLog: PR testsuite/70150 * gcc.target/i386/pr113689-1.c (dg-options): Add -no-pie.