tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: freebsd binary and kern.usrstack
On Wed, Sep 12, 2012 at 10:51:55PM +0200, Joerg Sonnenberger wrote:
> On Wed, Sep 12, 2012 at 10:28:23PM +0200, Manuel Bouyer wrote:
> > Hello,
> > I'm trying to run a FreeBSD binary under emulation, but it dies in this
> > piece of code:
> > if (sysctl(mib, 2, &_usrstack, &len, NULL, 0) == -1)
> > PANIC("Cannot get kern.usrstack from sysctl");
> >
> > (this is in FreeBSD's src/lib/libthr/thread/thr_init.c).
> >
> > Is there something that can be done about it easily ?
> > And, BTW, do we support FreeBSD threaded binaries ?
>
> I don't think any FreeBSD code newer than 3.x or so is supported at all.
OK. Indeed it doesn't looks very good. The 32bit binary aborts on a 32bit host
becuase of the missing above sysctl , but I couldn't get neither the
32 or 64bit binaries to run at all on a 64bit host.
I guess it'll be easier to get the linux binary running ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index