From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 17 18:42:46 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7622D16A5EC for ; Sun, 17 Sep 2006 18:42:41 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C55343D46 for ; Sun, 17 Sep 2006 18:42:40 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.171]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k8HIgM8f059172; Sun, 17 Sep 2006 22:42:32 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GP1av-0000FZ-Lj; Sun, 17 Sep 2006 22:42:21 +0400 To: Alexander Leidinger References: <450C0C0E.8060402@SYSTEM.PL> <20060916171840.5dd744b7@Magellan.Leidinger.net> <26755448@bsam.ru> <20060917131228.42b2cd23@Magellan.Leidinger.net> <60660670@bsam.ru> <46427671@bsam.ru> <20060917180726.75d0a358@Magellan.Leidinger.net> <82100473@bsam.ru> From: Boris Samorodov Date: Sun, 17 Sep 2006 22:42:21 +0400 In-Reply-To: <82100473@bsam.ru> (Boris Samorodov's message of "Sun, 17 Sep 2006 22:20:54 +0400") Message-ID: <49949186@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@freebsd.org Subject: Re: Fix for errno 2 - expected 14 (EFAULT) problems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 18:42:46 -0000 On Sun, 17 Sep 2006 22:20:54 +0400 Boris Samorodov wrote: > On Sun, 17 Sep 2006 18:07:26 +0200 Alexander Leidinger wrote: > > ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#4 (text+ko) ==== > > @@ -25,6 +25,8 @@ > > #include > > __FBSDID("$FreeBSD$"); > > +#include "opt_compat.h" > > + > > #include > > #include > > #include > This patch did the trick and buildworld went further. But another > error occures: > ----- > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/amd64/linux32/linux32_sysvec.c > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/compat/linux/linux_aio.c > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_setup': > /usr/src/sys/compat/linux/linux_aio.c:501: warning: cast from pointer to integer of different size > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_destroy': > /usr/src/sys/compat/linux/linux_aio.c:542: warning: cast from pointer to integer of different size > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_getevents': > /usr/src/sys/compat/linux/linux_aio.c:683: warning: cast from pointer to integer of different size > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_submit': > /usr/src/sys/compat/linux/linux_aio.c:938: warning: cast from pointer to integer of different size > /usr/src/sys/compat/linux/linux_aio.c: In function `linux_io_cancel': > /usr/src/sys/compat/linux/linux_aio.c:1054: warning: cast from pointer to integer of different size > *** Error code 1 > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > ----- > I'll try to double check it, maybe I've messed the sources... Well, I removed /usr/src, /usr/obj, cvsupped to -current, add all patches (wiki + amd64 + quoted). The result is the same. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve