[Bug 20314] wine loader doesn't work on Debian/kFreeBSD

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 12 17:36:31 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20314





--- Comment #2 from Austin English <austinenglish at gmail.com>  2009-10-12 17:36:30 ---
(In reply to comment #1)
> Hi Austin. My guess is that you'll have to fix it yourself, since probably very
> few developers use GNU/kFreeBSD at this time.

I don't think I'll have time to do so either, especially since I'm not terribly
familiar with the FreeBSD kernel. I wanted to get a bug filed so it's not
forgotten about. Besides, maybe someone will get bored and fix it :-).

> You can look to dlls/kernel32/process.c (set_process_name) for inspiration
> about what the prctl's function (and BSD equivalent?) is. However, you can't
> just copy that code into the preloader, since the preloader may not depend on
> *any* userspace library, not even libc or ldso. It has to do direct kernel
> syscalls for anything it needs to do. Probably only someone with experience
> with FreeBSD would know how to add such syscalls.

Right. As time permits, I'll play around with it a bit, but don't expect
anything fruitful to come out of it.

> (Though perhaps it's fine to just ifdef out the whole prctl thing? Its purpose
> looks quite cosmetic.)

I tried that, still failed. Perhaps with a few more ifdef/elseif's it may be
easy to get a working loader...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list