Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 23:53:17 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        freebsd-current@freebsd.org, jbryant@unix.tfs.net
Subject:   Re: pgcc compile of kernel
Message-ID:  <199801070453.XAA00386@dyson.iquest.net>
In-Reply-To: <199801070316.OAA21969@godzilla.zeta.org.au> from Bruce Evans at "Jan 7, 98 02:16:58 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801070453.XAA00386>