Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests fail with LTO #813

Open
kloczek opened this issue Apr 5, 2022 · 17 comments
Open

Some tests fail with LTO #813

kloczek opened this issue Apr 5, 2022 · 17 comments

Comments

@kloczek
Copy link

kloczek commented Apr 5, 2022

Looks like old issue with logging unit has been resolved (#709) howe new two units are now failing:

+ cd glog-0.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  1: logging_custom_prefix
 1/16 Test  #1: logging_custom_prefix ............   Passed    1.36 sec
      Start  2: demangle
 2/16 Test  #2: demangle .........................   Passed    0.01 sec
      Start  3: logging
 3/16 Test  #3: logging ..........................   Passed    1.74 sec
      Start  4: signalhandler
 4/16 Test  #4: signalhandler ....................   Passed    0.01 sec
      Start  5: stacktrace
 5/16 Test  #5: stacktrace .......................Subprocess aborted***Exception:   0.21 sec
Obtained 10 stack frames.
Obtained 10 stack frames.
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11755) [0x7f2235859755] 0x7f2235859755
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x118f7) [0x7f22358598f7] 0x7f22358598f7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11a97) [0x7f2235859a97] 0x7f2235859a97
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11c37) [0x7f2235859c37] 0x7f2235859c37
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11da7) [0x7f2235859da7] 0x7f2235859da7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x66d1) [0x7f223584e6d1] 0x7f223584e6d1
/lib64/libc.so.6(+0x2d550) [0x7f22353af550] 0x7f22353af550
/lib64/libc.so.6(__libc_start_main+0x89) [0x7f22353af609] 0x7f22353af609
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x78c5) [0x7f223584f8c5] 0x7f223584f8c5
[(nil)] (nil)
CheckStackTrace() addr: 0x7f2235859d50
Backtrace 0: expected: 0x7f22358592ca..0x7f22358594bb  actual: 0x7f2235859755 ... F20220405 14:41:51.741753 2249583 stacktrace_unittest.cc:109] Check failed: ret_addr <= range.end (0x7f2235859755 vs. 0x7f22358594bb)
*** Check failure stack trace: ***
    @     0x7f2235857e26  google::LogMessage::SendToLog()
    @     0x7f2235851be9  google::LogMessage::Flush()
    @     0x7f22358595ad  CheckStackTraceLeaf()
    @     0x7f2235859755  CheckStackTrace4()
    @     0x7f22358598f7  CheckStackTrace3()
    @     0x7f2235859a97  CheckStackTrace2()
    @     0x7f2235859c37  CheckStackTrace1()
    @     0x7f2235859da7  CheckStackTrace()
    @     0x7f223584e6d1  google::thread_msg_data
    @     0x7f22353af550  __libc_start_call_main
    @     0x7f22353af609  __libc_start_main_alias_2
    @     0x7f223584f8c5  _start
    @              (nil)  (unknown)

      Start  6: stl_logging
 6/16 Test  #6: stl_logging ......................   Passed    0.01 sec
      Start  7: symbolize
 7/16 Test  #7: symbolize ........................Subprocess aborted***Exception:   0.17 sec
Test case TestWithPCInsideNonInlineFunction passed.
F20220405 14:41:51.964082 2249587 symbolize_unittest.cc:373] CHECK_STREQ failed: symbol == "main" (google::thread_msg_data vs. main)
*** Check failure stack trace: ***
    @     0x7fed5e2abf06  google::LogMessage::SendToLog()
    @     0x7fed5e2a43d9  google::LogMessage::Flush()
    @     0x7fed5e2a474b  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fed5e2adae5  TestWithReturnAddress()
    @     0x7fed5e2a09e3  google::thread_msg_data
    @     0x7fed5de01550  __libc_start_call_main
    @     0x7fed5de01609  __libc_start_main_alias_2
    @     0x7fed5e2a2085  _start
    @              (nil)  (unknown)

      Start  8: cmake_package_config_init
 8/16 Test  #8: cmake_package_config_init ........   Passed    0.04 sec
      Start  9: cmake_package_config_generate
 9/16 Test  #9: cmake_package_config_generate ....   Passed    0.71 sec
      Start 10: cmake_package_config_build
10/16 Test #10: cmake_package_config_build .......   Passed    1.04 sec
      Start 11: cmake_package_config_cleanup
11/16 Test #11: cmake_package_config_cleanup .....   Passed    0.02 sec
      Start 12: cleanup_init
12/16 Test #12: cleanup_init .....................   Passed    0.02 sec
      Start 14: cleanup_immediately
13/16 Test #14: cleanup_immediately ..............   Passed    3.14 sec
      Start 15: cleanup_with_absolute_prefix
14/16 Test #15: cleanup_with_absolute_prefix .....   Passed    3.14 sec
      Start 16: cleanup_with_relative_prefix
15/16 Test #16: cleanup_with_relative_prefix .....   Passed    6.14 sec
      Start 13: cleanup_logdir
16/16 Test #13: cleanup_logdir ...................   Passed    0.02 sec

88% tests passed, 2 tests failed out of 16

Total Test time (real) =  17.82 sec

The following tests FAILED:
          5 - stacktrace (Subprocess aborted)
          7 - symbolize (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:94: test] Error 8
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
GTest_DIR:PATH=GTest_DIR-NOTFOUND
PRINT_UNSYMBOLIZED_STACK_TRACES:BOOL=OFF
WITH_CUSTOM_PREFIX:BOOL=ON
WITH_GFLAGS:BOOL=ON
WITH_GMOCK:BOOL=ON
WITH_GTEST:BOOL=ON
WITH_PKGCONFIG:BOOL=ON
WITH_SYMBOLIZE:BOOL=ON
WITH_THREADS:BOOL=ON
WITH_TLS:BOOL=ON
WITH_UNWIND:BOOL=ON
gflags_DIR:PATH=/usr/lib64/cmake/gflags
@sergiud
Copy link
Collaborator

sergiud commented Apr 5, 2022

Thanks for the report. #709 was closed without solution. The problem looks specific to your environment since glog Ubuntu runners are happy.

Could you bisect and identify the commit that introduced the issue?

@kloczek
Copy link
Author

kloczek commented Apr 5, 2022

Are you using LTO ob builsing glog on Ubuntu? (I'm usingh it)

@sergiud
Copy link
Collaborator

sergiud commented Apr 5, 2022

Are you saying the failures occur only with LTO enabled?

@kloczek
Copy link
Author

kloczek commented Apr 6, 2022

Just tested with disabled LTO and looks like LTO does not affect that issue

+ cd glog-0.6.0
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -std=c++14'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S .
-- The CXX compiler identification is GNU 12.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find GTest (missing: GTest_DIR)
-- Looking for gflags namespace
-- Looking for gflags namespace - gflags
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find Unwind (missing: Unwind_INCLUDE_DIR Unwind_LIBRARY)
-- Looking for C++ include unwind.h
-- Looking for C++ include unwind.h - found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Looking for C++ include glob.h
-- Looking for C++ include glob.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include memory.h
-- Looking for C++ include memory.h - found
-- Looking for C++ include pwd.h
-- Looking for C++ include pwd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include strings.h
-- Looking for C++ include strings.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include sys/syscall.h
-- Looking for C++ include sys/syscall.h - found
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/utsname.h
-- Looking for C++ include sys/utsname.h - found
-- Looking for C++ include sys/wait.h
-- Looking for C++ include sys/wait.h - found
-- Looking for C++ include syscall.h
-- Looking for C++ include syscall.h - found
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Looking for C++ include ucontext.h
-- Looking for C++ include ucontext.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include ext/hash_map
-- Looking for C++ include ext/hash_map - found
-- Looking for C++ include ext/hash_set
-- Looking for C++ include ext/hash_set - found
-- Looking for C++ include ext/slist
-- Looking for C++ include ext/slist - found
-- Looking for C++ include tr1/unordered_map
-- Looking for C++ include tr1/unordered_map - found
-- Looking for C++ include tr1/unordered_set
-- Looking for C++ include tr1/unordered_set - found
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Looking for C++ include unordered_set
-- Looking for C++ include unordered_set - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of unsigned __int16
-- Check size of unsigned __int16 - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Performing Test HAVE_NO_DEPRECATED
-- Performing Test HAVE_NO_DEPRECATED - Success
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Looking for pthread_threadid_np
-- Looking for pthread_threadid_np - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for UnDecorateSymbolName in dbghelp
-- Looking for UnDecorateSymbolName in dbghelp - not found
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Success
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Success
-- Performing Test HAVE_RWLOCK
-- Performing Test HAVE_RWLOCK - Success
-- Performing Test HAVE___DECLSPEC
-- Performing Test HAVE___DECLSPEC - Failed
-- Performing Test STL_NO_NAMESPACE
-- Performing Test STL_NO_NAMESPACE - Failed
-- Performing Test STL_STD_NAMESPACE
-- Performing Test STL_STD_NAMESPACE - Success
-- Performing Test HAVE_USING_OPERATOR
-- Performing Test HAVE_USING_OPERATOR - Success
-- Performing Test HAVE_NAMESPACES
-- Performing Test HAVE_NAMESPACES - Success
-- Performing Test HAVE_GCC_TLS
-- Performing Test HAVE_GCC_TLS - Success
-- Performing Test HAVE_MSVC_TLS
-- Performing Test HAVE_MSVC_TLS - Failed
-- Performing Test HAVE_CXX11_TLS
-- Performing Test HAVE_CXX11_TLS - Success
-- Performing Test HAVE_ALIGNED_STORAGE
-- Performing Test HAVE_ALIGNED_STORAGE - Success
-- Performing Test HAVE_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Performing Test HAVE_CXX11_CONSTEXPR
-- Performing Test HAVE_CXX11_CONSTEXPR - Success
-- Performing Test HAVE_CXX11_CHRONO
-- Performing Test HAVE_CXX11_CHRONO - Success
-- Performing Test HAVE_CXX11_NULLPTR_T
-- Performing Test HAVE_CXX11_NULLPTR_T - Success
-- Performing Test HAVE_LOCALTIME_R
-- Performing Test HAVE_LOCALTIME_R - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_FLAGS_RELEASE
    CMAKE_Fortran_FLAGS_RELEASE
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
+ /usr/bin/cmake --build x86_64-redhat-linux-gnu -j48 --verbose

[..]

+ cd glog-0.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  1: logging_custom_prefix
 1/16 Test  #1: logging_custom_prefix ............   Passed    1.27 sec
      Start  2: demangle
 2/16 Test  #2: demangle .........................   Passed    0.01 sec
      Start  3: logging
 3/16 Test  #3: logging ..........................   Passed    1.59 sec
      Start  4: signalhandler
 4/16 Test  #4: signalhandler ....................   Passed    0.01 sec
      Start  5: stacktrace
 5/16 Test  #5: stacktrace .......................Subprocess aborted***Exception:   0.21 sec
Obtained 10 stack frames.
Obtained 10 stack frames.
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11755) [0x7fb0123db755] 0x7fb0123db755
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x118f7) [0x7fb0123db8f7] 0x7fb0123db8f7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11a97) [0x7fb0123dba97] 0x7fb0123dba97
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11c37) [0x7fb0123dbc37] 0x7fb0123dbc37
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11da7) [0x7fb0123dbda7] 0x7fb0123dbda7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x66d1) [0x7fb0123d06d1] 0x7fb0123d06d1
/lib64/libc.so.6(+0x2d550) [0x7fb011f33550] 0x7fb011f33550
/lib64/libc.so.6(__libc_start_main+0x89) [0x7fb011f33609] 0x7fb011f33609
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x78c5) [0x7fb0123d18c5] 0x7fb0123d18c5
[(nil)] (nil)
CheckStackTrace() addr: 0x7fb0123dbd50
Backtrace 0: expected: 0x7fb0123db2ca..0x7fb0123db4bb  actual: 0x7fb0123db755 ... F20220406 05:17:19.591336 3232447 stacktrace_unittest.cc:109] Check failed: ret_addr <= range.end (0x7fb0123db755 vs. 0x7fb0123db4bb)
*** Check failure stack trace: ***
    @     0x7fb0123d9e26  google::LogMessage::SendToLog()
    @     0x7fb0123d3be9  google::LogMessage::Flush()
    @     0x7fb0123db5ad  CheckStackTraceLeaf()
    @     0x7fb0123db755  CheckStackTrace4()
    @     0x7fb0123db8f7  CheckStackTrace3()
    @     0x7fb0123dba97  CheckStackTrace2()
    @     0x7fb0123dbc37  CheckStackTrace1()
    @     0x7fb0123dbda7  CheckStackTrace()
    @     0x7fb0123d06d1  google::thread_msg_data
    @     0x7fb011f33550  __libc_start_call_main
    @     0x7fb011f33609  __libc_start_main_alias_2
    @     0x7fb0123d18c5  _start
    @              (nil)  (unknown)

      Start  6: stl_logging
 6/16 Test  #6: stl_logging ......................   Passed    0.01 sec
      Start  7: symbolize
 7/16 Test  #7: symbolize ........................Subprocess aborted***Exception:   0.18 sec
Test case TestWithPCInsideNonInlineFunction passed.
F20220406 05:17:19.819387 3232449 symbolize_unittest.cc:373] CHECK_STREQ failed: symbol == "main" (google::thread_msg_data vs. main)
*** Check failure stack trace: ***
    @     0x7fdeab058f06  google::LogMessage::SendToLog()
    @     0x7fdeab0513d9  google::LogMessage::Flush()
    @     0x7fdeab05174b  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fdeab05aae5  TestWithReturnAddress()
    @     0x7fdeab04d9e3  google::thread_msg_data
    @     0x7fdeaabb0550  __libc_start_call_main
    @     0x7fdeaabb0609  __libc_start_main_alias_2
    @     0x7fdeab04f085  _start
    @              (nil)  (unknown)

      Start  8: cmake_package_config_init
 8/16 Test  #8: cmake_package_config_init ........   Passed    0.04 sec
      Start  9: cmake_package_config_generate
 9/16 Test  #9: cmake_package_config_generate ....   Passed    0.76 sec
      Start 10: cmake_package_config_build
10/16 Test #10: cmake_package_config_build .......   Passed    1.04 sec
      Start 11: cmake_package_config_cleanup
11/16 Test #11: cmake_package_config_cleanup .....   Passed    0.02 sec
      Start 12: cleanup_init
12/16 Test #12: cleanup_init .....................   Passed    0.02 sec
      Start 14: cleanup_immediately
13/16 Test #14: cleanup_immediately ..............   Passed    3.14 sec
      Start 15: cleanup_with_absolute_prefix
14/16 Test #15: cleanup_with_absolute_prefix .....   Passed    3.16 sec
      Start 16: cleanup_with_relative_prefix
15/16 Test #16: cleanup_with_relative_prefix .....   Passed    6.15 sec
      Start 13: cleanup_logdir
16/16 Test #13: cleanup_logdir ...................   Passed    0.02 sec

88% tests passed, 2 tests failed out of 16

Total Test time (real) =  17.68 sec

The following tests FAILED:
          5 - stacktrace (Subprocess aborted)
          7 - symbolize (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:94: test] Error 8

Just in case I'm using gcc 12.0.1 from fedora rawhide.

@sergiud
Copy link
Collaborator

sergiud commented Apr 6, 2022

I see at least one occurence of -flto=auto in your log. That does exactly the opposite of disabling LTO, doesn't it?

Either way, I can reproduce the issue locally with LTO but not without it. I believe the tests were not designed with LTO in mind. Therefore, the failures are probably expected but should not affect the overall functionality.

@sergiud sergiud changed the title 0.6.0: test siuite is failing Some tests fail with LTO Apr 6, 2022
@kloczek
Copy link
Author

kloczek commented Apr 6, 2022

My fault. I've added in wrin place undefine disabling LTO.
Here is full log:

+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/glog-0.6.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd glog-0.6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5FeXNE
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd glog-0.6.0
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S .
-- The CXX compiler identification is GNU 12.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find GTest (missing: GTest_DIR)
-- Looking for gflags namespace
-- Looking for gflags namespace - gflags
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find Unwind (missing: Unwind_INCLUDE_DIR Unwind_LIBRARY)
-- Looking for C++ include unwind.h
-- Looking for C++ include unwind.h - found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Looking for C++ include glob.h
-- Looking for C++ include glob.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include memory.h
-- Looking for C++ include memory.h - found
-- Looking for C++ include pwd.h
-- Looking for C++ include pwd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include strings.h
-- Looking for C++ include strings.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include sys/syscall.h
-- Looking for C++ include sys/syscall.h - found
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/utsname.h
-- Looking for C++ include sys/utsname.h - found
-- Looking for C++ include sys/wait.h
-- Looking for C++ include sys/wait.h - found
-- Looking for C++ include syscall.h
-- Looking for C++ include syscall.h - found
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Looking for C++ include ucontext.h
-- Looking for C++ include ucontext.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include ext/hash_map
-- Looking for C++ include ext/hash_map - found
-- Looking for C++ include ext/hash_set
-- Looking for C++ include ext/hash_set - found
-- Looking for C++ include ext/slist
-- Looking for C++ include ext/slist - found
-- Looking for C++ include tr1/unordered_map
-- Looking for C++ include tr1/unordered_map - found
-- Looking for C++ include tr1/unordered_set
-- Looking for C++ include tr1/unordered_set - found
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Looking for C++ include unordered_set
-- Looking for C++ include unordered_set - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of unsigned __int16
-- Check size of unsigned __int16 - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Performing Test HAVE_NO_DEPRECATED
-- Performing Test HAVE_NO_DEPRECATED - Success
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Looking for pthread_threadid_np
-- Looking for pthread_threadid_np - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for UnDecorateSymbolName in dbghelp
-- Looking for UnDecorateSymbolName in dbghelp - not found
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Success
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Success
-- Performing Test HAVE_RWLOCK
-- Performing Test HAVE_RWLOCK - Success
-- Performing Test HAVE___DECLSPEC
-- Performing Test HAVE___DECLSPEC - Failed
-- Performing Test STL_NO_NAMESPACE
-- Performing Test STL_NO_NAMESPACE - Failed
-- Performing Test STL_STD_NAMESPACE
-- Performing Test STL_STD_NAMESPACE - Success
-- Performing Test HAVE_USING_OPERATOR
-- Performing Test HAVE_USING_OPERATOR - Success
-- Performing Test HAVE_NAMESPACES
-- Performing Test HAVE_NAMESPACES - Success
-- Performing Test HAVE_GCC_TLS
-- Performing Test HAVE_GCC_TLS - Success
-- Performing Test HAVE_MSVC_TLS
-- Performing Test HAVE_MSVC_TLS - Failed
-- Performing Test HAVE_CXX11_TLS
-- Performing Test HAVE_CXX11_TLS - Success
-- Performing Test HAVE_ALIGNED_STORAGE
-- Performing Test HAVE_ALIGNED_STORAGE - Success
-- Performing Test HAVE_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Performing Test HAVE_CXX11_CONSTEXPR
-- Performing Test HAVE_CXX11_CONSTEXPR - Success
-- Performing Test HAVE_CXX11_CHRONO
-- Performing Test HAVE_CXX11_CHRONO - Success
-- Performing Test HAVE_CXX11_NULLPTR_T
-- Performing Test HAVE_CXX11_NULLPTR_T - Success
-- Performing Test HAVE_LOCALTIME_R
-- Performing Test HAVE_LOCALTIME_R - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_FLAGS_RELEASE
    CMAKE_Fortran_FLAGS_RELEASE
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
+ /usr/bin/cmake --build x86_64-redhat-linux-gnu -j48 --verbose
/usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/glog-0.6.0 -B/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/glogbase.dir/build.make CMakeFiles/glogbase.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/glogbase.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/glogbase.dir/build.make CMakeFiles/glogbase.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[  6%] Building CXX object CMakeFiles/glogbase.dir/src/demangle.cc.o
[  6%] Building CXX object CMakeFiles/glogbase.dir/src/logging.cc.o
[  9%] Building CXX object CMakeFiles/glogbase.dir/src/raw_logging.cc.o
[ 12%] Building CXX object CMakeFiles/glogbase.dir/src/symbolize.cc.o
[ 16%] Building CXX object CMakeFiles/glogbase.dir/src/utilities.cc.o
[ 19%] Building CXX object CMakeFiles/glogbase.dir/src/signalhandler.cc.o
[ 22%] Building CXX object CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/logging.cc.o -MF CMakeFiles/glogbase.dir/src/logging.cc.o.d -o CMakeFiles/glogbase.dir/src/logging.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/demangle.cc.o -MF CMakeFiles/glogbase.dir/src/demangle.cc.o.d -o CMakeFiles/glogbase.dir/src/demangle.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/demangle.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/raw_logging.cc.o -MF CMakeFiles/glogbase.dir/src/raw_logging.cc.o.d -o CMakeFiles/glogbase.dir/src/raw_logging.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/raw_logging.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/symbolize.cc.o -MF CMakeFiles/glogbase.dir/src/symbolize.cc.o.d -o CMakeFiles/glogbase.dir/src/symbolize.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/symbolize.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/utilities.cc.o -MF CMakeFiles/glogbase.dir/src/utilities.cc.o.d -o CMakeFiles/glogbase.dir/src/utilities.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/utilities.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/signalhandler.cc.o -MF CMakeFiles/glogbase.dir/src/signalhandler.cc.o.d -o CMakeFiles/glogbase.dir/src/signalhandler.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/signalhandler.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGOOGLE_GLOG_IS_A_DLL -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o -MF CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o.d -o CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/vlog_is_on.cc
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 22%] Built target glogbase
/usr/bin/gmake  -f CMakeFiles/glog.dir/build.make CMakeFiles/glog.dir/depend
/usr/bin/gmake  -f CMakeFiles/glogtest.dir/build.make CMakeFiles/glogtest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/glog.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/glogtest.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/glogtest.dir/build.make CMakeFiles/glogtest.dir/build
/usr/bin/gmake  -f CMakeFiles/glog.dir/build.make CMakeFiles/glog.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 25%] Linking CXX static library libglogtest.a
[ 29%] Linking CXX shared library libglog.so
/usr/bin/cmake -P CMakeFiles/glogtest.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/glog.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libglog.so.1 -o libglog.so.0.6.0 CMakeFiles/glogbase.dir/src/demangle.cc.o CMakeFiles/glogbase.dir/src/logging.cc.o CMakeFiles/glogbase.dir/src/raw_logging.cc.o CMakeFiles/glogbase.dir/src/symbolize.cc.o CMakeFiles/glogbase.dir/src/utilities.cc.o CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o CMakeFiles/glogbase.dir/src/signalhandler.cc.o  /usr/lib64/libgflags.so.2.2.2
/usr/bin/cmake -E cmake_link_script CMakeFiles/glogtest.dir/link.txt --verbose=1
/usr/bin/gcc-ar qc libglogtest.a CMakeFiles/glogbase.dir/src/demangle.cc.o CMakeFiles/glogbase.dir/src/logging.cc.o CMakeFiles/glogbase.dir/src/raw_logging.cc.o CMakeFiles/glogbase.dir/src/symbolize.cc.o CMakeFiles/glogbase.dir/src/utilities.cc.o CMakeFiles/glogbase.dir/src/vlog_is_on.cc.o CMakeFiles/glogbase.dir/src/signalhandler.cc.o
/usr/bin/gcc-ranlib libglogtest.a
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 29%] Built target glogtest
/usr/bin/gmake  -f CMakeFiles/logging_unittest.dir/build.make CMakeFiles/logging_unittest.dir/depend
/usr/bin/gmake  -f CMakeFiles/logging_custom_prefix_unittest.dir/build.make CMakeFiles/logging_custom_prefix_unittest.dir/depend
/usr/bin/gmake  -f CMakeFiles/stl_logging_unittest.dir/build.make CMakeFiles/stl_logging_unittest.dir/depend
/usr/bin/gmake  -f CMakeFiles/symbolize_unittest.dir/build.make CMakeFiles/symbolize_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/logging_custom_prefix_unittest.dir/DependInfo.cmake --color=
/usr/bin/gmake  -f CMakeFiles/demangle_unittest.dir/build.make CMakeFiles/demangle_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/logging_unittest.dir/DependInfo.cmake --color=
/usr/bin/gmake  -f CMakeFiles/stacktrace_unittest.dir/build.make CMakeFiles/stacktrace_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/stl_logging_unittest.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/symbolize_unittest.dir/DependInfo.cmake --color=
/usr/bin/gmake  -f CMakeFiles/utilities_unittest.dir/build.make CMakeFiles/utilities_unittest.dir/depend
/usr/bin/gmake  -f CMakeFiles/signalhandler_unittest.dir/build.make CMakeFiles/signalhandler_unittest.dir/depend
/usr/bin/gmake  -f CMakeFiles/cleanup_immediately_unittest.dir/build.make CMakeFiles/cleanup_immediately_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/stacktrace_unittest.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/demangle_unittest.dir/DependInfo.cmake --color=
/usr/bin/gmake  -f CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/build.make CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/utilities_unittest.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/signalhandler_unittest.dir/DependInfo.cmake --color=
/usr/bin/gmake  -f CMakeFiles/cleanup_with_relative_prefix_unittest.dir/build.make CMakeFiles/cleanup_with_relative_prefix_unittest.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/cleanup_immediately_unittest.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/DependInfo.cmake --color=
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0 /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles/cleanup_with_relative_prefix_unittest.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/logging_custom_prefix_unittest.dir/build.make CMakeFiles/logging_custom_prefix_unittest.dir/build
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/logging_unittest.dir/build.make CMakeFiles/logging_unittest.dir/build
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/stl_logging_unittest.dir/build.make CMakeFiles/stl_logging_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/symbolize_unittest.dir/build.make CMakeFiles/symbolize_unittest.dir/build
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/demangle_unittest.dir/build.make CMakeFiles/demangle_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/stacktrace_unittest.dir/build.make CMakeFiles/stacktrace_unittest.dir/build
/usr/bin/gmake  -f CMakeFiles/utilities_unittest.dir/build.make CMakeFiles/utilities_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/cleanup_immediately_unittest.dir/build.make CMakeFiles/cleanup_immediately_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/signalhandler_unittest.dir/build.make CMakeFiles/signalhandler_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/build.make CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/gmake  -f CMakeFiles/cleanup_with_relative_prefix_unittest.dir/build.make CMakeFiles/cleanup_with_relative_prefix_unittest.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 35%] Building CXX object CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o
[ 35%] Building CXX object CMakeFiles/logging_custom_prefix_unittest.dir/src/logging_custom_prefix_unittest.cc.o
[ 38%] Building CXX object CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o
[ 41%] Building CXX object CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o
[ 45%] Building CXX object CMakeFiles/utilities_unittest.dir/src/utilities_unittest.cc.o
[ 48%] Building CXX object CMakeFiles/demangle_unittest.dir/src/demangle_unittest.cc.o
[ 54%] Building CXX object CMakeFiles/cleanup_immediately_unittest.dir/src/cleanup_immediately_unittest.cc.o
[ 54%] Building CXX object CMakeFiles/stacktrace_unittest.dir/src/stacktrace_unittest.cc.o
[ 58%] Building CXX object CMakeFiles/signalhandler_unittest.dir/src/signalhandler_unittest.cc.o
/usr/bin/cmake -E cmake_symlink_library libglog.so.0.6.0 libglog.so.1 libglog.so
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -DGLOG_STL_LOGGING_FOR_EXT_HASH -DGLOG_STL_LOGGING_FOR_EXT_SLIST -DGLOG_STL_LOGGING_FOR_TR1_UNORDERED -DGLOG_STL_LOGGING_FOR_UNORDERED -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -MD -MT CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o -MF CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o.d -o CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/stl_logging_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/logging_custom_prefix_unittest.dir/src/logging_custom_prefix_unittest.cc.o -MF CMakeFiles/logging_custom_prefix_unittest.dir/src/logging_custom_prefix_unittest.cc.o.d -o CMakeFiles/logging_custom_prefix_unittest.dir/src/logging_custom_prefix_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/utilities_unittest.dir/src/utilities_unittest.cc.o -MF CMakeFiles/utilities_unittest.dir/src/utilities_unittest.cc.o.d -o CMakeFiles/utilities_unittest.dir/src/utilities_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/utilities_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o -MF CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o.d -o CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc
[ 61%] Building CXX object CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o -MF CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o.d -o CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/symbolize_unittest.cc
[ 64%] Building CXX object CMakeFiles/cleanup_with_relative_prefix_unittest.dir/src/cleanup_with_relative_prefix_unittest.cc.o
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/demangle_unittest.dir/src/demangle_unittest.cc.o -MF CMakeFiles/demangle_unittest.dir/src/demangle_unittest.cc.o.d -o CMakeFiles/demangle_unittest.dir/src/demangle_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/demangle_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/cleanup_immediately_unittest.dir/src/cleanup_immediately_unittest.cc.o -MF CMakeFiles/cleanup_immediately_unittest.dir/src/cleanup_immediately_unittest.cc.o.d -o CMakeFiles/cleanup_immediately_unittest.dir/src/cleanup_immediately_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/stacktrace_unittest.dir/src/stacktrace_unittest.cc.o -MF CMakeFiles/stacktrace_unittest.dir/src/stacktrace_unittest.cc.o.d -o CMakeFiles/stacktrace_unittest.dir/src/stacktrace_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/stacktrace_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/signalhandler_unittest.dir/src/signalhandler_unittest.cc.o -MF CMakeFiles/signalhandler_unittest.dir/src/signalhandler_unittest.cc.o.d -o CMakeFiles/signalhandler_unittest.dir/src/signalhandler_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/signalhandler_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o -MF CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o.d -o CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc
/usr/bin/g++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_SYMBOLIZE_DETECTION -DGLOG_STATIC_DEFINE -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src -I/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/cleanup_with_relative_prefix_unittest.dir/src/cleanup_with_relative_prefix_unittest.cc.o -MF CMakeFiles/cleanup_with_relative_prefix_unittest.dir/src/cleanup_with_relative_prefix_unittest.cc.o.d -o CMakeFiles/cleanup_with_relative_prefix_unittest.dir/src/cleanup_with_relative_prefix_unittest.cc.o -c /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 64%] Built target glog
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/signalhandler_unittest.cc: In function 'int main(int, char**)':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/signalhandler_unittest.cc:88:5: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds]
   88 |     *a = 0;
      |     ^~
[ 67%] Linking CXX executable signalhandler_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/signalhandler_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/signalhandler_unittest.dir/src/signalhandler_unittest.cc.o -o signalhandler_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 70%] Linking CXX executable stacktrace_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/stacktrace_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/stacktrace_unittest.dir/src/stacktrace_unittest.cc.o -o stacktrace_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:34:
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void google::CaptureTestOutput(int, const std::string&)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59,
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:80:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:80:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:385:12,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:81:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:370:43,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:81:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:405:10,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:81:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_immediately_unittest.cc:80:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:34:
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void google::CaptureTestOutput(int, const std::string&)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59,
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:81:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:81:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:385:12,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:82:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:370:43,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:82:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:405:10,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:82:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_relative_prefix_unittest.cc:81:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:34:
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void google::CaptureTestOutput(int, const std::string&)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59,
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:85:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:85:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:385:12,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:86:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:370:43,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:86:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:405:10,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:86:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/cleanup_with_absolute_prefix_unittest.cc:85:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 70%] Built target signalhandler_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 70%] Built target stacktrace_unittest
[ 74%] Linking CXX executable utilities_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/utilities_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/utilities_unittest.dir/src/utilities_unittest.cc.o -o utilities_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 77%] Linking CXX executable cleanup_immediately_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/cleanup_immediately_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/cleanup_immediately_unittest.dir/src/cleanup_immediately_unittest.cc.o -o cleanup_immediately_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 80%] Linking CXX executable cleanup_with_relative_prefix_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/cleanup_with_relative_prefix_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/cleanup_with_relative_prefix_unittest.dir/src/cleanup_with_relative_prefix_unittest.cc.o -o cleanup_with_relative_prefix_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 83%] Linking CXX executable cleanup_with_absolute_prefix_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o -o cleanup_with_absolute_prefix_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 87%] Linking CXX executable symbolize_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/symbolize_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/symbolize_unittest.dir/src/symbolize_unittest.cc.o -o symbolize_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[ 90%] Linking CXX executable demangle_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/demangle_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/demangle_unittest.dir/src/demangle_unittest.cc.o -o demangle_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 90%] Built target utilities_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 90%] Built target cleanup_immediately_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 90%] Built target cleanup_with_relative_prefix_unittest
[ 90%] Built target cleanup_with_absolute_prefix_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 90%] Built target symbolize_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 90%] Built target demangle_unittest
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:61:
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestRawLogging()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:405:10:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc: In function 'void TestRawLogging()':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:355:34: note: returned from 'void* operator new(size_t)'
  355 |   string* foo = new string("foo ");
      |                                  ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestRawLogging()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:355:34:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc: In function 'void TestRawLogging()':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:355:34: note: returned from 'void* operator new(size_t)'
  355 |   string* foo = new string("foo ");
      |                                  ^
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:61:
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void google::CaptureTestOutput(int, const std::string&)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h: In function 'void google::CaptureTestOutput(int, const std::string&)':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestRawLogging()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:398:10:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc: In function 'void TestRawLogging()':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:348:34: note: returned from 'void* operator new(size_t)'
  348 |   string* foo = new string("foo ");
      |                                  ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestRawLogging()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:348:34:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc: In function 'void TestRawLogging()':
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:348:34: note: returned from 'void* operator new(size_t)'
  348 |   string* foo = new string("foo ");
      |                                  ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'T google::CheckNotNull(const char*, int, const char*, T&&) [with T = void*]' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/glog/logging.h:1659:32,
    inlined from 'static void Test_DeathCheckNN_Simple::RunTest()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:659:3:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/utilities.h:59,
                 from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:32:
In function 'T google::CheckNotNull(const char*, int, const char*, T&&) [with T = void*]',
    inlined from 'static void Test_DeathCheckNN_Simple::RunTest()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:659:3:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/glog/logging.h:1659:32: note: returned from 'void* operator new(size_t)'
 1659 |    LogMessageFatal(file, line, new std::string(names));
      |                                ^~~~~~~~~~~~~~~~~~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'T google::CheckNotNull(const char*, int, const char*, T&&) [with T = void*]' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/glog/logging.h:1659:32,
    inlined from 'static void Test_DeathCheckNN_Simple::RunTest()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:670:3:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In file included from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/utilities.h:59,
                 from /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:33:
In function 'T google::CheckNotNull(const char*, int, const char*, T&&) [with T = void*]',
    inlined from 'static void Test_DeathCheckNN_Simple::RunTest()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:670:3:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/glog/logging.h:1659:32: note: returned from 'void* operator new(size_t)'
 1659 |    LogMessageFatal(file, line, new std::string(names));
      |                                ^~~~~~~~~~~~~~~~~~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'void TestOneTruncate(const char*, google::uint64, google::uint64, size_t, size_t, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:922:12:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'void TestOneTruncate(const char*, google::uint64, google::uint64, size_t, size_t, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:910:32:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'void TestOneTruncate(const char*, google::uint64, google::uint64, size_t, size_t, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:933:12:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'void TestOneTruncate(const char*, google::uint64, google::uint64, size_t, size_t, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:921:32:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void google::CaptureTestOutput(int, const std::string&)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59,
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void google::CaptureTestOutput(int, const std::string&)',
    inlined from 'void google::CaptureTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:360:20:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:354:59: note: returned from 'void* operator new(size_t)'
  354 |   s_captured_streams[fd] = new CapturedStream(fd, filename);
      |                                                           ^
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:385:12,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:220:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:370:43,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:220:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestCustomLoggerDeletionOnShutdown()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:995:70,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:277:37:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void TestCustomLoggerDeletionOnShutdown()',
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:277:37:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_custom_prefix_unittest.cc:995:70: note: returned from 'void* operator new(size_t)'
  995 |                                            base::GetLogger(GLOG_INFO)));
      |                                                                      ^
[ 93%] Linking CXX executable stl_logging_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/stl_logging_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/stl_logging_unittest.dir/src/stl_logging_unittest.cc.o -o stl_logging_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
In function 'void operator delete(void*)',
    inlined from 'void operator delete [](void*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:667:20,
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:385:12,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:198:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void* operator new [](size_t)',
    inlined from 'std::string google::ReadEntireFile(FILE*)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:370:43,
    inlined from 'std::string google::GetCapturedTestOutput(int)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:402:45,
    inlined from 'std::string google::GetCapturedTestStderr()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:412:45,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:198:53:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:655:24: note: returned from 'void* operator new(size_t)'
  655 |   return ::operator new(size);
      |          ~~~~~~~~~~~~~~^~~~~~
In function 'void operator delete(void*)',
    inlined from 'void operator delete(void*, size_t)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:663:20,
    inlined from 'void TestCustomLoggerDeletionOnShutdown()' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:1006:70,
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:269:37:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/googletest.h:659:7: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  659 |   free(p);
      |   ~~~~^~~
In function 'void TestCustomLoggerDeletionOnShutdown()',
    inlined from 'int main(int, char**)' at /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:269:37:
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/src/logging_unittest.cc:1006:70: note: returned from 'void* operator new(size_t)'
 1006 |                                            base::GetLogger(GLOG_INFO)));
      |                                                                      ^
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[ 93%] Built target stl_logging_unittest
[ 96%] Linking CXX executable logging_custom_prefix_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/logging_custom_prefix_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/logging_custom_prefix_unittest.dir/src/logging_custom_prefix_unittest.cc.o -o logging_custom_prefix_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
[100%] Linking CXX executable logging_unittest
/usr/bin/cmake -E cmake_link_script CMakeFiles/logging_unittest.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o -o logging_unittest  libglogtest.a /usr/lib64/libgflags.so.2.2.2
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[100%] Built target logging_custom_prefix_unittest
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
[100%] Built target logging_unittest
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/CMakeFiles 0
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aE91rl
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ '[' /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64 '!=' / ']'
+ rm -rf /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64
+ /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64
+ cd glog-0.6.0
+ DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64
+ /usr/bin/cmake --install x86_64-redhat-linux-gnu
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/libglog.so.0.6.0
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/libglog.so.1
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/libglog.so
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/export.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/logging.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/raw_logging.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/stl_logging.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/vlog_is_on.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/log_severity.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/include/glog/platform.h
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/pkgconfig/libglog.pc
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/cmake/glog/glog-modules.cmake
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/cmake/glog/glog-config.cmake
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/cmake/glog/glog-config-version.cmake
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/cmake/glog/glog-targets.cmake
-- Installing: /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/cmake/glog/glog-targets-relwithdebinfo.cmake
+ /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0.6.0-2.fc35 --unique-debug-suffix -0.6.0-2.fc35.x86_64 --unique-debug-src-base glog-0.6.0-2.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit none --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/tkloczko/rpmbuild/BUILD/glog-0.6.0
extracting debug info from /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/libglog.so.0.6.0
original debug info size: 1496kB, size after compression: 1340kB
/usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
663 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ '[' -f /usr/bin/python3 ']'
+ PYTHONPATH=/usr/lib/rpm/redhat
+ PYTHONHASHSEED=0
+ /usr/bin/python3 -sBm compileall2 -f -j48 -o 0 -o 1 -o 2 -s /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64 -p / /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages /home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
Listing '/home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages'...
Can't list '/home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages'
Listing '/home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib/python3.8/site-packages'...
Can't list '/home/tkloczko/rpmbuild/BUILDROOT/glog-0.6.0-2.fc35.x86_64/usr/lib/python3.8/site-packages'
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zfskqe
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd glog-0.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  1: logging_custom_prefix
 1/16 Test  #1: logging_custom_prefix ............   Passed    1.25 sec
      Start  2: demangle
 2/16 Test  #2: demangle .........................   Passed    0.01 sec
      Start  3: logging
 3/16 Test  #3: logging ..........................   Passed    1.59 sec
      Start  4: signalhandler
 4/16 Test  #4: signalhandler ....................   Passed    0.01 sec
      Start  5: stacktrace
 5/16 Test  #5: stacktrace .......................   Passed    0.01 sec
      Start  6: stl_logging
 6/16 Test  #6: stl_logging ......................   Passed    0.01 sec
      Start  7: symbolize
 7/16 Test  #7: symbolize ........................Subprocess aborted***Exception:   0.21 sec
Test case TestWithPCInsideNonInlineFunction passed.
F20220406 10:00:30.481734 3400090 symbolize_unittest.cc:373] CHECK_STREQ failed: symbol == "main" (google::thread_msg_data vs. main)
*** Check failure stack trace: ***
    @     0x7f21c138aa23  google::LogMessage::Fail()
    @     0x7f21c138f61f  google::LogMessage::SendToLog()
    @     0x7f21c138a649  google::LogMessage::Flush()
    @     0x7f21c138adcf  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f21c1388c6b  TestWithReturnAddress()
    @     0x7f21c1386585  google::thread_msg_data
    @     0x7f21c0ee9550  __libc_start_call_main
    @     0x7f21c0ee9609  __libc_start_main_alias_2
    @     0x7f21c1387fb5  _start
    @              (nil)  (unknown)

      Start  8: cmake_package_config_init
 8/16 Test  #8: cmake_package_config_init ........   Passed    0.04 sec
      Start  9: cmake_package_config_generate
 9/16 Test  #9: cmake_package_config_generate ....   Passed    0.59 sec
      Start 10: cmake_package_config_build
10/16 Test #10: cmake_package_config_build .......   Passed    0.90 sec
      Start 11: cmake_package_config_cleanup
11/16 Test #11: cmake_package_config_cleanup .....   Passed    0.02 sec
      Start 12: cleanup_init
12/16 Test #12: cleanup_init .....................   Passed    0.02 sec
      Start 14: cleanup_immediately
13/16 Test #14: cleanup_immediately ..............   Passed    3.14 sec
      Start 15: cleanup_with_absolute_prefix
14/16 Test #15: cleanup_with_absolute_prefix .....   Passed    3.15 sec
      Start 16: cleanup_with_relative_prefix
15/16 Test #16: cleanup_with_relative_prefix .....   Passed    6.14 sec
      Start 13: cleanup_logdir
16/16 Test #13: cleanup_logdir ...................   Passed    0.02 sec

94% tests passed, 1 tests failed out of 16

Total Test time (real) =  17.14 sec

The following tests FAILED:
          7 - symbolize (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:94: test] Error 8

So looks like one unit is LTO sensitive. Second one seems not.

If you have any suggestions how can I try to diagnose that issue please let me know.

@sergiud
Copy link
Collaborator

sergiud commented Apr 6, 2022

This looks familiar. Could you please check #630 (comment) and see if any of the workarounds work for you?

@kloczek
Copy link
Author

kloczek commented Apr 6, 2022

Just tested that patch quoted in #630 (comment) and looks like it has no impact when LTO is disabled.

+ rm -rf glog-0.6.0
+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/glog-0.6.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd glog-0.6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/glog-check_visibilty.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OrchxS
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd glog-0.6.0
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++14'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S .
-- The CXX compiler identification is GNU 12.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find GTest (missing: GTest_DIR)
-- Looking for gflags namespace
-- Looking for gflags namespace - gflags
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find Unwind (missing: Unwind_INCLUDE_DIR Unwind_LIBRARY)
-- Looking for C++ include unwind.h
-- Looking for C++ include unwind.h - found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Looking for C++ include glob.h
-- Looking for C++ include glob.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include memory.h
-- Looking for C++ include memory.h - found
-- Looking for C++ include pwd.h
-- Looking for C++ include pwd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include strings.h
-- Looking for C++ include strings.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include sys/syscall.h
-- Looking for C++ include sys/syscall.h - found
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/utsname.h
-- Looking for C++ include sys/utsname.h - found
-- Looking for C++ include sys/wait.h
-- Looking for C++ include sys/wait.h - found
-- Looking for C++ include syscall.h
-- Looking for C++ include syscall.h - found
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Looking for C++ include ucontext.h
-- Looking for C++ include ucontext.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include ext/hash_map
-- Looking for C++ include ext/hash_map - found
-- Looking for C++ include ext/hash_set
-- Looking for C++ include ext/hash_set - found
-- Looking for C++ include ext/slist
-- Looking for C++ include ext/slist - found
-- Looking for C++ include tr1/unordered_map
-- Looking for C++ include tr1/unordered_map - found
-- Looking for C++ include tr1/unordered_set
-- Looking for C++ include tr1/unordered_set - found
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Looking for C++ include unordered_set
-- Looking for C++ include unordered_set - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of unsigned __int16
-- Check size of unsigned __int16 - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Performing Test HAVE_NO_DEPRECATED
-- Performing Test HAVE_NO_DEPRECATED - Success
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Looking for pthread_threadid_np
-- Looking for pthread_threadid_np - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for UnDecorateSymbolName in dbghelp
-- Looking for UnDecorateSymbolName in dbghelp - not found
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Success
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN
-- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Success
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP
-- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Success
-- Performing Test HAVE_RWLOCK
-- Performing Test HAVE_RWLOCK - Success
-- Performing Test HAVE___DECLSPEC
-- Performing Test HAVE___DECLSPEC - Failed
-- Performing Test STL_NO_NAMESPACE
-- Performing Test STL_NO_NAMESPACE - Failed
-- Performing Test STL_STD_NAMESPACE
-- Performing Test STL_STD_NAMESPACE - Success
-- Performing Test HAVE_USING_OPERATOR
-- Performing Test HAVE_USING_OPERATOR - Success
-- Performing Test HAVE_NAMESPACES
-- Performing Test HAVE_NAMESPACES - Success
-- Performing Test HAVE_GCC_TLS
-- Performing Test HAVE_GCC_TLS - Success
-- Performing Test HAVE_MSVC_TLS
-- Performing Test HAVE_MSVC_TLS - Failed
-- Performing Test HAVE_CXX11_TLS
-- Performing Test HAVE_CXX11_TLS - Success
-- Performing Test HAVE_ALIGNED_STORAGE
-- Performing Test HAVE_ALIGNED_STORAGE - Success
-- Performing Test HAVE_CXX11_ATOMIC
-- Performing Test HAVE_CXX11_ATOMIC - Success
-- Performing Test HAVE_CXX11_CONSTEXPR
-- Performing Test HAVE_CXX11_CONSTEXPR - Success
-- Performing Test HAVE_CXX11_CHRONO
-- Performing Test HAVE_CXX11_CHRONO - Success
-- Performing Test HAVE_CXX11_NULLPTR_T
-- Performing Test HAVE_CXX11_NULLPTR_T - Success
-- Performing Test HAVE_LOCALTIME_R
-- Performing Test HAVE_LOCALTIME_R - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_FLAGS_RELEASE
    CMAKE_Fortran_FLAGS_RELEASE
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu

[..]

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NZjtr9
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd glog-0.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  1: logging_custom_prefix
 1/16 Test  #1: logging_custom_prefix ............   Passed    1.26 sec
      Start  2: demangle
 2/16 Test  #2: demangle .........................   Passed    0.01 sec
      Start  3: logging
 3/16 Test  #3: logging ..........................   Passed    1.56 sec
      Start  4: signalhandler
 4/16 Test  #4: signalhandler ....................   Passed    0.01 sec
      Start  5: stacktrace
 5/16 Test  #5: stacktrace .......................   Passed    0.01 sec
      Start  6: stl_logging
 6/16 Test  #6: stl_logging ......................   Passed    0.01 sec
      Start  7: symbolize
 7/16 Test  #7: symbolize ........................Subprocess aborted***Exception:   0.19 sec
Test case TestWithPCInsideNonInlineFunction passed.
F20220406 21:53:27.605813 3791443 symbolize_unittest.cc:373] CHECK_STREQ failed: symbol == "main" (google::thread_msg_data vs. main)
*** Check failure stack trace: ***
    @     0x7fdaeb14ba23  google::LogMessage::Fail()
    @     0x7fdaeb15061f  google::LogMessage::SendToLog()
    @     0x7fdaeb14b649  google::LogMessage::Flush()
    @     0x7fdaeb14bdcf  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fdaeb149c6b  TestWithReturnAddress()
    @     0x7fdaeb147585  google::thread_msg_data
    @     0x7fdaeacaa550  __libc_start_call_main
    @     0x7fdaeacaa609  __libc_start_main_alias_2
    @     0x7fdaeb148fb5  _start
    @              (nil)  (unknown)

      Start  8: cmake_package_config_init
 8/16 Test  #8: cmake_package_config_init ........   Passed    0.04 sec
      Start  9: cmake_package_config_generate
 9/16 Test  #9: cmake_package_config_generate ....   Passed    0.61 sec
      Start 10: cmake_package_config_build
10/16 Test #10: cmake_package_config_build .......   Passed    0.92 sec
      Start 11: cmake_package_config_cleanup
11/16 Test #11: cmake_package_config_cleanup .....   Passed    0.02 sec
      Start 12: cleanup_init
12/16 Test #12: cleanup_init .....................   Passed    0.02 sec
      Start 14: cleanup_immediately
13/16 Test #14: cleanup_immediately ..............   Passed    3.14 sec
      Start 15: cleanup_with_absolute_prefix
14/16 Test #15: cleanup_with_absolute_prefix .....   Passed    3.15 sec
      Start 16: cleanup_with_relative_prefix
15/16 Test #16: cleanup_with_relative_prefix .....   Passed    6.15 sec
      Start 13: cleanup_logdir
16/16 Test #13: cleanup_logdir ...................   Passed    0.02 sec

94% tests passed, 1 tests failed out of 16

Total Test time (real) =  17.17 sec

The following tests FAILED:
          7 - symbolize (Subprocess aborted)
Errors while running CTest

@kloczek
Copy link
Author

kloczek commented Apr 6, 2022

And result still is the same is when LTO is used

+ cd glog-0.6.0
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -std=c++14'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S .

[..]

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KXv841
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd glog-0.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  1: logging_custom_prefix
 1/16 Test  #1: logging_custom_prefix ............   Passed    1.31 sec
      Start  2: demangle
 2/16 Test  #2: demangle .........................   Passed    0.01 sec
      Start  3: logging
 3/16 Test  #3: logging ..........................   Passed    1.58 sec
      Start  4: signalhandler
 4/16 Test  #4: signalhandler ....................   Passed    0.01 sec
      Start  5: stacktrace
 5/16 Test  #5: stacktrace .......................Subprocess aborted***Exception:   0.18 sec
Obtained 10 stack frames.
Obtained 10 stack frames.
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11755) [0x7fd473c24755] 0x7fd473c24755
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x118f7) [0x7fd473c248f7] 0x7fd473c248f7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11a97) [0x7fd473c24a97] 0x7fd473c24a97
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11c37) [0x7fd473c24c37] 0x7fd473c24c37
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x11da7) [0x7fd473c24da7] 0x7fd473c24da7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x66d1) [0x7fd473c196d1] 0x7fd473c196d1
/lib64/libc.so.6(+0x2d550) [0x7fd47377c550] 0x7fd47377c550
/lib64/libc.so.6(__libc_start_main+0x89) [0x7fd47377c609] 0x7fd47377c609
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x78c5) [0x7fd473c1a8c5] 0x7fd473c1a8c5
[(nil)] (nil)
CheckStackTrace() addr: 0x7fd473c24d50
Backtrace 0: expected: 0x7fd473c242ca..0x7fd473c244bb  actual: 0x7fd473c24755 ... F20220406 21:57:55.667479 3793300 stacktrace_unittest.cc:109] Check failed: ret_addr <= range.end (0x7fd473c24755 vs. 0x7fd473c244bb)
*** Check failure stack trace: ***
    @     0x7fd473c22e26  google::LogMessage::SendToLog()
    @     0x7fd473c1cbe9  google::LogMessage::Flush()
    @     0x7fd473c245ad  CheckStackTraceLeaf()
    @     0x7fd473c24755  CheckStackTrace4()
    @     0x7fd473c248f7  CheckStackTrace3()
    @     0x7fd473c24a97  CheckStackTrace2()
    @     0x7fd473c24c37  CheckStackTrace1()
    @     0x7fd473c24da7  CheckStackTrace()
    @     0x7fd473c196d1  google::thread_msg_data
    @     0x7fd47377c550  __libc_start_call_main
    @     0x7fd47377c609  __libc_start_main_alias_2
    @     0x7fd473c1a8c5  _start
    @              (nil)  (unknown)

      Start  6: stl_logging
 6/16 Test  #6: stl_logging ......................   Passed    0.01 sec
      Start  7: symbolize
 7/16 Test  #7: symbolize ........................Subprocess aborted***Exception:   0.19 sec
Test case TestWithPCInsideNonInlineFunction passed.
F20220406 21:57:55.862165 3793302 symbolize_unittest.cc:373] CHECK_STREQ failed: symbol == "main" (google::thread_msg_data vs. main)
*** Check failure stack trace: ***
    @     0x7fa58bac6f06  google::LogMessage::SendToLog()
    @     0x7fa58babf3d9  google::LogMessage::Flush()
    @     0x7fa58babf74b  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fa58bac8ae5  TestWithReturnAddress()
    @     0x7fa58babb9e3  google::thread_msg_data
    @     0x7fa58b61e550  __libc_start_call_main
    @     0x7fa58b61e609  __libc_start_main_alias_2
    @     0x7fa58babd085  _start
    @              (nil)  (unknown)

      Start  8: cmake_package_config_init
 8/16 Test  #8: cmake_package_config_init ........   Passed    0.04 sec
      Start  9: cmake_package_config_generate
 9/16 Test  #9: cmake_package_config_generate ....   Passed    0.76 sec
      Start 10: cmake_package_config_build
10/16 Test #10: cmake_package_config_build .......   Passed    1.15 sec
      Start 11: cmake_package_config_cleanup
11/16 Test #11: cmake_package_config_cleanup .....   Passed    0.02 sec
      Start 12: cleanup_init
12/16 Test #12: cleanup_init .....................   Passed    0.02 sec
      Start 14: cleanup_immediately
13/16 Test #14: cleanup_immediately ..............   Passed    3.14 sec
      Start 15: cleanup_with_absolute_prefix
14/16 Test #15: cleanup_with_absolute_prefix .....   Passed    3.15 sec
      Start 16: cleanup_with_relative_prefix
15/16 Test #16: cleanup_with_relative_prefix .....   Passed    6.15 sec
      Start 13: cleanup_logdir
16/16 Test #13: cleanup_logdir ...................   Passed    0.02 sec

88% tests passed, 2 tests failed out of 16

Total Test time (real) =  17.78 sec

The following tests FAILED:
          5 - stacktrace (Subprocess aborted)
          7 - symbolize (Subprocess aborted)
Errors while running CTest

@sergiud
Copy link
Collaborator

sergiud commented Apr 6, 2022

Alternatively, you could try disabling TLS by passing -DWITH_TLS=OFF to cmake and see if this helps.

@z3ntu
Copy link

z3ntu commented Apr 8, 2022

The same failure happens on Alpine Linux with glog 0.6.0. Version 0.5.0 still worked fine.

Build and test log: https://gitlab.alpinelinux.org/z3ntu/aports/-/jobs/682229#L294

With -DWITH_TLS=OFF the error seems to change to the following

 5/15 Test  #5: symbolize ........................***Failed    0.00 sec
Test case TestWithPCInsideNonInlineFunction passed.
Test case TestWithReturnAddress passed.
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from Symbolize
[ RUN      ] Symbolize.Symbolize
[       OK ] Symbolize.Symbolize (0 ms)
[ RUN      ] Symbolize.SymbolizeWithDemangling
[       OK ] Symbolize.SymbolizeWithDemangling (0 ms)
[ RUN      ] Symbolize.SymbolizeStackConsumption
I20220408 19:10:52.984872  1260 symbolize_unittest.cc:259] Stack consumption of empty signal handler: 1296
I20220408 19:10:52.984906  1260 symbolize_unittest.cc:261] Stack consumption of symbolize signal handler: 3456
I20220408 19:10:52.984920  1260 symbolize_unittest.cc:263] Stack consumption of Symbolize: 2160
/home/builder/aports/community/glog/src/glog-0.6.0/src/symbolize_unittest.cc:289: Failure
Expected: (stack_consumed) < (kStackConsumptionUpperLimit), actual: 2160 vs 2048
I20220408 19:10:52.985044  1260 symbolize_unittest.cc:259] Stack consumption of empty signal handler: 1296
I20220408 19:10:52.985070  1260 symbolize_unittest.cc:261] Stack consumption of symbolize signal handler: 3456
I20220408 19:10:52.985085  1260 symbolize_unittest.cc:263] Stack consumption of Symbolize: 2160
/home/builder/aports/community/glog/src/glog-0.6.0/src/symbolize_unittest.cc:299: Failure
Expected: (stack_consumed) < (kStackConsumptionUpperLimit), actual: 2160 vs 2048
[  FAILED  ] Symbolize.SymbolizeStackConsumption (0 ms)
[ RUN      ] Symbolize.SymbolizeWithDemanglingStackConsumption
I20220408 19:10:52.985188  1260 symbolize_unittest.cc:259] Stack consumption of empty signal handler: 1296
I20220408 19:10:52.985206  1260 symbolize_unittest.cc:261] Stack consumption of symbolize signal handler: 3456
I20220408 19:10:52.985219  1260 symbolize_unittest.cc:263] Stack consumption of Symbolize: 2160
/home/builder/aports/community/glog/src/glog-0.6.0/src/symbolize_unittest.cc:313: Failure
Expected: (stack_consumed) < (kStackConsumptionUpperLimit), actual: 2160 vs 2048
[  FAILED  ] Symbolize.SymbolizeWithDemanglingStackConsumption (0 ms)

TestWithReturnAddress passes now which seems to be the failing test before.

@sergiud
Copy link
Collaborator

sergiud commented Apr 8, 2022

Could you possibly bisect?

@z3ntu
Copy link

z3ntu commented Apr 8, 2022

Ok so the built symbolize_unittest actually runs only since the following commit but seems to always fail. Before it just prints PASS (no symbolize support)

commit 396558472185d1796604e42a3ba458e29a60f25b
Author: huangqinjin <[email protected]>
Date:   Sat Oct 9 04:14:20 2021 +0800

    support stack unwind on Android

In all bisect tries it fails with the same error which I posted above (stack consumption error). Weirdly I haven't seen the symbol == "main" error I got in the actual build environment, maybe some dependencies are different there.

Not sure if it matters but Alpine Linux uses musl libc instead of glibc.

@sergiud
Copy link
Collaborator

sergiud commented Apr 8, 2022

Thanks. I'll need to take a closer look. As for now, however, it looks like the failure is non catastrophic and can be safely ignored.

andypost referenced this issue in alpinelinux/aports Oct 31, 2023
@sergiud
Copy link
Collaborator

sergiud commented Jan 8, 2024

@kloczek Could you please test glog at head and see if the problem is still present?

@kloczek
Copy link
Author

kloczek commented Jan 11, 2024

One sec .. 😋

@kloczek
Copy link
Author

kloczek commented Jan 11, 2024

With additional patch out of 7e6fca9 commit test suite still fails
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu
      Start  7: cmake_package_config_init
      Start 11: cleanup_init
      Start  1: demangle
 1/26 Test  #1: demangle .........................***Not Run (Disabled)   0.00 sec
      Start  2: logging
      Start  3: signalhandler
      Start  4: stacktrace
      Start  5: stl_logging
      Start  6: symbolize
      Start 16: striplog0
      Start 17: striplog2
      Start 18: striplog10
      Start 19: log_severity_constants
      Start 20: log_severity_conversion
      Start 21: includes_logging
      Start 22: includes_vlog_is_on
      Start 23: includes_raw_logging
      Start 24: includes_stl_logging
      Start 25: dcheck_on
      Start 26: dcheck_off
 2/26 Test #26: dcheck_off .......................***Not Run (Disabled)   0.00 sec
 3/26 Test  #7: cmake_package_config_init ........   Passed    0.03 sec
      Start  8: cmake_package_config_generate
 4/26 Test #11: cleanup_init .....................   Passed    0.03 sec
      Start 13: cleanup_immediately
      Start 14: cleanup_with_absolute_prefix
      Start 15: cleanup_with_relative_prefix
 5/26 Test  #3: signalhandler ....................   Passed    0.03 sec
 6/26 Test  #5: stl_logging ......................   Passed    0.03 sec
 7/26 Test  #6: symbolize ........................   Passed    0.03 sec
 8/26 Test #16: striplog0 ........................   Passed    0.03 sec
 9/26 Test #17: striplog2 ........................   Passed    0.02 sec
10/26 Test #18: striplog10 .......................   Passed    0.02 sec
11/26 Test #13: cleanup_immediately ..............   Passed    0.04 sec
12/26 Test #14: cleanup_with_absolute_prefix .....   Passed    0.04 sec
13/26 Test #15: cleanup_with_relative_prefix .....   Passed    0.04 sec
      Start 12: cleanup_logdir
14/26 Test #12: cleanup_logdir ...................   Passed    0.01 sec
15/26 Test  #4: stacktrace .......................Subprocess aborted***Exception:   0.12 sec
Obtained 9 stack frames.
Obtained 9 stack frames.
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x1e485) [0x560981199485] 0x560981199485
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x1e677) [0x560981199677] 0x560981199677
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x1e857) [0x560981199857] 0x560981199857
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x1ea37) [0x560981199a37] 0x560981199a37
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x1ebe7) [0x560981199be7] 0x560981199be7
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0x9a74) [0x560981184a74] 0x560981184a74
/lib64/libc.so.6(+0x2814a) [0x7fb953c4514a] 0x7fb953c4514a
/lib64/libc.so.6(__libc_start_main+0x8b) [0x7fb953c4520b] 0x7fb953c4520b
/home/tkloczko/rpmbuild/BUILD/glog-0.6.0/x86_64-redhat-linux-gnu/stacktrace_unittest(+0xadd5) [0x560981185dd5] 0x560981185dd5
CheckStackTrace() addr: 0x560981199b90
Backtrace 0: expected: 0x560981198fc7..0x56098119911b  actual: 0x560981199485 ... F20240111 09:13:21.686606 140433956101696 stacktrace_unittest.cc:114] Check failed: ret_addr <= range.end (0x560981199485 vs. 0x56098119911b)
*** Check failure stack trace: ***
    @     0x5609811a3b5c  google::LogMessage::SendToLog()
    @     0x560981189906  google::LogMessage::Flush()
    @     0x56098119924a  CheckStackTraceLeaf()
    @     0x560981199485  CheckStackTrace4(int)
    @     0x560981199677  CheckStackTrace3(int)
    @     0x560981199857  CheckStackTrace2(int)
    @     0x560981199a37  CheckStackTrace1(int)
    @     0x560981199be7  CheckStackTrace(int)
    @     0x560981184a74  main
    @     0x7fb953c4514a  __libc_start_call_main
    @     0x7fb953c4520b  __libc_start_main_alias_2
    @     0x560981185dd5  _start

16/26 Test  #2: logging ..........................   Passed    0.27 sec
17/26 Test  #8: cmake_package_config_generate ....   Passed    0.69 sec
      Start  9: cmake_package_config_build
18/26 Test #23: includes_raw_logging .............   Passed    1.24 sec
19/26 Test #22: includes_vlog_is_on ..............   Passed    1.25 sec
20/26 Test #20: log_severity_conversion ..........   Passed    1.30 sec
21/26 Test #19: log_severity_constants ...........   Passed    1.33 sec
22/26 Test #24: includes_stl_logging .............   Passed    1.44 sec
23/26 Test  #9: cmake_package_config_build .......   Passed    0.87 sec
      Start 10: cmake_package_config_cleanup
24/26 Test #10: cmake_package_config_cleanup .....   Passed    0.01 sec
25/26 Test #21: includes_logging .................   Passed    1.64 sec
26/26 Test #25: dcheck_on ........................   Passed    1.69 sec

96% tests passed, 1 tests failed out of 24

Total Test time (real) =   1.73 sec

The following tests did not run:
          1 - demangle (Disabled)
         26 - dcheck_off (Disabled)

The following tests FAILED:
          4 - stacktrace (Subprocess aborted)
Errors while running CTest

Feel free to drop any temporary patch with some additional diagnostics or any other command which may help to diagnose this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants