From owner-freebsd-current Tue Jan 6 20:53:57 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA08344 for current-outgoing; Tue, 6 Jan 1998 20:53:57 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA08319 for ; Tue, 6 Jan 1998 20:53:48 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id XAA00386; Tue, 6 Jan 1998 23:53:17 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199801070453.XAA00386@dyson.iquest.net> Subject: Re: pgcc compile of kernel In-Reply-To: <199801070316.OAA21969@godzilla.zeta.org.au> from Bruce Evans at "Jan 7, 98 02:16:58 pm" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 6 Jan 1998 23:53:17 -0500 (EST) Cc: freebsd-current@freebsd.org, jbryant@unix.tfs.net X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans said: > > 7:59:35pm argus(96): pgcc -c -O2 -m486 -fomit-frame-pointer -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -nostdinc -I- -I. -I../.. -I../../../include -DUPDATE_INTERVAL=30 -DFASTLINKS -DDEVFS -DNFS -DFFS -DNETATALK -DINET -DFIFO -DWANT_JOYSTICK_CONNECTED -DCOM_BIDIR -DSTAR_SAVER -DFDSEEKWAIT=16 -DDUMMY_NOPS -DPROBE_VERBOSE -DUSE_RTC_CENTURY -DMD5 -DFAILSAFE -DNSWAPDEV=1 -DDST=0 -DTIMEZONE=0 -DKERNEL -include opt_global.h ../../kern/kern_clock.c > >machine/cpufunc.h: In function `hardclock': > >machine/cpufunc.h:363: inconsistent operand constraints in an `asm' > > This is probably because pgcc is based on an ancient version of gcc > (2.4?) that doesn't support the "A" constraint. Fix: rm -rf pgcc. > Try using the pgcc at ftp.goof.com. It uses egcs as a base, and appears to compile the kernel correctly, except with "-mcpu=pentiumpro -march=pentiumpro" -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig.