Package Details: abseil-cpp-git r673.143a2780-2

Git Clone URL: (read-only, click to copy)
Package Base: abseil-cpp-git
Description: An open-source collection of C++ code to augment the C++ standard library
Upstream URL:
Licenses: Apache
Conflicts: abseil-cpp
Provides: abseil-cpp
Submitter: sandsmark
Maintainer: akstrfn
Last Packager: akstrfn
Votes: 0
Popularity: 0.000000
First Submitted: 2018-07-04 12:44 (UTC)
Last Updated: 2021-02-14 20:55 (UTC)

Dependencies (2)

Required by (31)

Sources (1)

Latest Comments

akstrfn commented on 2021-02-07 16:02 (UTC)

I'm not sure how to address this. Patch is fairly trivial however PIC for static library is not an optimal solution. I'll try to find a better solution and if not I'll just change to PIC.

AchmadFathoni commented on 2021-02-06 23:43 (UTC) (edited on 2021-02-07 00:09 (UTC) by AchmadFathoni)

Get this error, seems like -fPIC flag not used when compiling this package

/usr/bin/ld: /usr/lib/libabsl_base.a( relocation R_X86_64_TPOFF32 against `_ZGVZN4absl13base_internal12GetCachedTIDEvE9thread_id' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libabsl_throw_delegate.a( warning: relocation against `_ZTVSt12domain_error@@GLIBCXX_3.4' in read-only section `.text.unlikely'
/usr/bin/ld: /usr/lib/libabsl_synchronization.a( relocation R_X86_64_PC32 against symbol `_ZN4absl9Condition19CallVoidPtrFunctionEPKS0_' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

adding cmake argument -DCMAKE_POSITION_INDEPENDENT_CODE=ON fix the problem

akstrfn commented on 2018-08-21 17:37 (UTC)

@sandmark I am willing to give it a shot at cleaning :)

sandsmark commented on 2018-08-18 11:49 (UTC)

yeah, I kind of gave up using it. I'll just disown it, in case someone else wants to clean it up.

falconindy commented on 2018-07-05 12:21 (UTC)

Unfortunately, this package is incomplete. Not all of the API is contained within .h files -- there's also some .inc files scattered about. Additionally, you're missing out on the entirety of what should be /usr/include/absl/base/internal.

Ignoring the above, there still seems to be problems with the package, which I'm still unable to resolve. This simple program crashes by throwing std::bad_alloc, and shouldn't:

#include "absl/strings/str_cat.h"

int main() { auto s = absl::StrCat("1", "2"); }