tvl-depot/third_party/glog
sterni 04f7cc3880 fix(3p): resolve linker issues with clang-compiled C++ packages
The point where this broke is likely when llvmPackages_11.stdenv started
respecting stdenv.hostPlatform.linker and thus using GNU binutils'
ld.bfd for linking. That linker can't deal with clang's C++ ABI.

To fix this we introduce a modified version of llvmPackages_11.stdenv
which uses llvmPackages_11.bintools for linking purposes (I also aim to
upstream this in some form, but am not sure about the details atm, so
we'll just do this in the tvl overlay for now). This is the precondition
for getting our C++ packages in //third_party to work
again. Additionally the following fixes were necessary:

* abseil-cpp needed to be updated (by overriding the version from
  nixpkgs for now, since I can't update the subtree on my own) to
  fulfill grpc's requirements (grpc 1.41.0 needs abseil-cpp LTS
  20210324).

* gtest needs a patch from nixpkgs which fixes the path to its include
  directory for CMake.

* We need to build re2 with clang as well, otherwise linking will fail.

Fixes b/132.

Change-Id: I7b64579fe96451547babe070fd35db398581e49d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3701
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
2021-10-10 10:03:03 +00:00
..
.bazelci merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
bazel merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
cmake merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
doc merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
m4 merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
packages merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
src merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
toolchains merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
.gitignore merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
.travis.ubuntu.sh merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
.travis.yml merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
appveyor.yml merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
AUTHORS merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
autogen.sh merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
BUILD merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
ChangeLog merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
CMakeLists.txt merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
configure.ac merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
CONTRIBUTING.md merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
CONTRIBUTORS merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
COPYING merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
default.nix fix(3p): resolve linker issues with clang-compiled C++ packages 2021-10-10 10:03:03 +00:00
Dockerfile.ubuntu.template merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
glog-config.cmake.in merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
glog-modules.cmake.in merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
INSTALL merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
libglog.pc.in merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
Makefile.am merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
README.md merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
README.windows merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00
WORKSPACE merge(3p/glog): Vendor glog from commit 'afe04691' 2020-05-27 01:26:39 +01:00

Build Status Grunt status

This repository contains a C++ implementation of the Google logging module. Documentation for the implementation is in doc/.

See INSTALL for (generic) installation instructions for C++: basically

./autogen.sh && ./configure && make && make install