https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114036
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:5feeb2ddc93de85dffd7d52119189cd63bccd40f commit r11-11405-g5feeb2ddc93de85dffd7d52119189cd63bccd40f Author: Iain Sandoe <i...@sandoe.co.uk> Date: Sun Mar 31 11:27:53 2024 +0100 testsuite, Darwin: Allow for an undefined symbol [PR114036]. Darwin's linker defaults to requiring all symbols to be defined at static link time (unless specifically noted or dynamic lookuo is enabled). For this test, we just need to note that the symbol is expected to be undefined. PR testsuite/114036 gcc/testsuite/ChangeLog: * gcc.misc-tests/gcov-14.c: Allow for 'Foo' to be undefined on Darwin link lines. Signed-off-by: Iain Sandoe <i...@sandoe.co.uk> (cherry picked from commit ad8e34eaa870608e2b07b4e7147e6ef2944bb8b5)