From owner-freebsd-stable@FreeBSD.ORG Tue Nov 22 13:09:30 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 D3FBF16A41F for ; Tue, 22 Nov 2005 13:09:30 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A90743D70 for ; Tue, 22 Nov 2005 13:09:27 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (localhost.localdomain [127.0.0.1]) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4) with ESMTP id jAMD9JpQ022007 for ; Tue, 22 Nov 2005 14:09:19 +0100 Received: from localhost (ggajic@localhost) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4/Submit) with ESMTP id jAMD9E60021989 for ; Tue, 22 Nov 2005 14:09:19 +0100 Date: Tue, 22 Nov 2005 14:09:14 +0100 (CET) From: Goran Gajic To: freebsd-stable@www.freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu Cc: Subject: 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 13:09:31 -0000 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