abseil / abseil-cpp

Abseil Common Libraries (C++)

Home Page:https://abseil.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failing with latest commit

alokgarg-quodd opened this issue · comments

Build failure with latest commit

/opt/rh/gcc-toolset-9/root/usr/bin/ld: /home/agarg/code_repos/ufmdt/3rdparty-install/lib/libabsl_status.a(status.cc.o): in function absl::ErrnoToStatus(int, std::basic_string_view<char, std::char_traits<char> >)': status.cc:(.text+0x14b0): undefined reference to absl::base_internal::StrErrorabi:cxx11'
collect2: error: ld returned 1 exit status

Steps to reproduce the bug

Trying to include the library causes build failure

Picking head from repo

Rhel 8

If you are using a Linux distribution please include the name and version of the
distribution as well.

What compiler and version are you using?

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/gcc-toolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/gcc-toolset-9/root/usr --mahare/man --infodir=/opt/rh/gcc-toolset-9/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --e=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --en-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-9.2.1-2019all --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 9.2.1 20191120 (Red Hat 9.2.1-2) (GCC)

What build system are you using?
cmake version 3.18.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Additional context

Add any other context about the problem here.

added additional libs to makefile to resolve the issue