Commit graph

34356 commits

Author SHA1 Message Date
Jingwen Chen
466b424deb Merge "bp2build: convert more cc_objects" 2021-02-25 14:09:08 +00:00
Chris Parsons
98b92e00c8 Make libc genrules and its tool dep bp2build_available
Test: lunch aosp_flame && USE_BAZEL_ANALYSIS=1 m libc
Test: lunch aosp_flame && USE_BAZEL_ANALYSIS=1 m crtbegin_so1
Change-Id: I12380ef9294f8b7c3b00ea700d804c1abde7ad04
2021-02-24 14:32:16 -05:00
Jingwen Chen
7e13cf2160 bp2build: convert more cc_objects
This is the last of remaining cc_objects in the libc package.

Test: go tests.

Test: build/bazel/scripts/milestone-2/demo.sh
Change-Id: Ib9c01be0faae10707305b81e72d3fac22bf96356
2021-02-24 01:21:01 -05:00
Treehugger Robot
79b45db894 Merge "Make __libc_init_scudo() weak for native bridge." am: 6161970fa2
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1603833

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I798977625e5f959e5b15dc535a311ffc4b752607
2021-02-24 01:14:36 +00:00
Treehugger Robot
6161970fa2 Merge "Make __libc_init_scudo() weak for native bridge." 2021-02-24 00:26:50 +00:00
Peter Collingbourne
bf917866f5 Make __libc_init_scudo() weak for native bridge.
__libc_init_scudo() calls directly into the allocator, bypassing the
normal guest to host transition in the native bridge. Therefore we
need to let the native bridge override it with a no-op.

Bug: 159352723
Change-Id: I642c7a058e483cc09335290f66b9c053150fca06
2021-02-23 13:18:03 -08:00
Treehugger Robot
f252ac79d4 Merge "bp2build: mark filegroups as bp2build_available." am: 14851abce9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1598174

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice5f0fd7ec0c7a96909db37008188553ec6b8ebd
2021-02-22 19:01:59 +00:00
Treehugger Robot
14851abce9 Merge "bp2build: mark filegroups as bp2build_available." 2021-02-22 18:42:26 +00:00
Elliott Hughes
6ffaec1da2 Merge "Update gen_bench.py to propagate license information." am: 363a480602
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1596941

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I25a3fcc74129f199429945095e0f4ed1c7e3caed
2021-02-22 17:53:23 +00:00
Elliott Hughes
363a480602 Merge "Update gen_bench.py to propagate license information." 2021-02-22 16:14:32 +00:00
Jingwen Chen
19787b9412 bp2build: mark filegroups as bp2build_available.
Test: build/bazel/scripts/milestone-2/demo.sh
Change-Id: Ife199b1860521c55baa96cadc42bd021556c62cd
2021-02-22 03:08:45 -05:00
Bob Badour
4ee74f397b Merge "Add LOCAL_LICENSE_KINDS to bionic" am: 8ae9d017f3
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1596926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0e34b737394ec54c3d7238eae07bf34bda875e9b
2021-02-21 15:48:30 +00:00
Bob Badour
8ae9d017f3 Merge "Add LOCAL_LICENSE_KINDS to bionic" 2021-02-21 15:24:32 +00:00
Elliott Hughes
77e0f5c60f Merge "Fix fdsan death tests." am: a0d3da5999
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595218

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icb27ebe388873eb908a5e1b3c40ce658d9c70d7c
2021-02-20 22:50:50 +00:00
Elliott Hughes
a0d3da5999 Merge "Fix fdsan death tests." 2021-02-20 21:26:29 +00:00
Elliott Hughes
f5a97dc1e8 Update gen_bench.py to propagate license information.
Test: treehugger
Change-Id: Ia34fcb575575d7916632e0973d43b2bc0f510f15
2021-02-20 17:16:17 +00:00
Xin Li
d3d67eb4dc Mark ab/7061308 as merged in stage.
Bug: 180401296
Merged-In: Id37766f4d0fbc4bb798ab11fb5e4013a33474232
Change-Id: I1d41ad9b0119b29517c63156613e4794b89d5da8
2021-02-20 00:24:00 -08:00
Jingwen Chen
0f04e81809 Merge "bp2build: convert more cc_objects." am: 5e4a499e25
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595677

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4b4aaed6e2fa348f9a778274b703454cb2c96e9e
2021-02-20 05:17:20 +00:00
Jingwen Chen
5e4a499e25 Merge "bp2build: convert more cc_objects." 2021-02-20 04:53:19 +00:00
Elliott Hughes
5c60e9eda7 Merge "Don't dump backtraces while running fdtrack tests." am: 526a888d3f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595217

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0dac49c77715792c00a6aa7f44141fdbc399a0bc
2021-02-20 00:12:15 +00:00
Elliott Hughes
d76dd14ea7 Fix fdsan death tests.
Disable debuggerd for these expected failures.

Also use the usual naming pattern.

Bug: http://b/180605583
Test: check logs
Change-Id: I0254cb658d8a68e963ef59264106de4775e3fedd
2021-02-19 15:48:49 -08:00
Elliott Hughes
526a888d3f Merge "Don't dump backtraces while running fdtrack tests." 2021-02-19 23:40:07 +00:00
Bob Badour
aa7d835fdd Add LOCAL_LICENSE_KINDS to bionic
Added SPDX-license-identifier-Apache-2.0 to:
  apex/Android.bp
  libdl/Android.bp
  tools/Android.bp
  tools/versioner/Android.bp
  tools/versioner/src/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  benchmarks/Android.bp
  benchmarks/linker_relocation/gen/Android.bp
  libc/malloc_debug/Android.bp
  libc/system_properties/Android.bp
  tests/Android.bp
  tests/libs/Android.bp
  tests/libs/Android.build.dlext_testzip.mk
  tests/make_fortify_compile_test.mk

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-ISC SPDX-license-identifier-MIT
    legacy_notice legacy_unencumbered
to:
  libc/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-MIT legacy_unencumbered
to:
  libm/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
  libc/tools/Android.bp

Added SPDX-license-identifier-BSD
to:
  benchmarks/linker_relocation/Android.bp
  benchmarks/spawn/Android.bp
  libc/async_safe/Android.bp
  libc/malloc_hooks/Android.bp
  libfdtrack/Android.bp
  linker/Android.bp
  tests/headers/Android.bp
  tests/headers/posix/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib05bcaa276b3aa71a7654ccbe8e67e1f16aec9f3
2021-02-19 23:38:28 +00:00
Christopher Ferris
ead117faf8 Merge "Update to v5.11 kernel headers." am: d29cac66b4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1592775

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I05ebd7606b6b6db263d9fa86ebfd4d437f45b355
2021-02-19 19:51:45 +00:00
Treehugger Robot
e9518c4259 Merge "Move __libc_int0x80 to an assembly file" am: b69a0d4969
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1592975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia113bc06f522b69abfa1ebe18562e7c3f76b5fca
2021-02-19 19:51:28 +00:00
Elliott Hughes
dbcc54caf8 Merge "Fix some bionic death tests." am: 35e81bfc9f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595212

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I59bd06bf0d6631e82f93a1897f80b6830861333e
2021-02-19 19:51:21 +00:00
Elliott Hughes
47ecccf2ec Merge "Use death tests correctly." am: fabcc96a7c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595215

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie77636ebe6f735181d6c3fd6240eee19fbc1ca5a
2021-02-19 19:51:14 +00:00
Treehugger Robot
b06e2d9bbb Merge "Switch BionicDeathTest to #pragma once." am: 3b7cc4ad89
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595213

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie7835e50dd2be9905b10ecf1872c19732748236c
2021-02-19 19:51:08 +00:00
Elliott Hughes
dcb2d54b36 Merge "Inline the raise(SIGABRT) for x86-64 too." am: a0a2654e2e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595871

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6dedf3e10eeeb5e5c06b2491564e1a77dcfec64a
2021-02-19 19:51:01 +00:00
Elliott Hughes
3171a11639 Merge "Use BionicDeathTest for an assert(3) test." am: 7f7efa92df
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595214

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I17f7e29e399c72e45d1e30cd9ec8c4183d5628e5
2021-02-19 19:50:55 +00:00
Treehugger Robot
afefbd4a82 Merge "iconv(3): ignore src_bytes_left if src_bytes is null." am: 6fe4daaa16
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595034

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53edc482a7951418a0b8ae25cf85ba50bd39cc89
2021-02-19 19:50:39 +00:00
Christopher Ferris
d29cac66b4 Merge "Update to v5.11 kernel headers." 2021-02-19 19:47:44 +00:00
Treehugger Robot
b69a0d4969 Merge "Move __libc_int0x80 to an assembly file" 2021-02-19 19:27:48 +00:00
Treehugger Robot
030df1d7cd Merge "Increase leniancy in an inherently flaky test." am: 18dd0731f6
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595035

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5606fb335163d458e175e9864b4930cbe9421387
2021-02-19 19:15:50 +00:00
Elliott Hughes
35e81bfc9f Merge "Fix some bionic death tests." 2021-02-19 19:02:24 +00:00
Elliott Hughes
fabcc96a7c Merge "Use death tests correctly." 2021-02-19 18:26:00 +00:00
Treehugger Robot
3b7cc4ad89 Merge "Switch BionicDeathTest to #pragma once." 2021-02-19 18:22:53 +00:00
Elliott Hughes
a0a2654e2e Merge "Inline the raise(SIGABRT) for x86-64 too." 2021-02-19 18:19:00 +00:00
Elliott Hughes
7f7efa92df Merge "Use BionicDeathTest for an assert(3) test." 2021-02-19 18:09:44 +00:00
Treehugger Robot
6fe4daaa16 Merge "iconv(3): ignore src_bytes_left if src_bytes is null." 2021-02-19 18:09:17 +00:00
Treehugger Robot
18dd0731f6 Merge "Increase leniancy in an inherently flaky test." 2021-02-19 18:06:36 +00:00
Elliott Hughes
46958d0b87 Merge "Don't involve debuggerd in a SIGFPE test." am: 8d6d795c28
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595216

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic2cc9bbaaeb9374c3ae8de9195e5bab74dad94dd
2021-02-19 17:31:26 +00:00
Treehugger Robot
15980fec38 Merge "Revert "[LSC] Add LOCAL_LICENSE_KINDS to bionic"" am: 067a564814
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1595437

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I40fb35265a16a28987f10abc3c8fcce669ce7419
2021-02-19 17:30:42 +00:00
Elliott Hughes
8d6d795c28 Merge "Don't involve debuggerd in a SIGFPE test." 2021-02-19 16:30:15 +00:00
Treehugger Robot
067a564814 Merge "Revert "[LSC] Add LOCAL_LICENSE_KINDS to bionic"" 2021-02-19 16:11:57 +00:00
Rupert Shuttleworth
a53fd2194a Merge "Rename ldd input file to ldd.sh to make Bazel conversion easier." am: 10e3cd784d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1591571

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9081636dd0daa686dac902c6132e262b0ad93879
2021-02-19 15:26:55 +00:00
Jingwen Chen
0b1611e637 bp2build: convert more cc_objects.
This CL also discovered that a couple of cc_objects include headers from the bionic subdir, without declaring them in the local_include_dirs.

Test: build/bazel/scripts/milestone-2/demo.sh full && build/bazel/scripts/milestone-2/demo.sh cleanup
Change-Id: I943980b1d1c6dab39d3c27da8037e587f97f76e3
2021-02-19 09:29:41 -05:00
Rupert Shuttleworth
10e3cd784d Merge "Rename ldd input file to ldd.sh to make Bazel conversion easier." 2021-02-19 14:15:07 +00:00
Bob Badour
f6613b492f Revert "[LSC] Add LOCAL_LICENSE_KINDS to bionic"
This reverts commit 48d43034d7.

Reason for revert: Need to re-run each directory separately.

Change-Id: Ie1acfe7af0331e9ed5f17aa1dd3c48a3708d6e45
2021-02-19 06:36:45 +00:00
Jingwen Chen
b7f425177c Merge "bp2build: mark crt_beginso1 as bp2build_available." am: e89fe2021b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1581303

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8ef609e9ff072972c78dd9c866ae8ca4ab62867a
2021-02-19 04:53:41 +00:00