diff options
author | rillig <rillig@pkgsrc.org> | 2020-01-25 20:29:11 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-01-25 20:29:11 +0000 |
commit | 43205abc96f8a3b1eed6237341927d20ca2895a0 (patch) | |
tree | bd060016ad81dea8ae8a6379758b2a8ffc7f6167 /lang | |
parent | 03f840e213c5c0c7725098659be6c68598ad44d9 (diff) | |
download | pkgsrc-43205abc96f8a3b1eed6237341927d20ca2895a0.tar.gz |
lang/gcc9: broken on SunOS-*-x86_64
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc9/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile index c4821c329ea..e4521d20c1b 100644 --- a/lang/gcc9/Makefile +++ b/lang/gcc9/Makefile @@ -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_prerequisites # 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. |