Skip to content

Commit

Permalink
glog: upgrade 0.5.0 -> 0.6.0
Browse files Browse the repository at this point in the history
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 openembedded#668)
    cmake: allow to override -fPIC
    cmake: export <atomic> availability (fixes openembedded#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 openembedded#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 openembedded#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>
  • Loading branch information
wangmingyu84 authored and kraj committed Feb 18, 2023
1 parent c64ebfa commit 959182d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 17 additions & 6 deletions meta-oe/recipes-support/glog/glog/libexecinfo.patch
@@ -1,22 +1,33 @@
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'
| collect2: error: ld returned 1 exit status

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)

Expand All @@ -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")
Expand Up @@ -11,7 +11,7 @@ SRC_URI = " \
file://libexecinfo.patch \
"

SRCREV = "8f9ccfe770add9e4c64e9b25c102658e3c763b73"
SRCREV = "b33e3bad4c46c8a6345525fd822af355e5ef9446"

S = "${WORKDIR}/git"

Expand Down

0 comments on commit 959182d

Please sign in to comment.