[roll] Roll fuchsia [ulib][concurrent] Create a vDSO compatible version of libconcurrent.

Add a new target to `ulib/concurrent` called `concurrent_vdso` which
is suitable for inclusion in a vDSO image.

`libconcurrent` makes us of a _lot_ on std::atomics.  This actually
can be an issue when building for ARM64 since some toolchains these
days automatically attempt to "outline" calls to the atomics.  ARM
v8.1 added "LSE" atomics to the instruction set, which can provide
performance advantages, but need to be tested for at runtime to
maintain full portability.

So, compilers sometimes add a call (executed either during startup, or
lazily) which will check the processor to see if it supports LSE
atomics.  Calls to atomics are not inlined, but instead go through a
thunk which can be controlled by the result of this test.
Unfortunately, none of this works in a vDSO environment.  If we wanted
to add dynamic support for LSE atomics, the decision to use them (or
not) would need to be done when we create the vDSO image, not
dynamically.

So, on ARM64, we want to pass `-mno-outline-atomics` to suppress this
behavior when we build for a vDSO.

See also b/398297232

Original-Bug: 398297232
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1209085
Original-Revision: d57383f0700c7ab2ac13e919a1c6b7d3f4a6e387
GitOrigin-RevId: 3a2bc7f79d10376f2fd756f1f73ae25b489f2d35
Change-Id: I3fefd30df4edcdd1a598db29bbee4f29d8562535
1 file changed
tree: ea8aea721973236d88f7acbc48efacd29593a674
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.