Aosp-RBE compile ERROR?

97 views
Skip to first unread message

梁栋

unread,
Sep 6, 2023, 1:17:49 PMSep 6
to Android Building
 AOSP RBE build lead to binary incorrect

version: android-12-r2

client: RBE 0.36.0.4a0a3bd

server: [buildfarm v2.4.0](https://github.com/bazelbuild/bazel-buildfarm)

We use RBE to build, server use [buildfarm v2.4.0](https://github.com/bazelbuild/bazel-buildfarm), and use incremental build.

But we found that sometimes .o file is incorrect and build fail, and  most of them appear in  `_cfi` `_apex`  files

B7064782-CA4F-4CF2-8323-5E09C8EDAE5C.png

and cat `*.a.rsp` file,compute all `.o` file md5, found some `.o` file is incorrect, and these error files appear to be random in different builds.

For example `Balance.o` and `ErrorLog.o` file  (left is error file, right is right file):
 `out/soong/.intermediates/system/media/audio_utils/Balance.o` file:
20230831-185717.png

`out/soong/.intermediates/system/media/audio_utils/ErrorLog.o` file:

20230831-185729.png

I'm not sure what caused it, but I'm guess it may be related to file transfer. At the same time, RBE does not appear to hash the files returned by the remote.

Reply all
Reply to author
Forward
0 new messages