From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id dkKjHm/Pp2DzfgAAWB0awg (envelope-from ) for ; Fri, 21 May 2021 11:19:11 -0400 Received: by simark.ca (Postfix, from userid 112) id 6E6091F11C; Fri, 21 May 2021 11:19:11 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 99B7E1E01F for ; Fri, 21 May 2021 11:19:10 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 225983846400; Fri, 21 May 2021 15:19:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 225983846400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1621610350; bh=vpS/ZnupjeEu5PgVte4+qdvJRAFI0oyO5WJxqCm4M4w=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=X6DlXMyfplwlRayRKuHRS0gAMANLOt8V5np64LBBWgQtohuBd5nBZneWsjz1Ik85A OhzvtxymMAsPiureEWHy+OLuJImlX9437gvbCcZTLkCCG4EGsiNMAHtJYlgs8MkbYE RQ0tm6o7Y40V9/iSc1C8nJOJHoseFHc71Lxiwg24= Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 8A3DF398E462 for ; Fri, 21 May 2021 15:19:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8A3DF398E462 Received: by mail-lj1-x230.google.com with SMTP id p20so24378326ljj.8 for ; Fri, 21 May 2021 08:19:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fghtiLgh4k8rktt1Wp22GTV4HriIXHBGII96RvzsFXU=; b=cP9KmfJKT/Mq8ibYQVqYKaKLC16o7FeGHQwEnHPljURVras+Tmu8JCiehKXuSEFf7S 1Hhf9Mu3laEYQ35xHKLFnIn/8/UwZ3JnClx/I0hFNzFJ3XsS6yhW1Y/WqJRmUgmjr55S DO1FXoAXQRLlGcuGkDH02ZhfZH8ZbSCf9ItJD9bNjdTCt1VKWS20HyXgvlF+Rgg3pziT Du62+uQhvb69P+v0VdsGTvXlaL3Ssi9WqNVUTYIzBeQ8mdbAyVghri7A2oQVGPlTjBo1 T9TKyBu8MG5lsjupLKdu/P79y55YLFMkGphIom47wFfLt8VYLpSuglBzw45Rk/5tT9bU 4JYg== X-Gm-Message-State: AOAM530iYcsNRonK/FHXJc+aVuzcMYgLWk+/O7IZD9t2dzHKmAdY3Pma fISB7Z+RFz/g34tdv13sz0apKeKe1ems0uPKPPgYngsCzBslNw== X-Google-Smtp-Source: ABdhPJziDOnXHbP2ctwGxM/oiMpP7U+pQrFTShW1eH4j7q8qaxPtMy1zRSxWNqWQukgpVy8p3ih9+upJzRMj4zZXjNs= X-Received: by 2002:a2e:8512:: with SMTP id j18mr7593627lji.196.1621610345525; Fri, 21 May 2021 08:19:05 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 21 May 2021 10:18:54 -0500 Message-ID: Subject: GDB Master Fails to Build on CentOS 7 To: Eli Zaretskii via Gdb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Joel Sherrill via Gdb Reply-To: Joel Sherrill Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" Hi This appears to be due to the older gcc apparently not defaulting to C99. Either the code needs to change or -std=3Dc99 needs to be passed by the bui= ld machinery. ibtool: compile: gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtem= s-powerpc/home/joel/rtems-work/tools/7/include -DHAVE_CONFIG_H -I. -I../../sourceware-mirror-binutils-gdb-ed29efb/opcodes -I. -I../../sourceware-mirror-binutils-gdb-ed29efb/opcodes -I../bfd -I../../sourceware-mirror-binutils-gdb-ed29efb/opcodes/../include -I../../sourceware-mirror-binutils-gdb-ed29efb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT ppc-dis.lo -MD -MP -MF .deps/ppc-dis.Tpo -c ../../sourceware-mirror-binutils-gdb-ed29efb/opcodes/ppc-dis.c -o ppc-dis.o ../../sourceware-mirror-binutils-gdb-ed29efb/opcodes/ppc-dis.c: In function =E2=80=98print_insn_powerpc=E2=80=99: ../../sourceware-mirror-binutils-gdb-ed29efb/opcodes/ppc-dis.c:1071:8: error: =E2=80=98for=E2=80=99 loop initial declarations are only allowed in = C99 mode for (int i =3D 0; i < 2; i++) Thanks. --joel RTEMS