From owner-freebsd-stable@FreeBSD.ORG Tue Nov 22 16:48:35 2005 Return-Path: X-Original-To: freebsd-stable@www.freebsd.org Delivered-To: freebsd-stable@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E481116A420 for ; Tue, 22 Nov 2005 16:48:35 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6039943D46 for ; Tue, 22 Nov 2005 16:48:35 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id jAMGmNvs029033; Tue, 22 Nov 2005 09:48:26 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43834BD7.8050106@samsco.org> Date: Tue, 22 Nov 2005 09:48:23 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Goran Gajic References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-stable@www.freebsd.org Subject: Re: PAE-SMP compilation problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 16:48:36 -0000 Goran Gajic wrote: > > > Hi, > > I don't know if this is known, but when I have tried compiling PAE kernel > with SMP enabled on 6.0-RELEASE I've got this mistake: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq > -I../../../contrib/ipfilter -I../../../contrib/pf > -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd > -I../../../contrib/ngatm -I../../../dev/twa -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 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Werror ../../../dev/hptmv/entry.c > ../../../dev/hptmv/entry.c: In function `fOsBuildSgl': > ../../../dev/hptmv/entry.c:2476: warning: cast to pointer from integer > of different size > ../../../dev/hptmv/entry.c: In function `hpt_io_dmamap_callback': > ../../../dev/hptmv/entry.c:2606: warning: cast to pointer from integer > of different size > ../../../dev/hptmv/entry.c: In function `OsSendCommand': > ../../../dev/hptmv/entry.c:2758: warning: cast to pointer from integer > of different size > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/PAE-SMP. > > I have added nodev hptmv in PAE config in /usr/src/sys/i386/conf/PAE > together with option SMP (only two changes I have made to PAE config file). > > > Regards, > Goran Gajic Yes, this was discovered shortly after the release and corrected. I don't think that it'll be possible to make the hptmv driver work on PAE, unfortunately. Scott