From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B68CC3858D1E; Fri, 23 Dec 2022 10:50:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B68CC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671792654; bh=nm9uH2npnAkaJO9XxHALhh7bzu1mjEdd58FSqpsBFlc=; h=From:To:Subject:Date:From; b=hT9Ba9xnHgK4r2F92A40ljt/5dhdgb+Gv4VI/bI13baA5ioMDUImLdTjB/1GDH7nP wX6dpxjNWIZG4v4hOcbfakRT/jWG28YXESa5r3tn0R5iH3mYM4iJfTlz5MRoKzIA6K G2wO3eYQrOEsu/GSm1MqRm4ZCDF7q153c3UYZOLE= From: "sam at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108208] New: Build failure on large LLVM source files on PPC Date: Fri, 23 Dec 2022 10:50:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108208 Bug ID: 108208 Summary: Build failure on large LLVM source files on PPC Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sam at gentoo dot org Target Milestone: --- We've seen this a few times in Gentoo when building LLVM, but this is the latest case. ``` $ gcc --version gcc (Gentoo 13.0.0_pre20221218 p5) 13.0.0 20221218 (experimental) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ``` ``` /usr/bin/c++ -save-temps -O2 -g -pipe -fsanitize=3Dundefined -std=3Dc++17 -= fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti RegisterInfoEmitter.cpp.ii [...] a-RegisterInfoEmitter.cpp.s:577996: Error: operand out of range (0x0000000000009d8c is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578007: Error: operand out of range (0x0000000000009d10 is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578016: Error: operand out of range (0x0000000000009d18 is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578024: Error: operand out of range (0x0000000000009d14 is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578042: Error: operand out of range (0x0000000000009d84 is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578061: Error: operand out of range (0x0000000000009d5c is not between 0xffffffffffff8000 and 0x0000000000007ff= f) a-RegisterInfoEmitter.cpp.s:578071: Error: operand out of range (0x0000000000009d68 is not between 0xffffffffffff8000 and 0x0000000000007ff= f) [...] ``` I've uploaded gcc-RegisterInfoEmitter-ppc.tar.xz at https://dev.gentoo.org/~sam/bugs/gcc/gcc-RegisterInfoEmitter-ppc/gcc-Regist= erInfoEmitter-ppc.tar.xz (because of the size of the files) which contains: ``` -rw-r--r-- 1 root root 2.8M Dec 23 10:35 gcc-RegisterInfoEmitter-ppc/RegisterInfoEmitter.cpp.ii -rw-r--r-- 1 root root 42M Dec 23 10:45 gcc-RegisterInfoEmitter-ppc/a-RegisterInfoEmitter.cpp.s ``` Minimising is hard because it only happens with large source files and it's also time consuming to compile and get the error. (Sorry for external link, it's too big even when compressed to attach here,= as it's 4MB.)=