Testers for linuxulator MFC needed
Alexander Leidinger
Alexander at Leidinger.net
Tue Jun 26 12:03:42 UTC 2007
Quoting "Arno J. Klaassen" <arno at heho.snv.jussieu.fr> (from 24 Jun
2007 17:36:30 +0200):
>
> Hello,
>
>> I don't have a -stable system and need some testers for a partial
>> MFC-patch. I'm interested in reports if it works (with e.g.
>> skype/acroread/...) or not (I may have missed some stuff...).
>
> I tried on a very recent amd64-stable :
>
> I probably do something wrong, but I need the (small) attached
> patch to get it compiled, but then I get at linking :
I've updated the patch
(http://www.Leidinger.net/FreeBSD/linuxolator/linuxulator_mfc.diff).
It may still not build on amd64 as I changed a lot, but the problems
you pointed out should be fixed. It builds on i386, but I don't know
if it works.
Here's the current state of affairs:
---snip---
- kern_descrip.c rev 1.296, syscallsubr.h rev 1.41 by jhb:
Add a kern_close() so that the ABIs can close a file descriptor w/o having
to populate a close_args struct and change some of the places that do.
- sync linuxulator (bugfixes + minor syscalls):
* mmap fixes
* fix memleaks
* add syscalls:
+ stat (i386, amd64)
+ iopl (i386, amd64)
+ mprotect (i386)
+ rt_sigpending (i386)
+ rt_sigtimedwait (i386)
+ statfs64 (i386, amd64)
+ utimes (i386, amd64)
+ timer_* (i386)
+ mq_* (i386, amd64)
+ settimeofday (amd64)
* more errno value mapping
* don't limit number of syscalls to 255
* ioctl TIOCGPTN
* handle more socket options
* de-COMPAT_43-ify:
+ sethostname
+ lstat
+ ftruncate
+ nanosleep (i386)
+ socket related ioctl's
* add more dummy syscalls so that we know what is needed
* handle address space limit
* style(9)
- sync linprocfs
* /proc/sys/... part
---snip---
> PS, while here : is the following behaviour easy to implement (or
> already done in p4) ? :
I think this is something Roman (CCed) could investigate... :)
Bye,
Alexander.
> xbox# /compat/linux/bin/bash
> bash-3.00$ /lib/libc.so.6
> bash: /lib/libc.so.6: cannot execute binary file
> bash-3.00$
>
> (for info : uname -a
> FreeBSD xbox 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Jun 23 19:27:15
> CEST 2007
> toor at xbox:/usr/obj/files/bsd/src-current/sys/SEMPRON64 amd64 )
>
> On 'real' Linux this gives (e.g) :
>
> /lib/libc.so.6
> GNU C Library stable release version 2.5, by Roland McGrath et al.
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0,
> pie-8.7.9).
> Compiled on a Linux 2.6.17 system on 2007-05-06.
> Available extensions:
> C stubs add-on version 2.1.2
> crypt add-on version 2.1 by Michael Glad and others
> Gentoo patchset 1.5
> GNU Libidn by Simon Josefsson
> GNU libio by Per Bothner
> NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Native POSIX Threads Library by Ulrich Drepper et al
> Support for some architectures added on, not maintained in
> glibc core.
> BIND-8.2.3-T5B
> Thread-local storage support included.
>
> NB, brandelf -t Linux /compat/linux/lib/ld-linux.so.2 makes no difference.
--
The 11 is for people with the pride of a 10 and the pocketbook of an 8.
-- R. B. Greenberg
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-emulation
mailing list