Created attachment 891026 [details] the unsupported --no-undefined error dev-perl/IO-Tty uses unsupported `lld` option on `arm64-macos` (llvm) prefix. The option is `--no-undefined`. It will make the pkg incorrectly detect the existence of some basic functions, like `strlcpy()`. However, I am not sure whether it is a problem of `dev-perl/IO-Tty` or `sys-devel/lld`. My lld version: `[IP-] [ ~] sys-devel/lld-18.1.3:18/18.1`. The package itself compiles well after workaround this issue. This bug report may serve as an `arm64-macos` keywording request of `IO-Tty`.
Created attachment 891027 [details] the build.log
Created attachment 891028 [details] the emerge --info output
Created attachment 891029 [details, diff] A patch to workaround this issue