Bunch of lines like the following. 2024-01-16 21:47:15,296 root INFO powerpc-unknown-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -mcpu=powerpc -mtune=powerpc -pipe -DNDEBUG /var/tmp/portage/dev-python/mypy-1.7.1/work/mypy-1.7.1-python3_11/build/temp.linux-ppc-cpython-311/build/mypyc/transform/uninit.o -L/usr/lib -o /var/tmp/portage/dev-python/mypy-1.7.1/work/mypy-1.7.1-python3_11/build/lib.linux-ppc-cpython-311/mypyc/transform/uninit.cpython-311-powerpc-linux-gnu.so {standard input}: Assembler messages: {standard input}:7445480: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445564: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445610: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445633: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445663: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445957: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7445991: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7446151: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7446176: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7446418: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7446962: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447019: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447033: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447108: Error: operand out of range (0x8008 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447114: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447246: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447308: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447371: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447389: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447403: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447421: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447435: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447466: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447735: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447748: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447958: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7447991: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448008: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448033: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448072: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448083: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448098: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448261: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448272: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448744: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448763: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448795: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) {standard input}:7448813: Error: operand out of range (0x8004 is not between 0xffffffffffff8000 and 0x7fff) Reproducible: Always
Created attachment 882440 [details] build.log and emerge --info
The generated code is too big for ppc. We've had a lot of issues like this before. It's easiest to just mask USE=native-extensions on ppc given it takes ages to build even on amd64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d70efa33c94f8e6507720bde13d641d4e572593 commit 9d70efa33c94f8e6507720bde13d641d4e572593 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-17 06:38:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-17 06:38:47 +0000 profiles/arch/powerpc/ppc32: mask dev-python/mypy[native-extensions] The code is too big to build on ppc32 (similar to issues we've had with LLVM in the past) and it takes ages to build even on a fast amd64 machine. We only recently wired this up anyway. Closes: https://bugs.gentoo.org/922249 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/powerpc/ppc32/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)