l...@gnu.org (Ludovic Courtès) writes: > Currently, the code just checks for the magic cookie (see > `make_objcode_by_mmap ()'), and if it differs, e.g., because the version > isn't right, it just bails out.
Thanks for confirming that. > Eventually, maybe it could handle this gracefully. For instance, if > said object file is from the cache, then it could just recompile and > overwrite it with a new object file. Yes, this is what I'd (intuitively, but without detailed knowledge) expect. > Then it could also try to interpret version numbers and determine > whether that bytecode is really incompatible, or whether it can > interpret it. Are there scenarios where that would be worthwhile? Regards, Neil