[PATCH] tests: Create random test_dir name

2025-05-06 Thread Mark Wielaard
The testsuite relies on there being no files in the test directory after the test finishes. A test will fail if the test dir cannot be removed. But the test dir isn't really random, it uses the pid of the shell script that executes the test. On some of the buildbots that execute a lot of tests it c

Re: [PATCH v2] src/readelf.c: Access symbol and version data only if available

2025-05-06 Thread Mark Wielaard
Hi Aaron, Hi Constantine, On Mon, 2025-05-05 at 10:44 -0400, Aaron Merey wrote: > handle_dynamic_symtab can attempt to read symbol and version data from > file offset of 0 or address of 0 if the associated DT_ tags aren't found. > > Fix this by only reading symbol and version data when non-zero f

Re: [PATCH] PR32930 backends/: guard asm/perf_regs.h include

2025-05-06 Thread Aaron Merey
Hi Serhei, On Mon, May 5, 2025 at 12:26 PM Serhei Makarov wrote: > > asm/perf_regs.h is an arch-specific linux include, not present on > architectures like hppa and m68k that lack perf_events support. > > Only one place we need to fix; others already guard the include by > architecture, or use ar

☺ Buildbot (Sourceware): elfutils - build successful (main)

2025-05-06 Thread builder
A restored build has been detected on builder elfutils-debian-armhf while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/6/builds/412 Build state: build successful Revision: d05241ce690018548857199bd34d7734c7164679 Worker: debian-armhf Bu

Re: [PATCH] PR32930 backends/: guard asm/perf_regs.h include

2025-05-06 Thread Serhei Makarov
On Tue, May 6, 2025, at 11:24 AM, Aaron Merey wrote: > So if the arch is not x86_64 or i386, then PERF_FRAME_REGISTERS_* will > be 0 and this signals to the backend to skip any unwinding. LGTM. Yep, will expand the #ifdef as more architectures are added. Committed. -- All the best, Serhei