https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-analyzer/echoping-6.0.2_p434-r5 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 794438 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: <artificial>:(.text+0xadd): undefined reference to `sqrt' collect2: error: ld returned 1 exit status
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6853db1f910a17d2293e6b9d23987bbc45d66e commit fc6853db1f910a17d2293e6b9d23987bbc45d66e Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-05 03:54:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-05 04:47:52 +0000 net-analyzer/echoping: fix underlinking to libm Caused compilation failures if LTO was used. Closes: https://bugs.gentoo.org/861152 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../echoping/echoping-6.0.2_p434-r5.ebuild | 1 + .../files/0001-correctly-link-to-libm.patch | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+)