Commit graph

42541 commits

Author SHA1 Message Date
Elliott Hughes
2ee65a232d Silence the -Wdeprecated-volatile warnings from our atomic benchmarks.
Test: treehugger
Change-Id: Iea710334f7761901259d7223444ec4dfe534920e
2024-02-02 16:59:22 -08:00
Elliott Hughes
dedf9f7a34 Merge "Remove libc_ndk." into main am: 38dadd1225
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2945353

Change-Id: I8da5d3c71e071e0b1226f8107226ee2703d9e413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-02 21:59:37 +00:00
Elliott Hughes
38dadd1225 Merge "Remove libc_ndk." into main 2024-02-02 21:12:29 +00:00
Aditya Choudhary
d9d37c09d8 Migrate Test Targets to New Android Ownership Model
This CL is created as a best effort to migrate test targets to the new Android ownership model.
It is based on historical data from repository history and insights from git blame.
Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary
attribution in this CL, please create a new CL to fix that.

For detailed guidelines and further information on the migration please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ie36b2a3245d9901323affcc5e51dafbb87af9248
2024-02-02 13:57:12 +00:00
Elliott Hughes
6034df4abd Remove libc_ndk.
Literally unused!

Test: treehugger
Change-Id: Ic02c9573106444411af53c45ae4f818504a8254d
2024-02-01 17:13:57 -08:00
Treehugger Robot
7995a74a3d Merge "NFC: remove unnecessary branching" into main am: 8e631624e9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2940087

Change-Id: I436a3a87b36753b944fc1a95e18b3f5d83e0d071
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 20:19:01 +00:00
Treehugger Robot
8e631624e9 Merge "NFC: remove unnecessary branching" into main 2024-02-01 19:51:56 +00:00
Florian Mayer
d541611c77 NFC: remove unnecessary branching
Change-Id: Iac82f1fdc30261be262810de0d86369f0071044f
2024-01-31 23:09:39 +00:00
Automerger Merge Worker
3a5dd10790 Merge "Merge "Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: 7123abff51" into android14-tests-dev am: 39c7a2a511" into main am: 5965d63c95
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2928751

Change-Id: I6ddb610c2c05723c9e81694ce79d7be257ab0fe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 20:36:29 +00:00
Automerger Merge Worker
5965d63c95 Merge "Merge "Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: 7123abff51" into android14-tests-dev am: 39c7a2a511" into main 2024-01-31 19:55:46 +00:00
Automerger Merge Worker
9405602385 Merge "Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: 7123abff51" into android14-tests-dev am: 39c7a2a511
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2928751

Change-Id: Id33e6f6ce90a74d756853f81bd0553ca91e56c26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 19:55:43 +00:00
Automerger Merge Worker
39c7a2a511 Merge "Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: 7123abff51" into android14-tests-dev 2024-01-31 19:15:47 +00:00
Treehugger Robot
adba83240b Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: 7123abff51
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2928751

Change-Id: I38541b1db092dd37044970a52494dafc5ed6ed26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 19:15:43 +00:00
Treehugger Robot
7123abff51 Merge "sys_statvfs_test: fix expectation for Linux 6.7." into android13-tests-dev 2024-01-31 18:42:56 +00:00
Automerger Merge Worker
29621630f0 Merge "Merge "Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: fb7d4c4761" into android14-tests-dev am: 014dc3bc7b" into main am: 296a197ce1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2929452

Change-Id: Icede7090437bd501303c153004c4f586d7d2f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 17:27:37 +00:00
Automerger Merge Worker
296a197ce1 Merge "Merge "Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: fb7d4c4761" into android14-tests-dev am: 014dc3bc7b" into main 2024-01-31 16:46:42 +00:00
Automerger Merge Worker
4e9a1d06d4 Merge "Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: fb7d4c4761" into android14-tests-dev am: 014dc3bc7b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2929452

Change-Id: Ie44f35dc57e483bcde018ac9d9a86abd858d716a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 16:46:39 +00:00
Automerger Merge Worker
014dc3bc7b Merge "Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: fb7d4c4761" into android14-tests-dev 2024-01-31 16:02:58 +00:00
Elliott Hughes
d06a358244 Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev am: fb7d4c4761
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2929452

Change-Id: Ib4321aba8f1be78db8a79e7f858c7813d71ed11f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 16:02:50 +00:00
Elliott Hughes
fb7d4c4761 Merge "sys_vfs_test: fix expectation for Linux 6.7." into android13-tests-dev 2024-01-31 15:23:28 +00:00
Xin Li
416b1a2a44 Merge "Merge Android 24Q1 Release (ab/11220357)" into aosp-main-future 2024-01-30 22:44:47 +00:00
Treehugger Robot
bb8ba3bbc9 Merge "bionic: runtime-module-sdk: Add crt_pad_segment dependency" into main am: 4da631c06c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2936643

Change-Id: Ic881389a7a0ad7c3a857692f8a99cc6c522be4b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 21:51:07 +00:00
Treehugger Robot
4da631c06c Merge "bionic: runtime-module-sdk: Add crt_pad_segment dependency" into main 2024-01-30 21:19:34 +00:00
Kalesh Singh
d13ca8d06a bionic: runtime-module-sdk: Add crt_pad_segment dependency
Bug: 316403210
Test: m runtime-module-sdk
Test: unzip -l out/soong/mainline-sdks/runtime-module-sdk-current.zip
      | grep crt_pad_segment.o
Change-Id: Ibc6941722b25b1979c7e2c9309271248f59c8970
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2024-01-30 07:29:49 -08:00
Xin Li
d70a5f022c Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I884a78b67679c1f0b90a6c0159b17ab007f8cc60
Change-Id: Ie7928dbaee63c4e4d4b4f3854017933cbc3072a3
2024-01-29 10:10:43 -08:00
Elliott Hughes
f0cc62cb42 Merge "libc/Android.bp: remove libc_pthread and libc_nopthread." into main am: 28c0d8b42c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2928796

Change-Id: I5211b580f7dd5c7b203570cd5e98215e17b32ebb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-27 00:57:21 +00:00
Elliott Hughes
234dc36ac6 sys_statvfs_test: fix expectation for Linux 6.7.
I'd assumed that it was _deliberate_ that filesystems like procfs
reported 0 here, but apparently not. Good news: this makes for a more
worthwhile test than we had previously (at least when run on a 6.7+
kernel).

Bug: http://b/321880382 (for sys_vfs_test)
Bug: http://b/319590754 (for sys_statvfs_test)
Test: treehugger
Change-Id: I0a63faa8ca359592a29d7bca1a40ecd94fd50044
(cherry picked from commit 7506c37386)
2024-01-26 23:45:11 +00:00
Elliott Hughes
28c0d8b42c Merge "libc/Android.bp: remove libc_pthread and libc_nopthread." into main 2024-01-26 23:24:46 +00:00
Elliott Hughes
ac23a05aac Merge "Start removing unnecessary libc/Android.bp complexity." into main am: b02dbce7d8
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2929450

Change-Id: Iec92cd78947c5d014d02dc452c47697ebaeb95ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-26 00:39:13 +00:00
Elliott Hughes
b094892bed libc/Android.bp: remove libc_pthread and libc_nopthread.
The motivation for these is long gone, and now they only serve to
distract/duplicate.

Test: treehugger
Change-Id: I28f4ea6dd02fb564a15ab23b9f70d447ddf0c090
2024-01-26 00:28:12 +00:00
Elliott Hughes
b02dbce7d8 Merge "Start removing unnecessary libc/Android.bp complexity." into main 2024-01-26 00:25:42 +00:00
Elliott Hughes
dc7d5ab6a9 Merge "Clarify which architectures do/don't need sa_restorer." into main am: 3a4a0c73bb
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2925677

Change-Id: I9d34c5192e489fa24cdc58fbe258916d81d8564f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-26 00:16:51 +00:00
Elliott Hughes
3a4a0c73bb Merge "Clarify which architectures do/don't need sa_restorer." into main 2024-01-25 23:46:52 +00:00
Elliott Hughes
c10762164b Merge "sys_vfs_test: fix expectation for Linux 6.7." into main am: 284596e19e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2928750

Change-Id: I0e3702d88012f8e4cd9b3ceefa957420fb2ab33e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-25 23:33:30 +00:00
Elliott Hughes
3e7e2251fa sys_vfs_test: fix expectation for Linux 6.7.
I'd assumed that it was _deliberate_ that filesystems like procfs
reported 0 here, but apparently not. Good news: this makes for a more
worthwhile test than we had previously (at least when run on a 6.7+
kernel).

(This is the sys_vfs_test equivalent of the earlier change made to
sys_statvfs_test.)

Bug: http://b/321880382 (for sys_vfs_test)
Bug: http://b/319590754 (for sys_statvfs_test)
Test: treehugger
Change-Id: I3c6f784d1e348bf1be3a102d1dd6336c33d0b2db
(cherry picked from commit 1b48afbc66)
2024-01-25 22:53:16 +00:00
Elliott Hughes
284596e19e Merge "sys_vfs_test: fix expectation for Linux 6.7." into main 2024-01-25 22:53:04 +00:00
Elliott Hughes
99cc916f7a Start removing unnecessary libc/Android.bp complexity.
Things have gotten way out of hand in here...

Test: treehugger
Change-Id: I0dc6f9369828578409d422f76cb48a4553472d3e
2024-01-25 22:45:24 +00:00
Elliott Hughes
1b48afbc66 sys_vfs_test: fix expectation for Linux 6.7.
I'd assumed that it was _deliberate_ that filesystems like procfs
reported 0 here, but apparently not. Good news: this makes for a more
worthwhile test than we had previously (at least when run on a 6.7+
kernel).

(This is the sys_vfs_test equivalent of the earlier change made to
sys_statvfs_test.)

Bug: http://b/321880382 (for sys_vfs_test)
Bug: http://b/319590754 (for sys_statvfs_test)
Test: treehugger
Change-Id: I3c6f784d1e348bf1be3a102d1dd6336c33d0b2db
2024-01-25 10:12:37 -08:00
Elliott Hughes
20a3661d6c Clarify which architectures do/don't need sa_restorer.
In particular: 32-bit x86 doesn't need sa_restorer either.

I still don't fully understand why arm32 and x86-64 do, so I've left the
comments in those .S files alone. I haven't (knowingly) tested
compiler-rt since we switched from libgcc (which is what the comments
refer to), but I have tested libunwindstack since we switched from
libunwind, and that does fail existing bionic tests for unwinds through
signal frames --- I just don't know why, or whether there's a better fix.

Anyway, local testing suggests that the 32-bit x86 code is vestigial, so
let's get rid of it.

Test: treehugger
Change-Id: I3e2616f736d27a8463814356e5adb52fd76a90cc
2024-01-24 14:25:00 -08:00
Elliott Hughes
eebbd1db0f Merge "Fix assembler warnings." into main am: 5c73b4f984
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2701796

Change-Id: I3bde03ae52583706ec70bf87cb6a25647d9825e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24 16:42:58 +00:00
Elliott Hughes
5c73b4f984 Merge "Fix assembler warnings." into main 2024-01-24 15:59:47 +00:00
Elliott Hughes
d7831208b2 Fix assembler warnings.
clang complains if you define a symbol and _then_ make it weak, rather
than the other way round:

  /tmp/setjmp-c3c977.s:90:1: warning: sigsetjmp changed binding to STB_WEAK
  .weak sigsetjmp;
  ^

Test: treehugger
Change-Id: Iee6b0ea456bb2e92aea810ce45f171caabaa89d2
2024-01-23 22:06:19 +00:00
Treehugger Robot
df5a96be4e Merge "Disable stack protector test with stack MTE" into main am: e8cfc14651
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2920186

Change-Id: Ic14e44938838d4dbe14dcf4da84a785f25d499b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23 09:48:34 +00:00
Treehugger Robot
e8cfc14651 Merge "Disable stack protector test with stack MTE" into main 2024-01-23 09:22:16 +00:00
Elliott Hughes
4aba07e533 Merge "Silence the linker_relocation benchmark weak symbol warnings." into main am: 7606110490
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2920687

Change-Id: I9ed3e06fc3f02a10d19089c40ddb3390f5fdffa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 22:04:30 +00:00
Elliott Hughes
7606110490 Merge "Silence the linker_relocation benchmark weak symbol warnings." into main 2024-01-22 21:32:04 +00:00
Mitch Phillips
7ce3ec389b Disable stack protector test with stack MTE
Obviously stack MTE conflates with the stack protector test. It doesn't
conflate with heap MTE (which we're expecting to push more broadly as
part of the -eng build), and so we want to keep this test working under
heap-mte scenarios as well.

Hence, the check-if-stack-variable-is-tagged test, and only under that
case, we skip.

Test: atest bionic-unit-tests on a fullmte device (with stack MTE turned
back on and the new compiler).
Bug: 320448268

Change-Id: I2ecee8a7c46416883235bf5c4ee2de9408047829
2024-01-22 12:40:34 +01:00
Elliott Hughes
4c41cab3f3 Silence the linker_relocation benchmark weak symbol warnings.
Test: treehugger
Change-Id: I617e82540ba5f22e237bde344d2b568a369692cd
2024-01-20 00:30:51 +00:00
Treehugger Robot
2569eb859b Merge "bpfmt all the .bp files to silence ayeaye." into main am: 6467c97105
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2918991

Change-Id: I0a73a78b1e47a87cbb7cf20ae8fe1eb0a70ccb27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 22:52:11 +00:00
Treehugger Robot
6467c97105 Merge "bpfmt all the .bp files to silence ayeaye." into main 2024-01-19 22:08:02 +00:00