-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kbuild, bpf: reproducible BTF from pahole when KBUILD_BUILD_TIMESTAMP set #7286
Conversation
Upstream branch: 03922e9 |
036c22b
to
86525ee
Compare
Upstream branch: e4a195e |
c3de18d
to
c93d118
Compare
86525ee
to
4006b86
Compare
Upstream branch: 9474f72 |
c93d118
to
b655320
Compare
4006b86
to
84cf8a8
Compare
Upstream branch: da5f8fd |
b655320
to
f243988
Compare
84cf8a8
to
127a7ff
Compare
Upstream branch: 69716e4 |
f243988
to
d4ecd42
Compare
127a7ff
to
301b15d
Compare
Upstream branch: fd8db07 |
d4ecd42
to
57bf232
Compare
301b15d
to
c259890
Compare
Upstream branch: a5912c3 |
57bf232
to
f9d2230
Compare
c259890
to
327f48b
Compare
Upstream branch: bc239eb |
f9d2230
to
ca24b44
Compare
327f48b
to
59a89aa
Compare
… set Reproducible builds [1] require that the same source code with the same set of tools can build identical objects each time, but pahole in parallel mode was non-deterministic in BTF generation prior to dba7b5e ("pahole: Encode BTF serially in a reproducible build") This was a problem since said BTF is baked into kernels and modules in .BTF sections, so parallel pahole was causing non-reproducible binary generation. Now with the above commit we have support for parallel reproducible BTF generation in pahole. KBUILD_BUILD_TIMESTAMP is set for reproducible builds, so if it is set, add reproducible_build to --btf_features. [1] Documentation/kbuild/reproducible-builds.rst Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Acked-by: Jiri Olsa <jolsa@kernel.org>
Upstream branch: 02480fe |
ca24b44
to
84e62d3
Compare
e1cda50
to
25f65f0
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=867235 expired. Closing PR. |
Pull request for series with
subject: kbuild, bpf: reproducible BTF from pahole when KBUILD_BUILD_TIMESTAMP set
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=867235