diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-02-16 16:33:22 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-18 13:19:36 -0800 |
commit | 959182dfa0b51a4577f34f7ba7a6b56e2ba2fde4 (patch) | |
tree | 58ad939798a07317148eaaa70686e0be1c8353f5 /meta-oe/recipes-support/glog/glog/libexecinfo.patch | |
parent | c64ebfa6d81a9453640cecf10112d869be1b7140 (diff) | |
download | meta-openembedded-contrib-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>
Diffstat (limited to 'meta-oe/recipes-support/glog/glog/libexecinfo.patch')
-rw-r--r-- | meta-oe/recipes-support/glog/glog/libexecinfo.patch | 23 |
1 files changed, 17 insertions, 6 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 @@ -Link libexecinfo if its found, this is needed for musl based systems +From 19d00c15710840910a7397252c14d612746631fe Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Mon, 8 Mar 2021 14:58:40 -0800 +Subject: [PATCH] Link libexecinfo if its found, this is needed for musl based + systems Fixes ld: libglog.so.0.4.0: undefined reference to `backtrace' @@ -6,17 +10,24 @@ ld: libglog.so.0.4.0: undefined reference to `backtrace' Upstream-Status: Pending Signed-off-by: Khem Raj <raj.khem@gmail.com> + +--- + CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 846b444..1553358 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -144,6 +144,7 @@ check_cxx_compiler_flag (-Wunnamed-type- - check_symbol_exists (snprintf cstdio HAVE_SNPRINTF) +@@ -162,6 +162,7 @@ cmake_pop_check_state () + check_cxx_symbol_exists (snprintf cstdio HAVE_SNPRINTF) check_library_exists (dbghelp UnDecorateSymbolName "" HAVE_DBGHELP) +check_library_exists (execinfo backtrace "" HAVE_EXECINFO) check_cxx_source_compiles (" #include <cstdlib> -@@ -584,6 +585,10 @@ if (Unwind_FOUND) +@@ -629,6 +630,10 @@ if (Unwind_FOUND) set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})") endif (Unwind_FOUND) @@ -25,5 +36,5 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> +endif (HAVE_EXECINFO) + if (HAVE_DBGHELP) - target_link_libraries (glog PUBLIC dbghelp) - endif (HAVE_DBGHELP) + target_link_libraries (glog PRIVATE dbghelp) + set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -ldbghelp") |