[DragonFlyBSD - Bug #1525] boehm-gc problems
Chris Turner via Redmine
bugtracker-admin at leaf.dragonflybsd.org
Sat Oct 13 14:47:46 PDT 2012
Issue #1525 has been updated by Chris Turner.
File hackish-threaded.patch added
Ok - a smidge cleaner patch is attached which also passes tests for threading when threading
Digging around in the #ifdefs, it looks like the FreeBSD support is somewhat crufty and goes
back quite a ways (e.g. supports non-elf FreeBSD's as well as more modern ones >= v7), with the dragonfly support tacked on to FBSD - ideally at this stage, since our threads, ABI, and toolchain have diverged somewhat, I'd break out the dragonfly config separately, but my initial effort in this direction didn't quite work.. so for now, this was a 'hack it to compile and see what happens' approach, borrowing from netbsd threading ifdefs on the threading side (as there are some comments about freebsd threads not being supported), but netbsd threads had their own hacks, so it still might not be 100%.
I'll try to build lang/ecl with threads and see what happens when I run a test
which exercises threads and the gc.
if this has issues, then I'll probably try to clean up the non-threaded approach, and then add more 'discrete' (non-hooked-into-netbsd threading ifdefs) support for DF threads.
Bug #1525: boehm-gc problems
Author: Hasso Tepper
Although devel/boehm-gc builds on DragonFly, there are problems - its own
testuite doesn't run. The test for garbage collecting functionality either
segfaults or hangs and if boehm-gc is built with threading support (making it
treat DragonFly as FreeBSD), threading test does the same.
Note, that boehm-gc is used by in many software pieces (mainly various
programming languages) and is probably onw of reasons why so many languages
actually fail to run on DragonFly.
How to test:
tar zxf gc-7.1.tar.gz
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs