22 Commits

Author SHA1 Message Date
Peter Kjellerstedt
4ccccf20f7
abseil-cpp: Do not leak -Wnon-virtual-dtor into the .pc files
The -Wnon-virtual-dtor flag was unintentionally added to the .pc files,
which causes problems when abseil is used by C code:

  cc1: error: command-line option '-Wnon-virtual-dtor' is valid for
  C++/ObjC++ but not for C [-Werror]

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 23:53:34 -07:00
Yi Zhao
341e9702ff
abseil-cpp: upgrade 20240116.2 -> 20240722.0
ChangeLog:
https://github.com/abseil/abseil-cpp/releases/tag/20240722.0

* Drop backport patch:
  0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
* Refresh patches

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-23 09:47:34 -07:00
Scott Murray
8b0be4be2b
abseil-cpp: backport RISC-V fix
Backport upstream fix[1] for SIGILL crash on RISC-V with 6.6 and
newer kernels.  The patch has been tweaked to apply on top of the
existing stack.

[1]: https://github.com/abseil/abseil-cpp/commit/7335a36d

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 15:40:17 -07:00
Wang Mingyu
903c8e58ed
abseil-cpp: upgrade 20230802.1 -> 20240116.1
0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
revmoed since it's included in 20240116.1.

Changelog:
===========
-Added absl::NoDestructor<T> to simplify defining static types that do not need
 to be destructed upon program exit.
-Added configurable verbose logging (also known as VLOG).
-Added absl::Overload(), which returns a functor that provides overloads based
 on the functors passed to it.
-Bzlmod is now officially supported (previously it was supported by the community).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:28 -08:00
Samuli Piippo
ca4c5ab653 abseil-cpp: fix mingw build
Add patch to fix mingw build of abseil-cpp

  undefined reference to `absl::lts_20230802::synchronization_internal::Win32Waiter::Poke()'
  undefined reference to `absl::lts_20230802::synchronization_internal::Win32Waiter::Win32Waiter()'
  undefined reference to `absl::lts_20230802::synchronization_internal::Win32Waiter::Post()'
  undefined reference to `absl::lts_20230802::synchronization_internal::Win32Waiter::Poke()'

and include bindir to recipe sysroot to fix protobuf build.

|   The imported target "absl::log_severity" references the file
|
|      "../nativesdk-protobuf/4.23.4/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-w64-mingw32/usr/bin/libabsl_log_severity.dll"
|
|   but this file does not exist.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-11 09:26:41 -08:00
Willy Tu
2703a7ca79 abseil-cpp: upgrade 20230125.3 -> 20230802.0
Release notes in
https://github.com/abseil/abseil-cpp/releases/tag/20230802.0

Signed-off-by: Willy Tu <wltu@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
d780dc588a abseil-cpp: Replace off64_t with off_t
Fixes

TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-musleabi/abseil-cpp/20221014.0-r0/git/absl/base/internal/direct_mmap.h:71:25: error: unknown type name 'off64_t'; did you mean 'off_t'?
                        off64_t offset) noexcept {
                        ^~~~~~~
                        off_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-28 18:31:24 -08:00
Ulysse Manceron
3ab22400d1 abseil-cpp: Upgrade to head on 2022-10-14
Our team wants to use absl/log which was recently added to abseil.
2022-10-18 08:18:09 -07:00
wangmy
1460943511 abseil-cpp: upgrade 20211102 -> 20220623
0001-absl-always-use-asm-sgidefs.h.patch
refreshed for new verion.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-05 09:23:04 -04:00
Jonas Gorski
727bf829c4 abseil-cpp: do not enforce -mfpu=neon on arm
Abseil-cpp assumes that if you are building for ARM, you can use neon
instructions. This is of course bogus, since not every ARM platform
supports these.

This then leaks via pkgconfig into any package using abseil-cpp, e.g.
gprc.

Fixes application crashes on ARM platforms without neon that use grpc
due to use of illegal instructions.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00
Willy Tu
3c1c07e9a5 absil-cpp: Update SRC_URI to to the latest google internal sync
7c6608d0db

The internal sync are tested within Google and ready for use.

Signed-off-by: Willy Tu <wltu@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 20:14:06 -07:00
Khem Raj
cd1f51b603 abseil-cpp: Fix ppc/musl patch
typecasting to pt_regs is not needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-26 18:15:11 -07:00
Khem Raj
a8a9bc2bc9 abseil: Upgrade to 20211102.0 LTS release
Drop 0001-Export-of-internal-Abseil-changes.patch its already upstream
forward port abseil-ppc-fixes.patch

Changes in this release are

absl::Cord is now implemented as a b-tree. The new implementation offers improved performance in most workloads.
absl::SimpleHexAtoi() has been added to strings library for parsing hexadecimal strings.

Details here [1]

[1] https://github.com/abseil/abseil-cpp/releases/tag/20211102.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 08:32:19 -07:00
zangrc
b9e13f6815 abseil-cpp: upgrade 20210324 -> 20210324.2
Refresh the following patch:
0001-Export-of-internal-Abseil-changes.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-10 20:22:36 -07:00
Khem Raj
8691de2580 abseil-cpp: Upgrade to lts_2021_03_24
Fix build with glibc 2.34 while here
Forward patches to this version
Let system package the libraries

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 08:27:27 -07:00
Khem Raj
eaf1cf8384 abseil-cpp: Fix build on musl and ppc64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-13 19:41:07 -08:00
Clément Péron
ce9fa374e1 abseil-cpp: bump to LTS 2020_09_23 Patch Release 3
Most patches have been upstreamed and accepted.

We can drop the -fPIC patch and pass BUILD_SHARED_LIBS instead.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-27 10:21:14 -08:00
Khem Raj
ec058689d8 abseil-cpp: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 22:32:17 -07:00
Khem Raj
f47c88c4cd abseil-cpp: Fix build on musl/mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-09 13:29:11 -07:00
Khem Raj
497aa40527 abseil-cpp: Fix build on risc-v
Port GetProgramCounter to support risc-v program counter

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-16 23:32:52 -08:00
Sinan Kaya
ec2c3d3ef4 abseil-cpp: add recipe for git version
The repository contains the Abseil C++ library code. Abseil is an
open-source collection of C++ code (compliant to C++11) designed to
augment the C++ standard library.

https://github.com/abseil/abseil-cpp

Signed-off-by: Changyu Li <Changyu.Li@microsoft.com>
Signed-off-by: Sinan Kaya <sinan.kaya@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-13 14:07:47 -08:00