From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 918C73858CDA; Wed, 15 Nov 2023 00:57:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 918C73858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700009845; bh=Z9nNK9APodEwk/S1zp6Dj7oow8Rxh3Nyv13ebtN+Xzs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VLn6wksL6MyEY4Ga8QTWSHrPKqzK/q5/el62T3cFAgG3bDRtECBEBlVkHlKwLLbwA oMFAEluPTl/s73qSHjrOSlm+/htmDd7ruz+gUVxfeKrF3xrFK/bUtXgCx1msllnTEc DUf0gUKFwJq6M8O9b0JOClTdCBZyIS1dIt3ZP+vc= From: "bruno at clisp dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5 Date: Wed, 15 Nov 2023 00:57:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp 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: cc 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=3D112534 Bruno Haible changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #2 from Bruno Haible --- > gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)=20 > gcc -std=3Dgnu99 ... > error: unknown type name 'max_align_t' The type 'max_align_t' exists in C11, but not in C99, as can be seen from t= hese uses of gcc 4.8.5: $ cat foo.c #include max_align_t x; $ gcc -std=3Dc11 -c foo.c $ gcc -std=3Dgnu11 -c foo.c $ gcc -std=3Dc99 -c foo.c foo.c:2:1: error: unknown type name =E2=80=98max_align_t=E2=80=99 max_align_t x; ^ $ gcc -std=3Dgnu99 -c foo.c foo.c:2:1: error: unknown type name =E2=80=98max_align_t=E2=80=99 max_align_t x; ^ But this occurs in the build tree of gettext-runtime, and this package uses AC_PROG_CC, which adds option -std=3Dgnu11 if supported (this is in GNU Aut= oconf since version 2.70). Maybe some configure file was built with Autoconf 2.69 and older and thus d= oes not add -std=3Dgnu11 ? Or some other configure in the build tree has determined CC=3D"gcc -std=3Dg= nu99", and this setting has been propagated into gettext-runtime, overriding the findings from gettext-runtime/configure ?=