From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 543FB3858414; Tue, 14 Dec 2021 16:01:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 543FB3858414 From: "syq at debian 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:01:04 +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: syq at debian 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:01:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103604 --- Comment #19 from YunQiang Su --- (In reply to Iain Buclaw from comment #18) > (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 Iain Buclaw from comment #15) > > Created attachment 51999 [details] > > mips stat_t patch > >=20 > > Patch matches field declarations I can see in the headers, and it for s= ure > > reigns it in. > >=20 > > | C | D | > > 32 | 144 | 160 | > > o64 | 160 | 176 | > > n32 | 160 | 176 | > > 64 | 216 | 216 | > >=20 > > Don't think it would fail now the statically allocated size is *at leas= t* > > same as C. But some alias is still not matching up. > Ah, no, this is right, I just didn't build the C source with > -D_FILE_OFFSET_BITS=3D64 FYI: I find that gcc/glibc (for C) generates wrong code for O32 with -D_FILE_OFFSET_BITS=3D64. I am digging it.=