From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3AADE3858409; Tue, 14 Dec 2021 16:18:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AADE3858409 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu Date: Tue, 14 Dec 2021 16:18:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2021 16:18:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103604 --- Comment #20 from Iain Buclaw --- (In reply to YunQiang Su from comment #17) > (In reply to Iain Buclaw from comment #16) > > (In reply to Iain Buclaw from comment #15) > > > Don't think it would fail now the statically allocated size is *at le= ast* > > > same as C. But some alias is still not matching up. > > core.sys.posix.sys.types is implicitly assuming X86 sizes. >=20 > (In reply to YunQiang Su from comment #13) > > And please have a wait, I need to make sure that this patch can work wi= th > > N32. >=20 > Finally, with help of gdb, This patch can work with both N64 and N32. Thanks, I've gone with a variant of what I submitted here. Added a few sta= tic asserts to ensure that the size matches what I've observed. https://github.com/dlang/druntime/pull/3649=