Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930173 - dev-perl/IO-Tty: on arm64-macos (llvm), it uses a unsupported lld option
Summary: dev-perl/IO-Tty: on arm64-macos (llvm), it uses a unsupported lld option
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: ARM64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 930174
  Show dependency tree
 
Reported: 2024-04-17 20:40 UTC by ZongyuZ
Modified: 2024-04-17 20:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the unsupported --no-undefined error (functest_strlcpy.log,461 bytes, text/plain)
2024-04-17 20:40 UTC, ZongyuZ
Details
the build.log (IO-Tty-failure.log,9.10 KB, application/octet-stream)
2024-04-17 20:41 UTC, ZongyuZ
Details
the emerge --info output (emerge --info.output,5.80 KB, text/plain)
2024-04-17 20:41 UTC, ZongyuZ
Details
A patch to workaround this issue (IO-Tty-help-apple-arm64-lld.patch,509 bytes, patch)
2024-04-17 20:42 UTC, ZongyuZ
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ZongyuZ 2024-04-17 20:40:50 UTC
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`.
Comment 1 ZongyuZ 2024-04-17 20:41:16 UTC
Created attachment 891027 [details]
the build.log
Comment 2 ZongyuZ 2024-04-17 20:41:33 UTC
Created attachment 891028 [details]
the emerge --info output
Comment 3 ZongyuZ 2024-04-17 20:42:21 UTC
Created attachment 891029 [details, diff]
A patch to workaround this issue