[MacPorts] #68270: clang-14 @clang 14-14.0.6_1 fails on os x 14 (sonoma)
MacPorts
noreply at macports.org
Thu Sep 28 15:13:17 UTC 2023
#68270: clang-14 @clang 14-14.0.6_1 fails on os x 14 (sonoma)
-----------------------+--------------------
Reporter: ith140 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: clang-14 |
-----------------------+--------------------
Comment (by dbl001):
Same here
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1254:17:
error: use of undeclared identifier 'XDR'
:info:build CHECK_TYPE_SIZE(XDR);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1254:1: error:
use of undeclared identifier '__sanitizer_XDR'
:info:build CHECK_TYPE_SIZE(XDR);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1439:25: note:
expanded from macro 'CHECK_TYPE_SIZE'
:info:build COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
:info:build ^
:info:build <scratch space>:47:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:1: error:
use of undeclared identifier '__sanitizer_XDR'; did you mean
'__sanitizer_cov'?
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build <scratch space>:48:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_interface_internal.h:57:38: note:
'__sanitizer_cov' declared here
:info:build SANITIZER_INTERFACE_ATTRIBUTE void
__sanitizer_cov(__sanitizer::u32 *guard);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:48: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:23:
error: use of undeclared identifier 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1443:34: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build sizeof(((CLASS *)NULL)->MEMBER));
\
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:1: error:
unknown type name '__sanitizer_XDR'; did you mean '__sanitizer_tm'?
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1444:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==
\
:info:build ^
:info:build <scratch space>:49:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:402:8: note:
'__sanitizer_tm' declared here
:info:build struct __sanitizer_tm {
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:1: error:
no member named 'x_op' in '__sanitizer_tm'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^ ~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1444:18: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==
\
:info:build ^ ~~~~~~
:info:build
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/stddef.h:105:24:
note: expanded from macro 'offsetof'
:info:build #define offsetof(t, d) __builtin_offsetof(t, d)
:info:build ^ ~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_internal_defs.h:349:44: note: expanded
from macro 'COMPILER_CHECK'
:info:build #define COMPILER_CHECK(pred) static_assert(pred, "")
:info:build ^~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1255:23:
error: unknown type name 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_op);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
use of undeclared identifier '__sanitizer_XDR'; did you mean
'__sanitizer_cov'?
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build <scratch space>:50:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_interface_internal.h:57:38: note:
'__sanitizer_cov' declared here
:info:build SANITIZER_INTERFACE_ATTRIBUTE void
__sanitizer_cov(__sanitizer::u32 *guard);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build /opt/loc
al/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:48: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:23:
error: use of undeclared identifier 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1443:34: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build sizeof(((CLASS *)NULL)->MEMBER));
\
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
unknown type name '__sanitizer_XDR'; did you mean '__sanitizer_tm'?
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1444:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==
\
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:23:
error: use of undeclared identifier 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1443:34: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build sizeof(((CLASS *)NULL)->MEMBER));
\
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
unknown type name '__sanitizer_XDR'; did you mean '__sanitizer_tm'?
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1444:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==
\
:info:build ^
:info:build <scratch space>:51:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:402:8: note:
'__sanitizer_tm' declared here
:info:build struct __sanitizer_tm {
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:1: error:
no member named 'x_ops' in '__sanitizer_tm'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^ ~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1444:18: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) ==
\
:info:build ^ ~~~~~~
:info:build
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/stddef.h:105:24:
note: expanded from macro 'offsetof'
:info:build #define offsetof(t, d) __builtin_offsetof(t, d)
:info:build ^ ~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_internal_defs.h:349:44: note: expanded
from macro 'COMPILER_CHECK'
:info:build #define COMPILER_CHECK(pred) static_assert(pred, "")
:info:build ^~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1256:23:
error: unknown type name 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_ops);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1257:1: error:
use of undeclared identifier '__sanitizer_XDR'; did you mean
'__sanitizer_cov'?
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_public);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:27: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build <scratch space>:52:1: note: expanded from here
:info:build __sanitizer_XDR
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_interface_internal.h:57:38: note:
'__sanitizer_cov' declared here
:info:build SANITIZER_INTERFACE_ATTRIBUTE void
__sanitizer_cov(__sanitizer::u32 *guard);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1257:1: error:
expected expression
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_public);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1442:48: note:
expanded from macro 'CHECK_SIZE_AND_OFFSET'
:info:build COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER)
== \
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work
/llvm-project-14.0.6.src/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:1257:23:
error: use of undeclared identifier 'XDR'
:info:build CHECK_SIZE_AND_OFFSET(XDR, x_public);
:info:build ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-
limit=]
:info:build 20 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68270#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list