pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc9



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jan 25 20:29:11 UTC 2020

Modified Files:
        pkgsrc/lang/gcc9: Makefile

Log Message:
lang/gcc9: broken on SunOS-*-x86_64


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc9/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc9/Makefile
diff -u pkgsrc/lang/gcc9/Makefile:1.6 pkgsrc/lang/gcc9/Makefile:1.7
--- pkgsrc/lang/gcc9/Makefile:1.6       Sat Jan 25 20:20:45 2020
+++ pkgsrc/lang/gcc9/Makefile   Sat Jan 25 20:29:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/01/25 20:20:45 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2020/01/25 20:29:11 rillig Exp $
 
 GCC9_VERSION=  9.2.0
 
@@ -60,6 +60,18 @@ CHECK_PORTABILITY_SKIP=      contrib/download
 #    for (long pi = start_idx; pi >= 0; pi--)
 NOT_FOR_PLATFORM+=     Linux-*-x86_64
 
+# The build and target host is x86_64-sun-solaris2.11.
+# It still fails to compile some seemingly linux-specific code.
+#
+# libtool: compile:  /home/pbulk/build/lang/gcc9/work/build/./gcc/xgcc [...]
+#   -c ../../../../gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_linux.cc
+# ...
+# ../../../../gcc-9.2.0/libsanitizer/sanitizer_common/sanitizer_linux.cc: In constructor '__sanitizer::ThreadLister::ThreadLister(__sanitizer::pid_t)':
+# ../../../../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
+
 LANGS=                 c
 
 # In some cases LINKER_RPATH_FLAG needs a trailing space.



Home | Main Index | Thread Index | Old Index