https://sourceware.org/bugzilla/show_bug.cgi?id=30916
Bug ID: 30916 Summary: addr2line testsuite fails when targeting PowerPC 64 big-endian with ELFv2 ABI Product: binutils Version: 2.41 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: awilfox at adelielinux dot org Target Milestone: --- addr2line fails its test suite when the target is a big endian, 64-bit PowerPC system with ELFv2 ABI. musl libc uses ELFv2 on both endians of PowerPC64, and I know that there is an experimental glibc port that uses ELFv2. This naive patch fixes it for musl: --- binutils-2.41/binutils/testsuite/binutils-all/addr2line.exp.old 2023-07-02 18:00:00.000000000 -0500 +++ binutils-2.41/binutils/testsuite/binutils-all/addr2line.exp 2023-09-22 20:44:37.242158767 -0500 @@ -20,7 +20,7 @@ set exe [exeext] # powerpc64 function symbols are on descriptors rather than code. -if [istarget powerpc64-*-*] { +if { [istarget powerpc64-*-*] && ![istarget powerpc64-*-musl] } { set opts --synthetic set dot {\.} } .. but obviously does not fix it for any other ELFv2 target. -- You are receiving this mail because: You are on the CC list for the bug.