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. Jakub