On Mon, 6 Jan 2003, Matthias Klose wrote: > 2003-01-03 Jeff Sturm <[EMAIL PROTECTED]> > > * include/ffi.h.in: Add closure defines for SPARC, SPARC64. > * src/ffitest.c (main): Use static storage for closure. > * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. > * src/sparc/v8.S (ffi_closure_v8): New. > * src/sparc/v9.S (ffi_closure_v9): New. > > but libffi fails to build at least on alpha and powerpc (nof > libs). The last builds that succeeded were from 20021228.
Indeed. The alpha build fails on a peephole optimization; I created bootstrap/9180 for it along with a small test case. We could "#ifdef sparc" around the static declaration, though that doesn't solve the real issue. And I don't like conditional compilation in any event. So what's the right thing to do? I'm happy to work on it, but the alpha fix isn't really very obvious and I don't have a powerpc-linux machine. Jeff