/tmp/tmp81n5gmxu/undef.c:41:1: warning: ‘getwd’ is deprecated [-Wdeprecated-declarations] 41 | void *__glibc_test_getwd = (void *) &getwd; | ^~~~ In file included from ../include/unistd.h:2, from /tmp/tmp81n5gmxu/undef.c:1: ../posix/unistd.h:545:14: note: declared here 545 | extern char *getwd (char *__buf) | ^~~~~ [initial] getopt -> [libc.a(getopt.o)] stderr -> [libc.a(stdio.o)] _IO_file_open -> [libc.a(fileops.o)] memrchr