From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 603443858D34; Thu, 15 Aug 2024 18:21:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 603443858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1723746095; bh=Dm9jZpsLy1pLxpoQ0qmUbbC53zN0eTZOF8SgLN0jtHs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bBhOCeStGadhOe4+Zsx4zkr7CLUF6tcTCMg699AB7BsqP+wgp6sTDV3zx+BTp+iok wg3/6BhZF/iufGpAF8TGHonUI4/bP+HX6u2gjxp+QGtfOHunSSoCz81aqgYckzDREY vnj71uKkI3ydthr82kZRF8jH1SLQlTcm53r4yJZQ= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/116378] [15 Regression] M2 bootstrap fails on x86_64-darwin after r15-2876 Date: Thu, 15 Aug 2024 18:21:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D116378 --- Comment #8 from Iain Sandoe --- (In reply to Andrew Pinski from comment #7) > For glibc (even though the Linux kernel might have a different mode_t ide= a, > some targets are unsigned short, e.g. arm-linux-eabi) is always: > #define __MODE_T_TYPE __U32_TYPE ah.. I should have added the notes to the c&p /src-local/..../m2/mc-boot-ch/Glibc.c:352:16: note: (so you should pass =E2= =80=98int=E2=80=99 not =E2=80=98mode_t=E2=80=99 {aka =E2=80=98short unsigned int=E2=80=99} to = =E2=80=98va_arg=E2=80=99) /src-local/...../m2/mc-boot-ch/Glibc.c:352:16: note: if this code is reache= d, the program will abort So the diagnostics tell us exactly what to expect - and it seems from Andre= w's comments that this is generic.=