|
Boost Users : |
Subject: [Boost-users] [stacktrace] Test failures with Xcode 9
From: Nat Goodspeed (nat_at_[hidden])
Date: 2017-10-05 23:36:32
I've just started building Boost 1.65.1 Stacktrace. On Mac with Xcode
9, I'm dismayed that it has failed a couple of its own self-tests.
Lengthy (albeit snipped) output follows.
darwin.compile.c++
bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test.o
"g++" -O3 -Wall -pedantic -g -dynamic -gdwarf-2 -fexceptions
-Wno-long-long -Wno-inline -fPIC -arch x86_64
-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED -O3 -fPIC -gdwarf-2
-stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/
-DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -DNDEBUG -DPIC
-DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB
-DLIB_NDOF=1 -Wno-c99-extensions -Wno-unused-const-variable
-Wno-unused-function -Wno-unused-local-typedef -Wno-variadic-macros
-std=c++14 -DBOOST_ALL_NO_LIB=1 -DBOOST_STACKTRACE_USE_ADDR2LINE
-DNDEBUG -I"."
-I"/Users/nat/linden/3p-boost-64/boost/stage/packages/include"
-I"/Users/nat/linden/3p-boost-64/boost/stage/packages/include/zlib" -c
-o "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test.o"
"libs/stacktrace/test/test.cpp"
darwin.compile.c++
bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test_impl.o
"g++" -O3 -Wall -pedantic -g -dynamic -gdwarf-2 -fexceptions
-Wno-long-long -Wno-inline -fPIC -arch x86_64
-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED -O3 -fPIC -gdwarf-2
-stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/
-DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -DNDEBUG -DPIC
-DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB
-DLIB_NDOF=1 -Wno-c99-extensions -Wno-unused-const-variable
-Wno-unused-function -Wno-unused-local-typedef -Wno-variadic-macros
-std=c++14 -DBOOST_ALL_NO_LIB=1 -DBOOST_STACKTRACE_USE_ADDR2LINE
-DNDEBUG -I"."
-I"/Users/nat/linden/3p-boost-64/boost/stage/packages/include"
-I"/Users/nat/linden/3p-boost-64/boost/stage/packages/include/zlib" -c
-o "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test_impl.o"
"libs/stacktrace/test/test_impl.cpp"
darwin.link bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
"g++" -o "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho"
"bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test.o"
"bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/test_impl.o"
-g -Wl,-dead_strip -no_dead_strip_inits_and_terms -arch x86_64
testing.capture-output
bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.run
status=0
if test $status -ne 0 ; then
echo Skipping test execution due to testing.execute=off
exit 0
fi
"bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho"
> "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.output"
2>&1 < /dev/null
status=$?
echo >> "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.output"
echo EXIT STATUS: $status >>
"bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.output"
if test $status -eq 0 ; then
cp "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.output"
"bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho.output"
echo ====== END OUTPUT ======
fi
exit $status
====== BEGIN OUTPUT ======
...
0# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
1# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
2# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
3# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
...
14# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
15# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
16# void test_nested<15ul>() in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
17# main in /Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
libs/stacktrace/test/test.cpp(200): test 'min_size > 2' failed in
function 'void test_frame()'
' 0# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
1# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
2# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
3# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
...
300# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
301# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
302# void test_nested<300ul>() in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
303# main in /Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
'
0# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
1# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
2# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
3# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
...
300# foo1(int) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
301# foo2(int, std::__1::pair<boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
>, boost::stacktrace::basic_stacktrace<std::__1::allocator<boost::stacktrace::frame>
> > (*)(int)) in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
302# void test_nested<300ul>() in
/Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
303# main in /Users/nat/linden/3p-boost-64/boost/bin.v2/libs/stacktrace/test/addr2line_ho.test/darwin-4.2.1/release/debug-symbols-on/addr2line_ho
libs/stacktrace/test/test.cpp(282): test
'boost::stacktrace::stacktrace(1, 1).size() == 1' failed in function
'int main()'
2 errors detected.
EXIT STATUS: 1
====== END OUTPUT ======
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net