Created attachment 923586 [details] grep libffi /opt/gentoo/stage1.log ldmfd sp, {sp, pc} ^ src/arm/sysv.S:272:15: error: invalid operand ldmfd sp, {sp, pc} ^ src/arm/sysv.S:274:6: error: invalid operand for instruction ldr r0, [sp] ^ src/arm/sysv.S:277:6: error: invalid operand for instruction ldr r0, [sp] ^ src/arm/sysv.S:278:6: error: invalid operand for instruction ldr r1, [sp, #4] ^ src/arm/sysv.S:283:2: error: unrecognized instruction mnemonic ldfs f0, [sp] ^ src/arm/sysv.S:286:2: error: unrecognized instruction mnemonic ldfd f0, [sp] ^ src/arm/sysv.S:289:2: error: unrecognized instruction mnemonic ldfd f0, [sp] ^ src/arm/sysv.S:294:2: error: unexpected token at start of statement @ .fnend ^ src/arm/sysv.S:295:9: error: unknown directive .size _ffi_closure_SYSV,.ffi_closure_SYSV_end-_ffi_closure_SYSV ^ make[2]: *** [Makefile:904: src/arm/sysv.lo] Error 1 make[2]: Leaving directory '/opt/gentoo/var/tmp/libffi-3.0.8/libffi-3.0.8' make[1]: *** [Makefile:1141: all-recursive] Error 1 make[1]: Leaving directory '/opt/gentoo/var/tmp/libffi-3.0.8/libffi-3.0.8' make: *** [Makefile:430: all] Error 2 I tried running bootstrap_stage1_log but that failed :( I have no clue, really. Please find friendly folks in #gentoo-prefix on irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug at bugs.gentoo.org under Gentoo/Alt, Prefix Support. Sorry that I have failed you master. I shall now return to my humble cave. You can find a log of what happened in /opt/gentoo/stage1.log CHOST: arm64-apple-darwin24 IDENT: arm64-apple-darwin24 I am on macOS 15.4 (24E248)
Created attachment 923587 [details] grep -A5 -B5 'make.*libffi' /opt/gentoo/stage1.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3333ff591e898ac200c6de442d8ddea913ac9ebb commit 3333ff591e898ac200c6de442d8ddea913ac9ebb Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2025-04-05 11:23:56 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2025-04-05 11:23:56 +0000 scripts/bootstrap-prefix: use libffi-3.4.7 for macOS 15.4 Closes: https://bugs.gentoo.org/953142 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
you can make the above change in your local copy, it gets me into stage2