Trying to build libgcrypt master from source on MacOS (aarch64; M4 processor) fails with:
Making all in mpi /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu23 -DHAVE_CONFIG_H -I. -I../../libgcrypt-202609211218/mpi -I.. -I../src -I../../libgcrypt-202609211218/src -MT mpih-add1-asm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c -o mpih-add1-asm.lo mpih-add1-asm.S libtool: compile: gcc -std=gnu23 -DHAVE_CONFIG_H -I. -I../../libgcrypt-202609211218/mpi -I.. -I../src -I../../libgcrypt-202609211218/src -MT mpih-add1-asm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c mpih-add1-asm.S -fno-common -DPIC -o .libs/mpih-add1-asm.o [TMPDIR]/mpih-add1-asm-9d6625.s:62:1: error: Unfinished frame!
Increasing the number of parallel jobs shows four more similar errors in the mpi source folder:
[TMPDIR]/mpih-mul2-asm-d2b41c.s:99:1: error: Unfinished frame! [TMPDIR]/mpih-mul1-asm-850234.s:87:1: error: Unfinished frame! [TMPDIR]/mpih-sub1-asm-f39320.s:62:1: error: Unfinished frame! [TMPDIR]/mpih-add1-asm-b910b6.s:62:1: error: Unfinished frame! [TMPDIR]/mpih-mul3-asm-426568.s:112:1: error: Unfinished frame!
git bisect points to commit 9b684f4a448e8948b4c1fd1316320fa97fd8109a (libgcrypt-1.12.2 is the latest release I can build, successfully).