Received: by mail.netbsd.org (Postfix, from userid 605) id A833C84D9C; Wed, 12 Feb 2020 04:26:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 30B6984D28 for ; Wed, 12 Feb 2020 04:26:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id bE4R848G9f06 for ; Wed, 12 Feb 2020 04:26:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8699284C85 for ; Wed, 12 Feb 2020 04:26:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7A567FBF4; Wed, 12 Feb 2020 04:26:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1581481572238380" MIME-Version: 1.0 Date: Wed, 12 Feb 2020 04:26:12 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/lang/gcc9 To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20200212042612.7A567FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1581481572238380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Wed Feb 12 04:26:12 UTC 2020 Modified Files: pkgsrc/lang/gcc9: Makefile Log Message: lang/gcc9: clean up section on Linux build failures To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/gcc9/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1581481572238380 Content-Disposition: inline Content-Length: 1312 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/gcc9/Makefile diff -u pkgsrc/lang/gcc9/Makefile:1.12 pkgsrc/lang/gcc9/Makefile:1.13 --- pkgsrc/lang/gcc9/Makefile:1.12 Tue Jan 28 21:33:39 2020 +++ pkgsrc/lang/gcc9/Makefile Wed Feb 12 04:26:12 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2020/01/28 21:33:39 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2020/02/12 04:26:12 rillig Exp $ GCC9_VERSION= 9.2.0 @@ -48,19 +48,12 @@ CHECK_PORTABILITY_SKIP= contrib/download .include "../../mk/bsd.prefs.mk" -# Linux/el7/trunk/x86_64/20200123.2242/gcc9-9.2.0nb1/build.log -# ... -# cc -c -DHAVE_CONFIG_H -g -I/usr/include -I/usr/pkg/include \ -# -I/usr/pkg/include/python3.7 -I. \ -# -I../../gcc-9.2.0/libiberty/../include -W -Wall -Wwrite-strings \ -# -Wc++-compat -Wstrict-prototypes -pedantic \ -# -D_GNU_SOURCE ../../gcc-9.2.0/libiberty/argv.c -o argv.o -# ... +# Prevent compilation error on RedHat EL 7: +# # compute_powtab.c: In function 'mpn_compute_powtab_mul': # compute_powtab.c:142:3: error: 'for' loop initial declarations are only allowed in C99 mode # for (long pi = start_idx; pi >= 0; pi--) -#BROKEN_ON_PLATFORM+= Linux-*-x86_64 -CFLAGS.Linux+= -std=gnu99 +# # I know that -std is not a preprocessor flag, but gcc9 ignores the CFLAGS, # for whatever reason. CPPFLAGS.Linux+= -std=gnu99 --_----------=_1581481572238380--