[PATCH 1/1] IBM Z: Fix endianess problem in pid_memory_read

Andreas Krebbel krebbel@linux.ibm.com
Fri Nov 20 06:20:47 GMT 2020

On 20.11.20 01:33, Mark Wielaard wrote:
> Hi Andreas,
> On Thu, Nov 19, 2020 at 08:32:24PM +0100, Andreas Krebbel via Elfutils-devel wrote:
>> The cached reads lack the big endian adjustments done in the fallback
>> path.
> Thanks for finding this. Did you find this by code inspection or by
> having a 31bit binary backtrace on a 64bit system fail?
> We actually have a testcase for 31-bit-on-64-bit backtrace
> (run-backtrace-native-biarch.sh) but the s390x buildbot worker doesn't
> support creating 31bit executables, so the testcase is SKIPPED.

The problem was reported for strace. But then we noticed that the testcase you mentioned fails on Z
currently. It is fixed with the patch.

> I pushed you patch.



More information about the Elfutils-devel mailing list