Commit Graph

46 Commits

Author SHA1 Message Date
Alex Kiernan cd57f730d6 abseil-cpp: Backport xpaclri asm fix
Native build on aarch64 breaks with:

| {standard input}: Assembler messages:
| {standard input}:169: Error: selected processor does not support `xpaclri'
| {standard input}:411: Error: selected processor does not support `xpaclri'
| {standard input}:859: Error: selected processor does not support `xpaclri'
| {standard input}:1140: Error: selected processor does not support `xpaclri'

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@a-squared-projects.uk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-01 08:33:22 -08:00
Changqing Li 6d76dc0824 abseil-cpp: upgrade 20240722.0 -> 20250127.0
Upgrade to the latest new LTS release, release note:
https://github.com/abseil/abseil-cpp/releases?page=1

* drop 0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch,
already include in this LTS release
* Include security fix for CVE-2025-0838

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 09:55:50 -08:00
Christian Eggers ef427675a0 abseil-cpp: append to PACKAGES_DYNAMIC
PACKAGES_DYNAMIC may already contain entries (e.g. set by bitbake.conf
or the distro configuration files).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 07:15:01 -08:00
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 d510636b95 abseil-cpp: upgrade 20240116.1 -> 20240116.2
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. Note that this functionality requires C++17 or
 newer.
-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-04-17 23:47:22 -07:00
Ola x Nilsson dd6421e65e abseil-cpp: Split so-files into separate packages
Use PACKAGES_DYNAMIC and PACKAGESPLITFUNCS to put each shared object
into its own package named libabsl-*.
The shared objects depend on each other which means you still get a
lot of them if you link against a single one.

The main package abseil-cpp RDEPENDS on all of the libabsl-* packages.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-11 07:10:15 -07:00
Peter Kjellerstedt 0182848ca4 abseil-cpp: A little clean-up
* Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
  no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
* Remove additions to FILES:${PN}-dev since the added paths are already
  added by default.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-11 07:10:15 -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
Ola x Nilsson 32eefcf1ca abseil-cpp: Split so-files into separate packages
Use PACKAGES_DYNAMIC and PACKAGESPLITFUNCS to put each shared object
into its own package named libabsl-*.
The shared objects depend on each other which means you still get a
lot of them if you link against a single one.

The main package abseil-cpp RDEPENDS on all of the libabsl-* packages.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:25 -08:00
Peter Kjellerstedt 5c554c9b8c abseil-cpp: A little clean-up
* Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
  no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
* Remove additions to FILES:${PN}-dev since the added paths are already
  added by default.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:25 -08:00
Clément Péron 80f0f4ccfb abseil-cpp: rename recipe to follow the version
We are not on a detached version, there is no reason to not use
the real version in the filename

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-19 09:51:07 -08:00
Petr Chernikov 190f7b50ac abseil-cpp: remove -Dcmake_cxx_standard=14 flag from extra_oecmake
Old versions of abseil-cpp could not be compiled using C++ Standard 17.
For now this cmake flag is not needed.
Mosh compilation fixed by specifying c++17 standard.

Signed-off-by: Petr Chernikov <p.chernikov@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-07 21:51:58 -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
Khem Raj fbed5bbeb3 abseil-cpp: upgrade 20230802.0 -> 20230802.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:26:54 -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
Wang Mingyu f114b916a9 abseil-cpp: upgrade 20230125.2 -> 20230125.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:37:55 -07:00
Wang Mingyu 63bb96035b abseil-cpp: upgrade 20230125.1 -> 20230125.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Xiangyu Chen f65b052784 abseil-cpp: upgrade 20221014.0 -> 20230125.1
Note: please make sure your oe-core has the following commit:
https://git.openembedded.org/openembedded-core/commit/?id=a73e269d3e591a10bb397b94b82e3fb960112d33

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -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
Wang Mingyu c337aa1a02 abseil-cpp: upgrade 20220623.0 -> 20220623.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 15:58:34 -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
https://github.com/abseil/abseil-cpp/commit/7c6608d0dbe43cf9bdf7f77787bc6bc89cc42f8b

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
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -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
Jan Kaisrlik e27064bf41 abseil-cpp: reorder content of packages
move cmake target files to -dev package and remove check for empty package since
package contains shared libraries

Signed-off-by: Jan Kaisrlik <ja.kaisrlik@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-12 15:55:07 -08:00
Khem Raj 386d33c02a abseil-cpp: Ask for C++14 std explicitly
Newer gcc ( gcc11 ) will be defaulting to c++17 and abseil currently
needs work to get working with c++17, so pin to c++14 untill upstream
gets it working with c++17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 23:31:55 -08:00
Khem Raj 0843da7c13 abseil-cpp: Remove libexecinfo band-aid for musl
abseil's cmake files can now detect execinfo's presence before depending
on it, therefore no need to link with libexecinfo on musl now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-22 11:04:35 -08:00
Anatol Belski 7223513f40 abseil-cpp: Relax build requirements
While better hardware acceleration is definitely advantageous, there is no
hard requirement defined by the upstream. Removing this will allow
builds targeting older hardware where DEFAULTTUNE can't be changed. If
found useful, this can also be backported to lower branches.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-20 10:40:53 -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
Jacob Kroon 184e75363c abseil-cpp: Use SkipRecipe exception
SkipPackage exception is deprecated.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-04 09:11:14 -07: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 70f464892b abseil-cpp: Depend on libexecinfo on musl
Needed for execinfo to work
Fixes
absl/debugging/internal/stacktrace_generic-inl.inc:14:10: fatal error: 'execinfo.h' file not found
         ^~~~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Pierre-Jean Texier 19f08efb42 abseil-cpp: set PV in the recipe
Fixes:

INFO: Skip package abseil-cpp (status = UNKNOWN_BROKEN, current version = git, next version = 20200225.1)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 17:23:54 -08: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