Stephen Kell

Results 180 comments of Stephen Kell

Actually, doing a sigreturn by jump-trampoline will be a problem too... the trampoline pushes stuff onto the stack, whereas sigreturn only works if the stack pointer is pointing in the...

One problem with a CIL inlinifier is that it can't do the site-specific codegen we envisage for stuff like inline caching. E.g. if we declared a static local for cache...

Another issue is our use of hot/cold path-splitting. It seems hard to make this modular, although it could be done. One intriguing application of the hot/cold path is for speculative...

Hi Hiragi. Thank you for your interest. The rough answer is that there is now some version skew between `liballocs` and `libcrunch` since I haven't forward-ported the latter to reflect...

Hi again. It looks like the revision you chose dates from February 2022. I think you should try one from February 2021. Let me know how you get on!

Possibly an extreme version of this change is for liballocs simply not to depend on (in a `DT_NEEDED` sense) libc at all. That is hard to achieve... e.g. it means...

It might appear we could bootstrap this as follows: use `fake_dlsym` to get hold of `dlsym`, `dlopen` et al. However, this assumes they are present! And the only way to...

Still we could refrain from using symbols in libc, only using those in libdl and only directly depending on libdl (but transitively pulling in libc through that). That would be...

If we do not even `DT_NEEDED`-depend on `libdl.so` but have `UND` references to `dlopen` et al, can we still link and load? If so, that may be another way to...

This turns out to be [a glibc bug](https://sourceware.org/bugzilla/show_bug.cgi?id=31168). It seems necessary to have some detection/reporting of glibc bugs like this at liballocs startup, since buggy releases can stay in circulation...