I can not incorporate the first half of your patch because it is not correct. If Sun's compiler does not allow inline assembly in the FFI code then you have two options: 1) disable the dffi code entirely (--without-dffi) or 2) link against libffi by configuring and installing this library in a place where ECL can find it.
The second patch I would suggest not adding more #ifdefs but rather use a bit more standard code. Can you please test this line instead?
#define ecl_bds_check(env) \
(ecl_unlikely(env->bds_top >= env->bds_limit)? (ecl_bds_overflow(),1) : 0)
As for the compiler, it is not just a matter of internet connection, it is a matter of finding time to set it all up.
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)