Hello. I started porting sbcl to DragonFlyBSD (earlier attempt was
but this patch seems to be abandoned and works no more).
I am able to build working sbcl now (even with thread support or so it
seems;) but have few questions I failed to figure out myself:
1) Why :gcc-tls (which stands for thread-local storage as I understand
it) is used for freebsd port and is not used anywhere else?
2) There are more multithreading-related features besides :sb-thread
in sbcl (for example :sb-futex). Can you explain these for me?
3.1) SBCL was build without floating point traps (because it is not
like freebsd, there is no fpu.h in dragonfly for example). Can you
explain how floating point exceptions handlers can be set?
3.2) What os_restore_fp_control is for? I left os_restore_fp_control
untouched by now because I do not understand it.
A question for DragonFly developers which I put here as a note for myself:
1) Is there 1:1 multithreading support in DragonFlyBSD (wikipedia says
yes) as there isn't lthr, only lpthread in the system.
BTW, why lpthread cannot be used in FreeBSD, for example?
When my work is finished, I'll put results on github as a fork from sbcl/sbcl.