On Dec 5, 2020, Jakub Jelinek <ja...@redhat.com> wrote: > On Sat, Dec 05, 2020 at 06:01:59PM -0300, Alexandre Oliva wrote: >> On Dec 5, 2020, Andreas Schwab <sch...@linux-m68k.org> wrote: >> >> > ../../../../libffi/src/aarch64/ffi.c: In function 'ffi_prep_closure_loc': >> > ../../../../libffi/src/aarch64/ffi.c:67:3: internal compiler error: in >> > emit_library_call_value_1, at calls.c:5300 >> > 67 | __builtin___clear_cache (start, end); >> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Is this still aarch64-linux-gnu -mabi=ilp32? I'm afraid I couldn't >> duplicate this error using a cross compiler (without binutils, but with >> HAVE_AS_MABI_OPTION forced enabled), and many variants of a manually >> minimized ffi.c (to build without libc):
> See PR98147, I've put there an untested patch, but I have no way to test it. Thanks for the fix. I can't imagine why that wouldn't have been hit in my reduced-build scenario, but once I saw your patch, it was pretty obvious that that was it, and I haven't investigated any further. -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Vim, Vi, Voltei pro Emacs -- GNUlius Caesar