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: use BROKEN_ON_PLATFORM instead of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c68f2ed06b1
branches:  trunk
changeset: 410726:0c68f2ed06b1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 28 03:58:26 2020 +0000

description:
lang/gcc9: use BROKEN_ON_PLATFORM instead of NOT_FOR_PLATFORM

diffstat:

 lang/gcc9/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 752ff49412b1 -r 0c68f2ed06b1 lang/gcc9/Makefile
--- a/lang/gcc9/Makefile        Tue Jan 28 03:34:03 2020 +0000
+++ b/lang/gcc9/Makefile        Tue Jan 28 03:58:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/01/25 20:31:39 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/28 03:58:26 rillig Exp $
 
 GCC9_VERSION=  9.2.0
 
@@ -58,11 +58,12 @@
 # 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
+#BROKEN_ON_PLATFORM+=  Linux-*-x86_64
 CFLAGS.Linux+=         -std=gnu99
 
-# The build and target host is x86_64-sun-solaris2.11.
-# It still fails to compile some seemingly linux-specific code.
+# Even though the build and target host is x86_64-sun-solaris2.11,
+# it fails to compile some seemingly linux-specific code.
+# https://bugs.llvm.org/show_bug.cgi?id=44665
 #
 # libtool: compile:  /home/pbulk/build/lang/gcc9/work/build/./gcc/xgcc [...]
 #   -c ../../../../gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_linux.cc
@@ -71,7 +72,7 @@
 # ../../../../gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_linux.cc:932:63: error: 'O_DIRECTORY' was not declared in this scope
 #  932 |   descriptor_ = internal_open(task_directory_path, O_RDONLY | O_DIRECTORY);
 #      |                                                               ^~~~~~~~~~~
-NOT_FOR_PLATFORM+=     SunOS-*-x86_64
+BROKEN_ON_PLATFORM+=   SunOS-*-x86_64
 
 LANGS=                 c
 



Home | Main Index | Thread Index | Old Index