On Wed, 11 May 2022 21:06:57 +0200
Sven Wolf <[email protected]> wrote:
> ===> Building package for apache-httpd-2.4.53p1
> Create /usr/packages/arm/all/apache-httpd-2.4.53p1.tgz
> Error: Libraries in packing-lists in the ports tree
> and libraries from installed packages don't match
I often see this kind of error on macppc, when its snapshot packages are
too old. arm/armv7 is slowest, and macppc/powerpc is 2nd slowest, when
the platforms build snap packages. I would try to pass this error by
downdating the library's port to match my installed package, with
"cvs up -D YYYY-MM-DD", because I got my ports from anoncvs. Another
way is to try PKG_CREATE_NO_CHECKS from bsd.port.mk(5). Either way
might fail.
I would have wanted to add the snap package of apache-httpd, instead
of building it. This command might have helped,
$ make prepare FETCH_PACKAGES=
> On Monday the new snapshot packages for the arm/armv7 platform were
> pushed to the mirrors.
> And now my php-fpm problem, I've tested php-8.0.17p2 and php-8.1.4p1, is
> solved. In my opinion the cause for my issue was, that I use a snapshot
> operating system but the last snapshot packages for armv7 were build on
> 2021-11-16.
Good, then we don't need the DEBUG=-g build.
I had studied your crashing instruction,
> (gdb) disas $pc,$pc+1
> Dump of assembler code from 0x510a0fc to 0x510a0fd:
> => 0x0510a0fc: vst1.64 {d16-d17}, [r1]
> End of assembler dump.
> (gdb) print $r1
> $1 = 1849557212
I'm not sure, but this vst1.64 might store an 8-byte double-precision
float to the address in r1. This address 1849557212 was 4 more than a
multiple of 8, so the double was misaligned.
I have no hardware that would SIGBUS here. I instead wrote a small
program using ptrace(2) to trap and emulate the double stores on
powerpc, because I know how a powerpc cpu stores doubles (stfd, stfdx).
I found no misaligned double stores while tracing php-fpm-8.0 from
powerpc's php-8.0.17p2; every address was a multiple of 8. This is
consistent with your report that arm's php-8.0.17p2 doesn't SIGBUS.
--George