[NCLASSIFIED]Re:Re: Re: Re: [net/citrix_ica/] /usr/local/bin/wfcmgr ... hangs upon exec().

John E Hein jhein at timing.com
Tue May 15 18:22:54 UTC 2007


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.

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.


More information about the freebsd-emulation mailing list