pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc9 lang/gcc9: broken on Linux-*-x86_64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0728f7c61cd6
branches:  trunk
changeset: 422392:0728f7c61cd6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 25 20:20:45 2020 +0000

description:
lang/gcc9: broken on Linux-*-x86_64

diffstat:

 lang/gcc9/Makefile |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 0c39ad706db2 -r 0728f7c61cd6 lang/gcc9/Makefile
--- a/lang/gcc9/Makefile        Sat Jan 25 20:14:43 2020 +0000
+++ b/lang/gcc9/Makefile        Sat Jan 25 20:20:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/01/18 22:41:30 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/01/25 20:20:45 rillig Exp $
 
 GCC9_VERSION=  9.2.0
 
@@ -47,6 +47,19 @@
 
 .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
+# ...
+# 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--)
+NOT_FOR_PLATFORM+=     Linux-*-x86_64
+
 LANGS=                 c
 
 # In some cases LINKER_RPATH_FLAG needs a trailing space.



Home | Main Index | Thread Index | Old Index