From owner-freebsd-emulation@FreeBSD.ORG Tue May 15 19:34:40 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4CEB16A400; Tue, 15 May 2007 19:34:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5333613C45D; Tue, 15 May 2007 19:34:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FC6A.dip.t-dialin.net [84.165.252.106]) by redbull.bpaserver.net (Postfix) with ESMTP id 7D3562E1A5; Tue, 15 May 2007 21:34:36 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 6B0125B48A3; Tue, 15 May 2007 21:34:20 +0200 (CEST) Date: Tue, 15 May 2007 21:34:32 +0200 From: Alexander Leidinger To: John E Hein Message-ID: <20070515213432.269816e1@deskjail> In-Reply-To: <17993.64113.882881.797565@gromit.timing.com> References: <20070506132617.GF36879@obelix.dsto.defence.gov.au> <17981.62139.156155.588677@gromit.timing.com> <20070507073010.GG3240@obelix.dsto.defence.gov.au> <20070507095959.lqa9n27yso8cwo4s@webmail.leidinger.net> <20070507080332.GI3240@obelix.dsto.defence.gov.au> <17983.13326.774561.259231@gromit.timing.com> <20070508024404.GE7353@obelix.dsto.defence.gov.au> <17984.31467.919324.655183@gromit.timing.com> <20070515071955.GB57845@obelix.dsto.defence.gov.au> <17993.63236.294996.548983@gromit.timing.com> <20070515180949.GA29908@freebsd.org> <17993.64113.882881.797565@gromit.timing.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.764, required 8, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, J_CHICKENPOX_52 0.60, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: [NCLASSIFIED]Re:Re: Re: Re: [net/citrix_ica/] /usr/local/bin/wfcmgr ... hangs upon exec(). 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: Tue, 15 May 2007 19:34:40 -0000 Quoting John E Hein (Tue, 15 May 2007 12:22:41 -0600): > Roman Divacky wrote at 20:09 +0200 on May 15, 2007: > > On Tue, May 15, 2007 at 12:08:04PM -0600, John E Hein wrote: > > > Wilkinson, Alex wrote at 15:19 +0800 on May 15, 2007: > > > > 0n Tue, May 08, 2007 at 07:28:11AM -0600, John E Hein wrote: > > > > > > > > >All this tells me that the linux.ko that is installed in /boot/kernel > > > > >was not built with -DDEBUG > > > > > > > > > >Look at the bottom of linux_mib.c - you should have "Linux debugging > > > > >control" in linux.ko if built with -DDEBUG. > > > > > > > > > >So you either built linux.ko incorrectly or installed it incorrectly > > > > >(or failed to install it). > > > > > > > > #pwd > > > > /usr/src/sys/modules/linux > > > > #grep DEBUG Makefile > > > > CFLAGS+=-DCOMPAT_IA32 -DCOMPAT_LINUX32 -DDEBUG=1 > > > > #make > > > > cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing -Werror -D_KERNEL > > > > -DKLD_MODULE -std=c99 -nostdinc -I- -I. -I@ -I@/contrib/altq -finline-limit=8000 > > > > --param inline-unit-growth=100 --param large-function-growth=1000 > > > > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow > > > > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls > > > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > > > -Winline -Wcast-qual -Wundef -fformat-extensions > > > > /usr/src/sys/modules/linux/../../i386/linux/linux_genassym.c > > > > btw.. I just realized that he's probably editing wrong CFLAGS :) > > > > he's editingh amd64 one but he's on i386 > > Actually, if you believe his posting, it seems he's in > sys/modules/linux, not in sys/amd64/linux. There's amd64/linux32, and it's the code used on amd64 like the i386/linux one is used on x86. modules/linux is right. > That said, I'm not sure why he decided to add -DCOMPAT_IA32 > -DCOMPAT_LINUX32 when he was asked to just add -DDEBUG=1. > If he's ever actually successful at setting CFLAGS properly, > he'll probably get compile errors due to those flags. The *32 stuff is originally in the Makefile on every system, but it is in the amd64 section and not in the generic section. This is what Roman tried to explain. The -DDEBUG=1 has to moved to a different part of the makefile which is not conditional on being on amd64. Bye, Alexander. -- "Microwave oven? Whaddya mean, it's a microwave oven? I've been watching Channel 4 on the thing for two weeks." http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137