Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922249 - dev-python/mypy-1.7.1 fails to build on ppc: {standard input}:7445480: Error: operand out of range (0x8000 is not between 0xffffffffffff8000 and 0x7fff)
Summary: dev-python/mypy-1.7.1 fails to build on ppc: {standard input}:7445480: Error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 919533
  Show dependency tree
 
Reported: 2024-01-16 22:22 UTC by matoro
Modified: 2024-01-17 06:39 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,98.92 KB, application/gzip)
2024-01-16 22:24 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-16 22:22:58 UTC
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
Comment 1 matoro archtester 2024-01-16 22:24:30 UTC
Created attachment 882440 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-17 02:51:04 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-17 06:39:24 UTC
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(+)