/var/tmp/portage/sys-libs/libunwind-1.2/work/libunwind-1.2/src/x86_64/Gos-linux.c: Assembler messages: /var/tmp/portage/sys-libs/libunwind-1.2/work/libunwind-1.2/src/x86_64/Gos-linux.c:146: Error: unsupported instruction `mov' make[2]: *** [Makefile:3714: x86_64/Gos-linux.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-libs/libunwind-1.2/work/libunwind-1.2-abi_x86_x32.x32/src' make[1]: *** [Makefile:1514: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-libs/libunwind-1.2/work/libunwind-1.2-abi_x86_x32.x32/src' make: *** [Makefile:480: all-recursive] Error 1
1) Does this also affect libunwind-1.2.1 ? 2) emerge --info please!
Created attachment 517238 [details] output of emerge --info same here on x32; libunwind-1.2.1 is also affected. "emerge --info" attached. the relevant part from the build log: In file included from /var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1/src/x86_64/Los-linux.c:4:0: /var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1/src/x86_64/Gos-linux.c: In function '_ULx86_64_sigreturn': /var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1/src/x86_64/Gos-linux.c:142:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; ^ /var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1/src/x86_64/Gos-linux.c: Assembler messages: /var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1/src/x86_64/Gos-linux.c:146: Error: unsupported instruction `mov' make[2]: *** [Makefile:3079: x86_64/Los-linux.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1-abi_x86_x32.x32/src' make[1]: *** [Makefile:1635: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-libs/libunwind-1.2.1/work/libunwind-1.2.1-abi_x86_x32.x32/src' make: *** [Makefile:585: all-recursive] Error 1
This bug is quite stale but someone just added themselves to CC. If it's still happening, please attach a fresh full build.log and emerge --info.
Created attachment 678529 [details] libunwind-1.5.0.log
Created attachment 678532 [details] emerge --info
Seems this package was recently added as a dependency of stable net-fs/samba, so now I am hitting this bug ton x32 too
Filed upstream feature request: https://github.com/libunwind/libunwind/issues/264
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d170da873918e7969852ffdd48ff2904f65432 commit c8d170da873918e7969852ffdd48ff2904f65432 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-07 07:12:49 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-07 09:39:54 +0000 sys-libs/libunwind: fix ABI_X86=x32 build Reported-by: Jan Ziak Closes: https://bugs.gentoo.org/614374 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libunwind/files/libunwind-1.5.0-x32.patch | 17 +++++++++++++++++ sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 1 + 2 files changed, 18 insertions(+)