Hi Scott, On Sat, Dec 03, 2022 at 01:47:25PM +0000, Scott Ashcroft wrote: > > Got any ideas? > > That last sucessful armhf build was on 14/11/2022 which was just before > you added the following changes to berkeley-abc: > > Maybe that armhf patch needs to be reverted?
I totally forgot about that. Indeed it looks like this messes things up on armhf, but only on real hardware, not qemu. The patch removed -DABC_MEMALIGN=4 since the way the Makefile was checking for the current arch being arm was completely broken and only triggering on some buildds. Having that defined basically aligns the size (not address) of some allocations. Turns out however that this will also cause the next allocation to not be aligned, which I'd failed to anticipate. After some more playing around with gdb on a porterbox I can confirm that just reinstating that rounding will stop it from crashing. Let's hope yosys_0.23-6, which should rebuild against a fixed berkeley-abc takes care of this. Thanks, --Daniel