[MacPorts] #61555: clang-10: 10.0.1_3 build fails on sanitizer_platform_limits_posix.cpp
MacPorts
noreply at macports.org
Thu Nov 19 02:05:41 UTC 2020
#61555: clang-10: 10.0.1_3 build fails on sanitizer_platform_limits_posix.cpp
--------------------+----------------------
Reporter: blair | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clang-10
--------------------+----------------------
On 10.15.7 with Xcode 12.2 building 10.0.1_3 fails:
{{{
[ 15%] Building CXX object projects/compiler-
rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_platform_limits_posix.cpp.o
cd /opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/build/projects/compiler-
rt/lib/sanitizer_common && /usr/bin/clang++ -DHAVE_RPC_XDR_H=0
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/build/projects/compiler-
rt/lib/sanitizer_common -I/opt/local/var/macports/build
/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common -I/opt/local/include/libxml2
-I/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/build/include
-I/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/include
-I/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/.. -pipe -Os -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC
-fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-
availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-
virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Wall
-std=c++14 -Wno-unused-parameter -DNDEBUG -arch arm64 -arch x86_64 -arch
x86_64h -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-stdlib=libc++ -mmacosx-version-min=10.10 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fPIC -fno-builtin
-fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-
stack -fvisibility=hidden -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-
variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fno-rtti
-Wframe-larger-than=570 -Wglobal-constructors -std=c++14 -o
CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_platform_limits_posix.cpp.o
-c /opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:174:31: error:
invalid application of 'sizeof' to an incomplete type 'struct stat64'
unsigned struct_stat64_sz = sizeof(struct stat64);
^ ~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:174:45: note:
forward declaration of '__sanitizer::stat64'
unsigned struct_stat64_sz = sizeof(struct stat64);
^
/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:200:33: error:
invalid application of 'sizeof' to an incomplete type 'struct statfs64'
unsigned struct_statfs64_sz = sizeof(struct statfs64);
^ ~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/llvm-10.0.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:200:47: note:
forward declaration of '__sanitizer::statfs64'
unsigned struct_statfs64_sz = sizeof(struct statfs64);
^
2 errors generated.
make[2]: Leaving directory `/opt/local/var/macports/build
/_Users_blairzajac_Code_MacPorts_macports-
ports.git_lang_llvm-10/clang-10/work/build'
make[1]: *** [projects/compiler-
rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61555>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list