View previous topic :: View next topic |
Author |
Message |
juansta n00b
Joined: 06 Jul 2015 Posts: 13
|
Posted: Tue Aug 13, 2024 3:06 am Post subject: [SOLVED] dev-cpp/abseil-cpp Failing to build |
|
|
Hi All,
I've been having issues emerging dev-cpp/abseil-cpp over the last few months, and this also stops dev-libs/protobuf from building...
I have searched posts, and nothing looks similar to the issues I am having, but I could be wrong... I have tried to unmask to the latest abseil-cpp package (using ~amd64 keyword) but this makes no difference - same failure on stable.
Could someone try and shed some light on what Im seeing please? What have I borked... It is telling me I need to recompile with -fPIC? To me, it reads like that's for the gmock library? But I have -test?
So far, my @world update continues if I add "--keep-going" - so it's not a real problem (yet)...
Code: |
[ebuild N ] dev-cpp/abseil-cpp-20240116.2-r3 USE="-test" ABI_X86="(64) -32 (-x32)"
|
Code: |
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.6.38-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.38-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.39
KiB Mem: 65795044 total, 27570668 free
KiB Swap: 4194300 total, 968336 free
Timestamp of repository gentoo: Mon, 12 Aug 2024 22:19:07 +0000
Head commit of repository gentoo: 77f2ce2b081e028e614756bad455bcf6b7a3c98a
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 2.7.18_p16-r2::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust: 1.79.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 255.7-r1::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm: 17.0.6::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: -1000
volatile: False
crossdev
location: /var/db/repos/portage-crossdev
masters: gentoo
priority: 10
volatile: False
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver2 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cet corefonts crypt cuda cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif git gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc lm-sensors mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nvidia ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb v4l vim-syntax vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php8-0" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Code: |
* Package: dev-cpp/abseil-cpp-20240116.2-r3:0/20240116
* Repository: gentoo
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Checking whether python3_12 is suitable ...
* dev-lang/python:3.12 ... [ ok ]
* Using python3.12 to build (via PYTHON_COMPAT iteration)
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build"
* Applying abseil-cpp-20230802.0-sdata-tests.patch ... [ ok ]
* Applying abseil-cpp-random-tests.patch ... [ ok ]
* Applying abseil-cpp-20230802.0-conditional-use-of-lzcnt.patch ... [ ok ]
* Fixing shebang in absl/copts/generate_copts.py.
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64"
cmake -C /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_STANDARD=14 -DABSL_ENABLE_INSTALL=TRUE -DABSL_USE_EXTERNAL_GOOGLETEST=ON -DABSL_PROPAGATE_CXX_STD=TRUE -DABSL_BUILD_TEST_HELPERS=ON -DABSL_BUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2
loading initial cache file /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 13.3.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Failed
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found GTest: /usr/local/lib64/cmake/GTest/GTestConfig.cmake (found version "1.10.0")
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C
C++ -march=znver2 -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
-- Configuring done (0.7s)
-- Generating done (0.6s)
-- Build files have been written to: /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64"
[304/326] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=znver2 -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -shared -Wl,-soname,libabsl_die_if_null.so.2401.0.0 -o absl/log/libabsl_die_if_null.so.2401.0.0 absl/log/CMakeFiles/die_if_null.dir/die_if_null.cc.o -Wl,-rpath,/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/log:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/debugging:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/strings:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/hash:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/types:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/base:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/synchronization:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/time:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/numeric: absl/log/libabsl_log_internal_conditions.so.2401.0.0 absl/log/libabsl_log_internal_message.so.2401.0.0 absl/debugging/libabsl_examine_stack.so.2401.0.0 absl/log/libabsl_log_internal_format.so.2401.0.0 absl/strings/libabsl_str_format_internal.so.2401.0.0 absl/log/libabsl_log_internal_proto.so.2401.0.0 absl/log/libabsl_log_internal_nullguard.so.2401.0.0 absl/log/libabsl_log_internal_log_sink_set.so.2401.0.0 absl/log/libabsl_log_internal_globals.so.2401.0.0 absl/log/libabsl_log_globals.so.2401.0.0 absl/hash/libabsl_hash.so.2401.0.0 absl/hash/libabsl_city.so.2401.0.0 absl/types/libabsl_bad_variant_access.so.2401.0.0 absl/hash/libabsl_low_level_hash.so.2401.0.0 absl/log/libabsl_log_sink.so.2401.0.0 absl/log/libabsl_log_entry.so.2401.0.0 absl/base/libabsl_strerror.so.2401.0.0 absl/log/libabsl_vlog_config_internal.so.2401.0.0 absl/synchronization/libabsl_synchronization.so.2401.0.0 absl/debugging/libabsl_stacktrace.so.2401.0.0 absl/debugging/libabsl_symbolize.so.2401.0.0 absl/debugging/libabsl_debugging_internal.so.2401.0.0 absl/debugging/libabsl_demangle_internal.so.2401.0.0 absl/synchronization/libabsl_graphcycles_internal.so.2401.0.0 absl/base/libabsl_malloc_internal.so.2401.0.0 absl/synchronization/libabsl_kernel_timeout_internal.so.2401.0.0 absl/time/libabsl_time.so.2401.0.0 absl/time/libabsl_civil_time.so.2401.0.0 absl/time/libabsl_time_zone.so.2401.0.0 absl/log/libabsl_log_internal_fnmatch.so.2401.0.0 absl/strings/libabsl_strings.so.2401.0.0 absl/strings/libabsl_strings_internal.so.2401.0.0 absl/strings/libabsl_string_view.so.2401.0.0 absl/base/libabsl_base.so.2401.0.0 absl/base/libabsl_spinlock_wait.so.2401.0.0 absl/numeric/libabsl_int128.so.2401.0.0 absl/base/libabsl_throw_delegate.so.2401.0.0 absl/types/libabsl_bad_optional_access.so.2401.0.0 absl/base/libabsl_raw_logging_internal.so.2401.0.0 absl/base/libabsl_log_severity.so.2401.0.0 && :
[305/326] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=znver2 -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -shared -Wl,-soname,libabsl_log_internal_check_op.so.2401.0.0 -o absl/log/libabsl_log_internal_check_op.so.2401.0.0 absl/log/CMakeFiles/log_internal_check_op.dir/internal/check_op.cc.o -Wl,-rpath,/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/log:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/debugging:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/strings:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/hash:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/types:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/synchronization:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/base:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/time:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/numeric: absl/log/libabsl_log_internal_message.so.2401.0.0 absl/log/libabsl_log_internal_nullguard.so.2401.0.0 absl/debugging/libabsl_examine_stack.so.2401.0.0 absl/log/libabsl_log_internal_format.so.2401.0.0 absl/strings/libabsl_str_format_internal.so.2401.0.0 absl/log/libabsl_log_internal_proto.so.2401.0.0 absl/log/libabsl_log_internal_log_sink_set.so.2401.0.0 absl/log/libabsl_log_internal_globals.so.2401.0.0 absl/log/libabsl_log_globals.so.2401.0.0 absl/hash/libabsl_hash.so.2401.0.0 absl/hash/libabsl_city.so.2401.0.0 absl/types/libabsl_bad_variant_access.so.2401.0.0 absl/hash/libabsl_low_level_hash.so.2401.0.0 absl/log/libabsl_vlog_config_internal.so.2401.0.0 absl/types/libabsl_bad_optional_access.so.2401.0.0 absl/log/libabsl_log_internal_fnmatch.so.2401.0.0 absl/synchronization/libabsl_synchronization.so.2401.0.0 absl/debugging/libabsl_stacktrace.so.2401.0.0 absl/debugging/libabsl_symbolize.so.2401.0.0 absl/debugging/libabsl_debugging_internal.so.2401.0.0 absl/debugging/libabsl_demangle_internal.so.2401.0.0 absl/synchronization/libabsl_graphcycles_internal.so.2401.0.0 absl/base/libabsl_malloc_internal.so.2401.0.0 absl/synchronization/libabsl_kernel_timeout_internal.so.2401.0.0 absl/log/libabsl_log_sink.so.2401.0.0 absl/log/libabsl_log_entry.so.2401.0.0 absl/base/libabsl_strerror.so.2401.0.0 absl/time/libabsl_time.so.2401.0.0 absl/strings/libabsl_strings.so.2401.0.0 absl/strings/libabsl_strings_internal.so.2401.0.0 absl/strings/libabsl_string_view.so.2401.0.0 absl/base/libabsl_base.so.2401.0.0 absl/base/libabsl_spinlock_wait.so.2401.0.0 absl/numeric/libabsl_int128.so.2401.0.0 absl/time/libabsl_civil_time.so.2401.0.0 absl/time/libabsl_time_zone.so.2401.0.0 absl/base/libabsl_throw_delegate.so.2401.0.0 absl/base/libabsl_raw_logging_internal.so.2401.0.0 absl/base/libabsl_log_severity.so.2401.0.0 && :
[306/326] /usr/bin/cmake -E cmake_symlink_library absl/log/libabsl_die_if_null.so.2401.0.0 absl/log/libabsl_die_if_null.so.2401.0.0 absl/log/libabsl_die_if_null.so && :
[307/326] /usr/bin/cmake -E cmake_symlink_library absl/log/libabsl_log_internal_check_op.so.2401.0.0 absl/log/libabsl_log_internal_check_op.so.2401.0.0 absl/log/libabsl_log_internal_check_op.so && :
[308/326] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=znver2 -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -shared -Wl,-soname,libabsl_scoped_mock_log.so.2401.0.0 -o absl/log/libabsl_scoped_mock_log.so.2401.0.0 absl/log/CMakeFiles/scoped_mock_log.dir/scoped_mock_log.cc.o -Wl,-rpath,/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/log:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/hash:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/types:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/synchronization:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/time:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/debugging:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/strings:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/numeric:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/base: /usr/local/lib64/libgmock.a /usr/local/lib64/libgtest.a absl/log/libabsl_log_internal_log_sink_set.so.2401.0.0 absl/log/libabsl_log_sink.so.2401.0.0 absl/log/libabsl_log_entry.so.2401.0.0 absl/log/libabsl_log_internal_globals.so.2401.0.0 absl/log/libabsl_log_globals.so.2401.0.0 absl/hash/libabsl_hash.so.2401.0.0 absl/hash/libabsl_city.so.2401.0.0 absl/types/libabsl_bad_variant_access.so.2401.0.0 absl/hash/libabsl_low_level_hash.so.2401.0.0 absl/log/libabsl_vlog_config_internal.so.2401.0.0 absl/types/libabsl_bad_optional_access.so.2401.0.0 absl/log/libabsl_log_internal_fnmatch.so.2401.0.0 absl/synchronization/libabsl_synchronization.so.2401.0.0 absl/synchronization/libabsl_graphcycles_internal.so.2401.0.0 absl/synchronization/libabsl_kernel_timeout_internal.so.2401.0.0 absl/time/libabsl_time.so.2401.0.0 absl/time/libabsl_civil_time.so.2401.0.0 absl/time/libabsl_time_zone.so.2401.0.0 absl/debugging/libabsl_stacktrace.so.2401.0.0 absl/debugging/libabsl_symbolize.so.2401.0.0 absl/strings/libabsl_strings.so.2401.0.0 absl/strings/libabsl_strings_internal.so.2401.0.0 absl/strings/libabsl_string_view.so.2401.0.0 absl/numeric/libabsl_int128.so.2401.0.0 absl/base/libabsl_throw_delegate.so.2401.0.0 absl/base/libabsl_malloc_internal.so.2401.0.0 absl/debugging/libabsl_debugging_internal.so.2401.0.0 absl/debugging/libabsl_demangle_internal.so.2401.0.0 absl/base/libabsl_base.so.2401.0.0 absl/base/libabsl_raw_logging_internal.so.2401.0.0 absl/base/libabsl_log_severity.so.2401.0.0 absl/base/libabsl_spinlock_wait.so.2401.0.0 && :
FAILED: absl/log/libabsl_scoped_mock_log.so.2401.0.0
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=znver2 -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -shared -Wl,-soname,libabsl_scoped_mock_log.so.2401.0.0 -o absl/log/libabsl_scoped_mock_log.so.2401.0.0 absl/log/CMakeFiles/scoped_mock_log.dir/scoped_mock_log.cc.o -Wl,-rpath,/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/log:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/hash:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/types:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/synchronization:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/time:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/debugging:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/strings:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/numeric:/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2_build-abi_x86_64.amd64/absl/base: /usr/local/lib64/libgmock.a /usr/local/lib64/libgtest.a absl/log/libabsl_log_internal_log_sink_set.so.2401.0.0 absl/log/libabsl_log_sink.so.2401.0.0 absl/log/libabsl_log_entry.so.2401.0.0 absl/log/libabsl_log_internal_globals.so.2401.0.0 absl/log/libabsl_log_globals.so.2401.0.0 absl/hash/libabsl_hash.so.2401.0.0 absl/hash/libabsl_city.so.2401.0.0 absl/types/libabsl_bad_variant_access.so.2401.0.0 absl/hash/libabsl_low_level_hash.so.2401.0.0 absl/log/libabsl_vlog_config_internal.so.2401.0.0 absl/types/libabsl_bad_optional_access.so.2401.0.0 absl/log/libabsl_log_internal_fnmatch.so.2401.0.0 absl/synchronization/libabsl_synchronization.so.2401.0.0 absl/synchronization/libabsl_graphcycles_internal.so.2401.0.0 absl/synchronization/libabsl_kernel_timeout_internal.so.2401.0.0 absl/time/libabsl_time.so.2401.0.0 absl/time/libabsl_civil_time.so.2401.0.0 absl/time/libabsl_time_zone.so.2401.0.0 absl/debugging/libabsl_stacktrace.so.2401.0.0 absl/debugging/libabsl_symbolize.so.2401.0.0 absl/strings/libabsl_strings.so.2401.0.0 absl/strings/libabsl_strings_internal.so.2401.0.0 absl/strings/libabsl_string_view.so.2401.0.0 absl/numeric/libabsl_int128.so.2401.0.0 absl/base/libabsl_throw_delegate.so.2401.0.0 absl/base/libabsl_malloc_internal.so.2401.0.0 absl/debugging/libabsl_debugging_internal.so.2401.0.0 absl/debugging/libabsl_demangle_internal.so.2401.0.0 absl/base/libabsl_base.so.2401.0.0 absl/base/libabsl_raw_logging_internal.so.2401.0.0 absl/base/libabsl_log_severity.so.2401.0.0 absl/base/libabsl_spinlock_wait.so.2401.0.0 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libgtest.a(gtest-all.o): warning: relocation against `_ZTVN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE' in read-only section `.text._ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EPKNS_16MatcherInterfaceIRKS7_EE[_ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC5EPKNS_16MatcherInterfaceIRKS7_EE]'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libgmock.a(gmock-all.o): relocation R_X86_64_PC32 against symbol `_ZN7testing19FLAGS_gmock_verboseB5cxx11E' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
[309/326] /usr/bin/x86_64-pc-linux-gnu-g++ -Dcord_EXPORTS -I/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2 -march=znver2 -O2 -pipe -std=gnu++14 -fPIC -Wall -Wextra -Wcast-qual -Wconversion-null -Wformat-security -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wundef -Wunused-local-typedefs -Wunused-result -Wvarargs -Wvla -Wwrite-strings -DNOMINMAX -MD -MT absl/strings/CMakeFiles/cord.dir/cord.cc.o -MF absl/strings/CMakeFiles/cord.dir/cord.cc.o.d -o absl/strings/CMakeFiles/cord.dir/cord.cc.o -c /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc
In function ‘void absl::lts_20240116::DumpNode(absl::Nonnull<cord_internal::CordRep*>, bool, absl::Nonnull<std::basic_ostream<char>*>, int)’,
inlined from ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1506:11:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1495:14: warning: ‘indents.absl::lts_20240116::InlinedVector<int, 47, std::allocator<int> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Data::inlined.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Inlined::inlined_data’ may be used uninitialized [-Wmaybe-uninitialized]
1495 | indent = indents.back();
| ~~~~~~~^~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1455:48: note: ‘indents’ declared here
1455 | absl::InlinedVector<int, kInlinedVectorSize> indents;
| ^~~~~~~
In file included from /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:53,
from /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.h:79,
from /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:15:
In member function ‘absl::lts_20240116::inlined_vector_internal::SizeType<A> absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::GetAllocatedCapacity() const [with T = int; long unsigned int N = 47; A = std::allocator<int>]’,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:537:35,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:535:8,
inlined from ‘absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::~Storage() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:367:28,
inlined from ‘absl::lts_20240116::InlinedVector<T, N, A>::~InlinedVector() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:296:21,
inlined from ‘void absl::lts_20240116::DumpNode(absl::Nonnull<cord_internal::CordRep*>, bool, absl::Nonnull<std::basic_ostream<char>*>, int)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1500:1,
inlined from ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1506:11:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:419:28: warning: ‘indents.absl::lts_20240116::InlinedVector<int, 47, std::allocator<int> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Data::allocated.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Allocated::allocated_capacity’ may be used uninitialized [-Wmaybe-uninitialized]
419 | return data_.allocated.allocated_capacity;
| ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1455:48: note: ‘indents’ declared here
1455 | absl::InlinedVector<int, kInlinedVectorSize> indents;
| ^~~~~~~
In member function ‘absl::lts_20240116::inlined_vector_internal::SizeType<A> absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::GetAllocatedCapacity() const [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:537:35,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:535:8,
inlined from ‘absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::~Storage() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:367:28,
inlined from ‘absl::lts_20240116::InlinedVector<T, N, A>::~InlinedVector() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:296:21,
inlined from ‘void absl::lts_20240116::DumpNode(absl::Nonnull<cord_internal::CordRep*>, bool, absl::Nonnull<std::basic_ostream<char>*>, int)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1500:1,
inlined from ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1506:11:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:419:28: warning: ‘*(const absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >*)((char*)&stack + offsetof(absl::lts_20240116::InlinedVector<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >,absl::lts_20240116::InlinedVector<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::metadata_.absl::lts_20240116::container_internal::CompressedTuple<std::allocator<absl::lts_20240116::cord_internal::CordRep*>, long unsigned int>::<unnamed>.absl::lts_20240116::container_internal::internal_compressed_tuple::CompressedTupleImpl<absl::lts_20240116::container_internal::CompressedTuple<std::allocator<absl::lts_20240116::cord_internal::CordRep*>, long unsigned int>, std::integer_sequence<long unsigned int, 0, 1>, true>::<unnamed>.absl::lts_20240116::container_internal::internal_compressed_tuple::Storage<long unsigned int, 1, false>::value)).absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Data::allocated.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Allocated::allocated_capacity’ may be used uninitialized [-Wmaybe-uninitialized]
419 | return data_.allocated.allocated_capacity;
| ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1454:53: note: ‘stack’ declared here
1454 | absl::InlinedVector<CordRep*, kInlinedVectorSize> stack;
| ^~~~~
In member function ‘absl::lts_20240116::inlined_vector_internal::SizeType<A> absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::GetAllocatedCapacity() const [with T = int; long unsigned int N = 47; A = std::allocator<int>]’,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:537:35,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:535:8,
inlined from ‘absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::~Storage() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:367:28,
inlined from ‘absl::lts_20240116::InlinedVector<T, N, A>::~InlinedVector() [with T = int; long unsigned int N = 47; A = std::allocator<int>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:296:21,
inlined from ‘void absl::lts_20240116::DumpNode(absl::Nonnull<cord_internal::CordRep*>, bool, absl::Nonnull<std::basic_ostream<char>*>, int)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1500:1,
inlined from ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1506:11:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:419:28: warning: ‘indents.absl::lts_20240116::InlinedVector<int, 47, std::allocator<int> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Data::allocated.absl::lts_20240116::inlined_vector_internal::Storage<int, 47, std::allocator<int> >::Allocated::allocated_capacity’ may be used uninitialized [-Wmaybe-uninitialized]
419 | return data_.allocated.allocated_capacity;
| ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1455:48: note: ‘indents’ declared here
1455 | absl::InlinedVector<int, kInlinedVectorSize> indents;
| ^~~~~~~
In member function ‘absl::lts_20240116::inlined_vector_internal::SizeType<A> absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::GetAllocatedCapacity() const [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:537:35,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:535:8,
inlined from ‘absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::~Storage() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:367:28,
inlined from ‘absl::lts_20240116::InlinedVector<T, N, A>::~InlinedVector() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 47; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:296:21,
inlined from ‘void absl::lts_20240116::DumpNode(absl::Nonnull<cord_internal::CordRep*>, bool, absl::Nonnull<std::basic_ostream<char>*>, int)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1500:1,
inlined from ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1506:11:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:419:28: warning: ‘*(const absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >*)((char*)&stack + offsetof(absl::lts_20240116::InlinedVector<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >,absl::lts_20240116::InlinedVector<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 47, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::metadata_.absl::lts_20240116::container_internal::CompressedTuple<std::allocator<absl::lts_20240116::cord_internal::CordRep*>, long unsigned int>::<unnamed>.absl::lts_20240116::container_internal::internal_compressed_tuple::CompressedTupleImpl<absl::lts_20240116::container_internal::CompressedTuple<std::allocator<absl::lts_20240116::cord_internal::CordRep*>, long unsigned int>, std::integer_sequence<long unsigned int, 0, 1>, true>::<unnamed>.absl::lts_20240116::container_internal::internal_compressed_tuple::Storage<long unsigned int, 1, false>::value)).absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Data::allocated.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Allocated::allocated_capacity’ may be used uninitialized [-Wmaybe-uninitialized]
419 | return data_.allocated.allocated_capacity;
| ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘std::string absl::lts_20240116::ReportError(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1454:53: note: ‘stack’ declared here
1454 | absl::InlinedVector<CordRep*, kInlinedVectorSize> stack;
| ^~~~~
In member function ‘absl::lts_20240116::inlined_vector_internal::SizeType<A> absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::GetAllocatedCapacity() const [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:537:35,
inlined from ‘void absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::DeallocateIfAllocated() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:535:8,
inlined from ‘absl::lts_20240116::inlined_vector_internal::Storage<T, N, A>::~Storage() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:367:28,
inlined from ‘absl::lts_20240116::InlinedVector<T, N, A>::~InlinedVector() [with T = absl::lts_20240116::cord_internal::CordRep*; long unsigned int N = 2; A = std::allocator<absl::lts_20240116::cord_internal::CordRep*>]’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/inlined_vector.h:296:21,
inlined from ‘bool absl::lts_20240116::VerifyNode(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’ at /var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1549:1:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/container/internal/inlined_vector.h:419:28: warning: ‘worklist.absl::lts_20240116::InlinedVector<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::storage_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::data_.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Data::allocated.absl::lts_20240116::inlined_vector_internal::Storage<absl::lts_20240116::cord_internal::CordRep*, 2, std::allocator<absl::lts_20240116::cord_internal::CordRep*> >::Allocated::allocated_capacity’ may be used uninitialized [-Wmaybe-uninitialized]
419 | return data_.allocated.allocated_capacity;
| ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc: In function ‘bool absl::lts_20240116::VerifyNode(absl::Nonnull<cord_internal::CordRep*>, absl::Nonnull<cord_internal::CordRep*>)’:
/var/tmp/portage/dev-cpp/abseil-cpp-20240116.2-r3/work/abseil-cpp-20240116.2/absl/strings/cord.cc:1512:51: note: ‘worklist’ declared here
1512 | absl::InlinedVector<absl::Nonnull<CordRep*>, 2> worklist;
| ^~~~~~~~
ninja: build stopped: subcommand failed.
|
Last edited by juansta on Tue Aug 13, 2024 5:46 am; edited 2 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31256 Location: here
|
Posted: Tue Aug 13, 2024 4:44 am Post subject: |
|
|
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libgmock.a(gmock-all.o): relocation R_X86_64_PC32 against symbol `_ZN7testing19FLAGS_gmock_verboseB5cxx11E' can not be used when making a shared object; recompile with -fPIC |
It looks like you installed gtest manually. In fact, the dev-cpp/abseil-cpp compilation tries to use the library in /usr/local/lib64/libgmock.a and not the one installed by portage. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
juansta n00b
Joined: 06 Jul 2015 Posts: 13
|
Posted: Tue Aug 13, 2024 5:46 am Post subject: |
|
|
Quote: | In fact, the dev-cpp/abseil-cpp compilation tries to use the library in /usr/local/lib64/libgmock.a and not the one installed by portage. |
Thanks for this - I would've never thought of it...
I have gone back to stable...
abseil issues sorted - now dealing with protobuf build dramas...
I'll open up another thread if I cant sort that out... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|