https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/unicorn-2.0.0 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 791846 [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: FAILED: libunicorn.so.2 /var/tmp/portage/dev-util/unicorn-2.0.0/work/unicorn-2.0.0/qemu/target/ppc/cpu.h:1264:6: error: type of ‘store_booke_tsr’ does not match original declaration [-Werror=lto-type-mismatch]
No idea how to fix it. Reported upstream: https://github.com/unicorn-engine/unicorn/issues/1662 Hopefully they can fix it.
Fixed upstream. Expected to be included in the next release.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57caf57304f4f4568c86886b0498b6707ea747f1 commit 57caf57304f4f4568c86886b0498b6707ea747f1 Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2022-09-26 21:57:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-01 03:15:34 +0000 dev-util/unicorn: fix lto type mismatch Closes: https://bugs.gentoo.org/858506 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27484 Signed-off-by: Sam James <sam@gentoo.org> dev-util/unicorn/files/unicorn-2.0.0-lto.patch | 62 ++++++++++++++++++++++++++ dev-util/unicorn/unicorn-2.0.0.ebuild | 4 ++ 2 files changed, 66 insertions(+)
*** Bug 872998 has been marked as a duplicate of this bug. ***