sysutils.c has a use of getpwnam and getpwuid (for _gpgrt_vfnameconcat, tilde expansion).
In some OSes (Solaris, GNU, FreeBSD, etc.), nsswitch is used and dynamic loading/linking is used internally for these getpw* functions.
With GNU libc, at build time, it tells the possible mismatch at runtime, when static link is specified.
Basically, full static linking is not possible when we use getpw* functions on a system with nsswitch which uses dynamic loading/linking.
Possibly, we can change the behavior of _gpgrt_vfnameconcat's tilde expansion for static linked version.