hppa64 linker crash on ld-elf/pr22269 testcase

Jan Beulich jbeulich@suse.com
Thu Dec 4 15:32:27 GMT 2025
Hello,

while looking over (many) segmentation faults spamming the kernel log and
resulting from broad testsuite runs, I came across this issue in
elf64_hppa_finalize_dynreloc(): While iterating reloc entries, the reference
to the undefined weak "func" is found. The code determining dynindx and
updating rel.r_addend, however, assumes to only ever deal with defined
symbols. As it's not at all clear to me how to handle undefined symbols
there (first and foremost where to take dynindx from), I can't really
propose a patch. May I ask that one of you take care of this?

Thanks, Jan


More information about the Binutils mailing list