Summary: | net-misc/dhcdrop-0.5-r1 fails to compile (lto): <artificial>:(.text+0x204e): undefined reference to rand_ether_addr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Vladimir Pavljuchenkov (SpiderX) <spiderx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pinkbyte, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/26942 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-07-28 07:03:55 UTC
Created attachment 795110 [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: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text.startup+0x1630): undefined reference to `print_ether' <artificial>:(.text+0x204e): undefined reference to `rand_ether_addr' <artificial>:(.text.startup+0x1008): undefined reference to `rand_ether_addr' 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=1356604f1f11718271781b70014347f1cafff82e commit 1356604f1f11718271781b70014347f1cafff82e Author: Sergey Popov <pinkbyte@gentoo.org> AuthorDate: 2022-08-23 07:02:49 +0000 Commit: Sergey Popov <pinkbyte@gentoo.org> CommitDate: 2022-08-23 07:03:01 +0000 net-misc/dhcdrop: bump EAPI to 8, fix building with -flto Reported-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> Closes: https://bugs.gentoo.org/861608 Closes: https://github.com/gentoo/gentoo/pull/26942 net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild | 11 +++++++--- net-misc/dhcdrop/files/dhcdrop-0.5-lto.patch | 33 ++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) |