Deadlock from --enable-thread-safety

2023-08-04 Thread Heather McIntyre via Elfutils-devel
I've been making --enable-thread-safety (USE_LOCKS) more viable by fixing deadlocks throughout the libelf library. This has required minimal code changes so far. However, I've hit a snag where "__elf64_updatenull_wrlock" calls "elf64_getchdr," which leads to "elf64_getshdr." This sequence attempts

[PATCH] Fix thread-safety for elfutils

2023-08-08 Thread Heather McIntyre via Elfutils-devel
Hello all, This patch was created to address thread-safety issues reported in bug 26921 and bug 26930 . Additionally, other thread-safety fixes were applied during the process. Brief Des