https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121620
Bug ID: 121620 Summary: Problem static linking a program using getpwnam and getpwuid Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: gaius at gcc dot gnu.org Target Milestone: --- Forwarded from the gm2 mailing list: gm2 -fiso -fsoft-check-all squash1.mod Ctv2.o unix.o -o squash1 -lc -lcrypt -lm -static Generates two warnings: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking