https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Philipp Tomsich <ptoms...@gcc.gnu.org>: https://gcc.gnu.org/g:e907ee7c4d4e739d2ee219467d95ff34b2870c73 commit r16-1500-ge907ee7c4d4e739d2ee219467d95ff34b2870c73 Author: Konstantinos Eleftheriou <konstantinos.elefther...@vrull.eu> Date: Tue Jun 10 08:24:45 2025 +0200 testsuite: Fix pr119160.c for non-glibc targets [PR119862] Testcase pr119160.c fails with symbol referencing errors for `__cyg_profile_func_enter` and `__cyg_profile_func_exit` on non-glibc systems. This patch adds empty definitions for `__cyg_profile_func_enter` and `__cyg_profile_func_exit` in order to prevent those errors. PR testsuite/119862 gcc/testsuite/ChangeLog: * gcc.dg/pr119160.c: Added empty definitions for `__cyg_profile_func_enter` and `__cyg_profile_func_exit` functions.