Skip to content

Update build dependencies#443

Merged
r1viollet merged 7 commits into
mainfrom
r1viollet/update_elfutils
Aug 5, 2025
Merged

Update build dependencies#443
r1viollet merged 7 commits into
mainfrom
r1viollet/update_elfutils

Conversation

@r1viollet

@r1viollet r1viollet commented Aug 1, 2025

Copy link
Copy Markdown
Collaborator

What does this PR do?

Update build dependencies.
Fix linter issues or add NOLINT options.

Motivation

Ensure builds are done with

  • latest toolchains
  • latest versions of elfutils

Ensure that we can build the main branch.

Additional Notes

This requires a PR in ddprof-build to update build caches.

How to test the change?

Already tested

- elfutils 0.192
@r1viollet
r1viollet force-pushed the r1viollet/update_elfutils branch 5 times, most recently from 0e1a814 to 6a7fda6 Compare August 4, 2025 12:46
@r1viollet
r1viollet force-pushed the r1viollet/update_elfutils branch from 6a7fda6 to bd0f5ec Compare August 4, 2025 13:06
Comment thread src/lib/elfutils.cc
const ElfW(Sym) *s = nullptr;
// NOLINTBEGIN(bugprone-suspicious-stringview-data-usage)
if (dyn_info.gnu_hash) {
s = gnu_hash_lookup(dyn_info.strtab.data(), dyn_info.symtab.data(),

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we could fix this in a cleaner way

@r1viollet
r1viollet marked this pull request as ready for review August 5, 2025 08:03
@r1viollet
r1viollet requested a review from nsavoire as a code owner August 5, 2025 08:03
@pr-commenter

pr-commenter Bot commented Aug 5, 2025

Copy link
Copy Markdown

Benchmark results for collatz

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.20.0+654f228e.72545751 ddprof 0.19.0+49676aa2.72729931

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-collatz --preset cpu_only collatz_runner.sh same

@pr-commenter

pr-commenter Bot commented Aug 5, 2025

Copy link
Copy Markdown

Benchmark results for BadBoggleSolver_run

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.20.0+654f228e.72545751 ddprof 0.19.0+49676aa2.72729931

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-bad-boggle-solver BadBoggleSolver_run work 1000 unsure
[+0.554ms; +31.495ms] or [+0.028%; +1.601%]

libclang_rt is in the linux folder. Usually located here:
/usr/lib/llvm-20/lib/clang/20/lib/linux/libclang_rt.asan-x86_64.so
Ensure we can link against it.
Manual fetch of valgrind is no longer needed in the build image
@r1viollet
r1viollet force-pushed the r1viollet/update_elfutils branch from 3e0f9f2 to 49676aa Compare August 5, 2025 12:59
@r1viollet
r1viollet merged commit 6952c10 into main Aug 5, 2025
2 checks passed
@r1viollet
r1viollet deleted the r1viollet/update_elfutils branch August 5, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants