summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-02-16 16:33:22 +0800
committerKhem Raj <raj.khem@gmail.com>2023-02-18 13:19:36 -0800
commit959182dfa0b51a4577f34f7ba7a6b56e2ba2fde4 (patch)
tree58ad939798a07317148eaaa70686e0be1c8353f5
parentc64ebfa6d81a9453640cecf10112d869be1b7140 (diff)
downloadmeta-openembedded-959182dfa0b51a4577f34f7ba7a6b56e2ba2fde4.tar.gz
glog: upgrade 0.5.0 -> 0.6.0
libexecinfo.patch refreshed for new version. Changelog: =========== bazel: Use glog 0.5.0 in README Expose IsGoogleLoggingInitialized() in public API. Fix cmake configuration for cygwin environment Allow updating vmodule levels after vmodule level has been cached Export COPYING cmake: fixed msvc snprintf detection (fixes #668) cmake: allow to override -fPIC cmake: export <atomic> availability (fixes #667) Remove ubuntu1604 from presubmit.yml bazel: add GLOG_CUSTOM_PREFIX_SUPPORT log messages periodically (time-based) ci: support more targets cmake: prefer linking against gflags::gflags (fixes #683) Fix syscall deprecation warning on macOS >= 10.12 fixed exception specification mismatch readme: fix wrong header id eliminate warnings fixed additional warnings Add an static cast to compare unsigned with unsigned Fix: not implement virtual class when WITH_CUSTOM_PREFIX on Change size type in AnnotateBenignRaceSized to size_t from long Fix link error for Emscripten raw_logging.h depends on type definition in logging.h. export OS_* defines (fixes #715) Fix syscall warning in Bazel Build Add -Werror to Bazel presubmits added gmock support Support stack unwind on Android add linux github workflow ci: replace generated headers by templates add mock log test added log cleaner tests and fixed paths Make LogCleaner support relative paths cmake: Fix incorrect relative-path concatenation Restore the stream format after writing the log prefix fix glog-modules.cmake install protect VLOG by use_logging Fix log filename format Add Zhuoran Shen to AUTHORS and CONTRIBUTORS ci: reworked windows builds cmake: set CMP0074 policy ci: use codecov token Added gmtoff() method in 'LogMessageTime' to get GMT offset LogCleaner: Fix relative paths and add a new test eliminate msvc warnings cmake: require at least version 3.16 ci: enable warnings as errors LogCleaner: make overdue_days_ unsigned int ci: remove deprecated msvc runner provide backward compatible send overload run clang-tidy eliminate clang warnings ensure _Unwind_Backtrace to actually be available cmake: do not search for platform specific unwind revert to signed int atomics Add the "FLAG_log_year_in_prefix" use uint32 for --max-log-size stdcxx: eliminate excessive use of std::string::c_str() cmake: require at least gflags 2.2.2 Changed my Email ID On Solaris, GetHostName() returns empty string LogCleaner: avoid scanning logs too frequently libglog.pc: Set Libs.private for static linking cmake: enable custom prefix by default simplify flags export rename GOOGLE_GLOG_DLL_DECL to GLOG_EXPORT cmake_package_config_generate: Fix CMake warnings with CMake 3.23 Tests: Respect TEST_TMPDIR, TMPDIR, TMP environmental variables Add the logtostdout and colorlogtostdout flag to allow logging to stdout Add clang-cl.exe to Bazel CI Fix "'GLOG_EXPORT' macro redefined" on clang-cl Fix namespace resolution issue in LOG_EVERY_T Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/glog/glog/libexecinfo.patch23
-rw-r--r--meta-oe/recipes-support/glog/glog_0.6.0.bb (renamed from meta-oe/recipes-support/glog/glog_0.5.0.bb)2
2 files changed, 18 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/glog/glog/libexecinfo.patch b/meta-oe/recipes-support/glog/glog/libexecinfo.patch
index 927c269a6a..a791a40dbc 100644
--- a/meta-oe/recipes-support/glog/glog/libexecinfo.patch
+++ b/meta-oe/recipes-support/glog/glog/libexecinfo.patch
@@ -1,4 +1,8 @@
1Link libexecinfo if its found, this is needed for musl based systems 1From 19d00c15710840910a7397252c14d612746631fe Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 8 Mar 2021 14:58:40 -0800
4Subject: [PATCH] Link libexecinfo if its found, this is needed for musl based
5 systems
2 6
3Fixes 7Fixes
4ld: libglog.so.0.4.0: undefined reference to `backtrace' 8ld: libglog.so.0.4.0: undefined reference to `backtrace'
@@ -6,17 +10,24 @@ ld: libglog.so.0.4.0: undefined reference to `backtrace'
6 10
7Upstream-Status: Pending 11Upstream-Status: Pending
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14---
15 CMakeLists.txt | 5 +++++
16 1 file changed, 5 insertions(+)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 846b444..1553358 100644
9--- a/CMakeLists.txt 20--- a/CMakeLists.txt
10+++ b/CMakeLists.txt 21+++ b/CMakeLists.txt
11@@ -144,6 +144,7 @@ check_cxx_compiler_flag (-Wunnamed-type- 22@@ -162,6 +162,7 @@ cmake_pop_check_state ()
12 check_symbol_exists (snprintf cstdio HAVE_SNPRINTF) 23 check_cxx_symbol_exists (snprintf cstdio HAVE_SNPRINTF)
13 24
14 check_library_exists (dbghelp UnDecorateSymbolName "" HAVE_DBGHELP) 25 check_library_exists (dbghelp UnDecorateSymbolName "" HAVE_DBGHELP)
15+check_library_exists (execinfo backtrace "" HAVE_EXECINFO) 26+check_library_exists (execinfo backtrace "" HAVE_EXECINFO)
16 27
17 check_cxx_source_compiles (" 28 check_cxx_source_compiles ("
18 #include <cstdlib> 29 #include <cstdlib>
19@@ -584,6 +585,10 @@ if (Unwind_FOUND) 30@@ -629,6 +630,10 @@ if (Unwind_FOUND)
20 set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})") 31 set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})")
21 endif (Unwind_FOUND) 32 endif (Unwind_FOUND)
22 33
@@ -25,5 +36,5 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25+endif (HAVE_EXECINFO) 36+endif (HAVE_EXECINFO)
26+ 37+
27 if (HAVE_DBGHELP) 38 if (HAVE_DBGHELP)
28 target_link_libraries (glog PUBLIC dbghelp) 39 target_link_libraries (glog PRIVATE dbghelp)
29 endif (HAVE_DBGHELP) 40 set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -ldbghelp")
diff --git a/meta-oe/recipes-support/glog/glog_0.5.0.bb b/meta-oe/recipes-support/glog/glog_0.6.0.bb
index 61581d96d7..18291600c5 100644
--- a/meta-oe/recipes-support/glog/glog_0.5.0.bb
+++ b/meta-oe/recipes-support/glog/glog_0.6.0.bb
@@ -11,7 +11,7 @@ SRC_URI = " \
11 file://libexecinfo.patch \ 11 file://libexecinfo.patch \
12" 12"
13 13
14SRCREV = "8f9ccfe770add9e4c64e9b25c102658e3c763b73" 14SRCREV = "b33e3bad4c46c8a6345525fd822af355e5ef9446"
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17