waddlesplash
waddlesplash
Meanwhile, running my branch with `--disable-threads` (i.e. unmapping still enabled) works just fine: ``` Running on HAIKU/X86_64 target Supported VDBs: manual default Completed 6 tests Allocated 3819281 collectable objects Allocated...
Tried with `--disable-parallel-mark --disable-munmap` (i.e. threads still enabled) and it crashes constantly. So the problem really is just threads support it appears.
Enabling a few debug prints, the collector does detect thread startups correctly: ``` Running on HAIKU/X86_64 target Supported VDBs: manual default Starting thread 0x11732d312af0, sp= 0x7f98ce9c77c0 Starting thread 0x11732d313cb0, sp=...
`GC_ASSERTIONS` caught something: ``` Running on HAIKU/X86_64 target Supported VDBs: manual default Starting thread 0x10c41ae305b0, sp= 0x7f920b15bea0 Starting thread 0x10c41ae31770, sp= 0x7fe5044ef2d0 Starting thread 0x10c41ae32930, sp= 0x7fe32c92d930 Starting thread 0x10c41ae33af0,...
I've added the function in https://github.com/waddlesplash/xlibe/commit/b1841ee5108a380f690ac0c603ce342790888f02, and also fixed some other issues I found testing with it. However, there are still some problems that prevent Xaw and thus xdvik from...
> I also found that in all versions of llvm, the paths to libraries and include files in cmake files were incorrectly specified. When building projects, static libraries are at...
Should be fine; internally `dl_iterate_phdr` is implemented using `get_next_image_info` anyway. You lose the "length" information since the phdr structs don't provide this, but that's the same as on other OSes....
Hmm, I just looked at the code some more, and it appears that when `dl_iterate_phdr` is used, "gimli" tries to read `/proc/self/maps` to determine size information? Haiku doesn't have `/proc/`...
> There are but they're only run on some OS, I think? Well, that should be checked on Haiku to make sure this doesn't regress. Is it really so bad...
> I just would kind of hope that if a function exists in its libc then calling it, uh, works? It works fine, but the `dl_iterate_phdr` structure provides no size...