Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2006 03:24:23 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        emulation@freebsd.org
Subject:   Re: Fix for errno 2 - expected 14 (EFAULT) problems
Message-ID:  <26755448@bsam.ru>
In-Reply-To: <20060916171840.5dd744b7@Magellan.Leidinger.net> (Alexander Leidinger's message of "Sat, 16 Sep 2006 17:18:40 %2B0200")
References:  <450C0C0E.8060402@SYSTEM.PL> <20060916171840.5dd744b7@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Sep 2006 17:18:40 +0200 Alexander Leidinger wrote:

> Anyone with an amd64 system out there and willing to test this (with
> the LTP testsuite as described on
> http://wiki.freebsd.org/linux-kernel)? Because this doesn't seems to be
> the final fix, it isn't necessary to test this particular patch, but it
> would be nice to know if there are some differences between the results
> on i386 (as can be seen in the wiki) and amd64.

Should the patch (linuxolator-p4.diff) from a wiki page be applied to
-current? It applies well but the kernel is not builded:
-----
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m -h
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -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 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -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
/usr/src/sys/compat/linux/linux_aio.c:47:36: machine/../linux/linux.h: No such file or directory
/usr/src/sys/compat/linux/linux_aio.c:48:42: machine/../linux/linux_proto.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
-----

This is -current as of today on AMD64 machine.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26755448>