Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614374 - sys-libs/libunwind-1.5.0 fails to build on x32 ABI
Summary: sys-libs/libunwind-1.5.0 fails to build on x32 ABI
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-31 19:04 UTC by Jan Ziak (atomsymbol)
Modified: 2020-12-16 23:58 UTC (History)
3 users (show)

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


Attachments
output of emerge --info (emerge-info.txt,17.08 KB, text/plain)
2018-01-31 11:51 UTC, Martin 'The Bishop' Scheffler
Details
libunwind-1.5.0.log (sys-libs:libunwind-1.5.0:20201216-214149.log,313.35 KB, text/x-log)
2020-12-16 23:56 UTC, Jan Ziak (atomsymbol)
Details
emerge --info (emerge-info.txt,7.99 KB, text/plain)
2020-12-16 23:58 UTC, Jan Ziak (atomsymbol)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziak (atomsymbol) 2017-03-31 19:04:25 UTC
/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
Comment 1 Andreas K. Hüttel gentoo-dev 2017-10-03 18:01:16 UTC
1) Does this also affect libunwind-1.2.1 ?
2) emerge --info please!
Comment 2 Martin 'The Bishop' Scheffler 2018-01-31 11:51:19 UTC
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
Comment 3 Sam James archtester gentoo-dev Security 2020-12-16 23:53:40 UTC
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.
Comment 4 Jan Ziak (atomsymbol) 2020-12-16 23:56:15 UTC
Created attachment 678529 [details]
libunwind-1.5.0.log
Comment 5 Jan Ziak (atomsymbol) 2020-12-16 23:58:31 UTC
Created attachment 678532 [details]
emerge --info