Request for swapcontext and getcontext to be ported to our libc

Matt Emmerton matt at
Fri Jan 5 10:21:20 PST 2007

[ top-posting corrected ]

> Petr Janda wrote:
> > Matt Emmerton wrote:
> > The first cut of this work has been completed.  I've ported over the
> > i386 work, which is a hybrid libc + kernel syscall implementation.
> >
> > You can find the source changes and a tiny test program here:
> >
> >
> > I hope to have a libc-only implementation completed before the end of
> > week.
> Libc and kernel compiled, but wip/powerdns-recursor still gives me the
> mtasker errors.

I'm assuming that you did installworld/installkernel/reboot before
attempting to build wip/powerdns-recursor.

After a bit of searching, I added the wip/ bits to my pkgsrc installation
and have found that powerdns-recursor has compile warnings/errors/ICE on
DFly that are totally unrelated to the *context functions.

I'm curious to know what patches/tweaks you are using in your environment to
get to the point where you see *context-related failures.

# uname -a
DragonFly 1.7.0-DEVELOPMENT DragonFly 1.7.0-DEVELOPMENT
#0: Wed Jan  3 18:21:26 EST 2007
root at  i386

# gcc -v
Using built-in specs.
Configured with: DragonFly/i386 system compiler
Thread model: posix
gcc version 3.4.5 20050809 (prerelease) [DragonFly] (propolice, visibility)

# grep DISTNAME /usr/pkgsrc/wip/powerdns-recursor/Makefile
DISTNAME=               pdns-recursor-3.1.4

Matt Emmerton

More information about the Users mailing list