Date: Tue, 26 Jun 2007 14:01:36 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Arno J. Klaassen" <arno@heho.snv.jussieu.fr> Cc: emulation@freebsd.org Subject: Re: Testers for linuxulator MFC needed Message-ID: <20070626140136.uu7apec8gsg44ggc@webmail.leidinger.net> In-Reply-To: <wpejk1uzy9.fsf@heho.snv.jussieu.fr> References: <20070623180527.46d8b270@deskjail> <wpejk1uzy9.fsf@heho.snv.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Arno J. Klaassen" <arno@heho.snv.jussieu.fr> (from 24 Jun =20 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 =20 (http://www.Leidinger.net/FreeBSD/linuxolator/linuxulator_mfc.diff). =20 It may still not build on amd64 as I changed a lot, but the problems =20 you pointed out should be fixed. It builds on i386, but I don't know =20 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 havi= ng 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 =20 > CEST 2007 =20 > toor@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, =20 > 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 =20 > 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. --=20 The 11 is for people with the pride of a 10 and the pocketbook of an 8. =09=09-- R. B. Greenberg http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070626140136.uu7apec8gsg44ggc>