mulle-stacktrace, mulle-dlfcn, mulle-testallocator, mulle-core

· nat's blog


brain dump

mulle-core should "just" work as a git submodule without any (major tricks) mulle-core used to provide mulle-stacktrace, but does no longer, due to libbacktrace not working cross platform

  1. mulle-core should be able to exist on its own
  2. its inconvenient to link a half dozen of little files with all-load
  3. all these need to be statically linked anyway except mulle-testallocator

Plan #


Ok named is mulle-core-startup, probably a mistake. Since "regular" code also needs to link against it. Especially the runtime needs dlsym. So back to allload...

Problem #

MulleObjC wants mulle-objc-list as a dependency. (its an executable though), this carries mulle-objc-startup (all-load) with it. This will squat mulle-dlfcn, which the runtime needs, As it comes in too late, then the runtime can't compile, because mulle-dlfcn won't be there yet.

There are like a hundred different ways to "fix" this

is not one of them

last updated: