That would be much appreciated, thanks!

I looked at upstream and the project seems to be dead, no changes since 2016.

That's bad, considering that xdelta3 is a dependency of pristine-tar. :/

override_dh_auto_configure:
          dh_auto_configure $@ -- ax_cv_have_aligned_access_required=yes

Interesting, so it might not be broken at all?

I cleaned up the debugging code I had added to pristine-tar, installed the 
xdelta3 built with aligned access enforcement, and now the pristine-tar build 
finishes successfully.

Oh, and I just found out that the ax_check_aligned_access_required detection script will 
"hide" the unaligned memory access crash if it's compiled with optimization. 
When using -O0, it will crash with a bus error on sparc64, as it should.
It's the same with a more recent version of the script[1].

So, IMHO the cleanest fix should be to compile test script without 
optimization, to ensure it's causing a bus error and correctly detect that the 
target cpu requires aligned memory access.

This makes the bus error go away. The pristine-tar build is still failing,
but this might have other reasons.

You mean the unpatched source?

Sorry, which patch are you referring to?
Except for the override of the check, I didn't patch anything.

[1] 
https://gitweb.git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4

Reply via email to