From owner-freebsd-sparc Fri Oct 25 3:20:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA6EE37B401; Fri, 25 Oct 2002 03:20:15 -0700 (PDT) Received: from cc-gw.1anetworks.net (cc-gw.1anetworks.net [193.243.179.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F8D343E75; Fri, 25 Oct 2002 03:20:14 -0700 (PDT) (envelope-from brian@ukip.com) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id LAA07543; Fri, 25 Oct 2002 11:20:03 +0100 (BST) From: "Bri" To: "Maxime Henrion" , Subject: RE: Compile from recent sources Date: Fri, 25 Oct 2002 11:16:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20021024115309.GL26605@elvis.mu.org> Importance: Normal Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org My Kernel now compiles after the diff patch ipfw2 thanks Bri, -----Original Message----- From: owner-freebsd-sparc@FreeBSD.ORG [mailto:owner-freebsd-sparc@FreeBSD.ORG]On Behalf Of Maxime Henrion Sent: 24 October 2002 12:53 To: Bri Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Compile from recent sources Bri wrote: > thanks now ip_divert.c compiles great no errors but a few secounds after > that i get > > /arch/sparc64/hosted/bin/gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-e > xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W > cast-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../ > contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include > opt_global.h -mcmodel=medlow -msoft-float -fno-common -ffreestanding -Werro > r ../../../netinet/ip_fw2.c > cc1: warnings being treated as errors > ../../../netinet/ip_fw2.c: In function `ipfw_ctl': > ../../../netinet/ip_fw2.c:2507: warning: cast from pointer to integer of > different size > ../../../netinet/ip_fw2.c:2520: warning: cast from pointer to integer of > different size > *** Error code 1 Yes, this is a known problem. ipfw2 will panic your sparc if you attempt to use it. Search in the current@ mailing list archive, I posted a patch to fix this (the subject is something like "patch to fix ipfw2 on sparc64"). It should fix the warnings and the panics you would have if you attempted to use ipfw2 as is (you can't compile it in the kernel because of the -Werror flag, but you could load it as a module). Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message