home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:15423 comp.unix.ultrix:6338 gnu.gcc.help:1950
- Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!cs.utexas.edu!singhal
- From: singhal@cs.utexas.edu (Vivek P. Singhal)
- Newsgroups: comp.windows.x,comp.unix.ultrix,gnu.gcc.help
- Subject: Re: Problems - R5 build on DS 5000/25 using gcc-2.2.2
- Message-ID: <SINGHAL.92Aug19160000@twins.cs.utexas.edu>
- Date: 19 Aug 92 21:00:00 GMT
- References: <1992Aug19.152652.11529@ennews.eas.asu.edu> <1992Aug19.193616.2419@PA.dec.com>
- Organization: Univ. of Texas at Austin, CS Dept.
- Lines: 41
- NNTP-Posting-Host: twins.cs.utexas.edu
- In-reply-to: heiney@wsl.dec.com's message of Wed, 19 Aug 92 19:36:16 GMT
-
- >>>>> In article <1992Aug19.193616.2419@PA.dec.com>, heiney@wsl.dec.com (Bob Heiney) writes:
-
- In article <1992Aug19.152652.11529@ennews.eas.asu.edu>
- scowen@wfpc3.NoSubdomain.NoDomain (Paul A. Scowen) writes:
-
- >Anyway, the build goes ok until the mfb part of the server/ddx tree is reached
- >when a whole series of errors like this happen:
- >
- >as0: Error: mfbfillsp.c, line 771: undefined assembler operation: extzv
- > extzv $2,$8,0($9),$5
-
- BH> "Extzv" is a VAX instruction. This is caused by the following text that's
- BH> in ultrix.cf:
-
- BH> #if HasGcc
- BH> #define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
- BH> #define ServerCCOptions /* */
- BH> #define AllocateLocalDefines /* */
- BH> #endif
-
- BH> which defines "vax". This causes bad vax-specific assembly code to be
- BH> defined for macros like "getbits" and "putbits" in maskbits.h.
-
- BH> Removing "-Dvax" should do the trick, although I haven't tried building the
- BH> server with Gcc myself.
-
- You might try replacing "-Dvax" with "-Dmips". As I recall when I
- tried it last, simply removing "-Dvax" caused something else to blow
- up (e.g. you'll find mips-specific code in mit/server/include/servermd.h).
-
- Actually, if you do get it to work, I'd be interested in seeing your
- site.def & ultrix.cf files -- when I tried gcc 2.2.2, the server that
- was ultimately produced was screwed up.
-
- Good luck!
-
- Vivek
-
- ----------------------------------------------------------------
- Vivek Singhal singhal@cs.utexas.edu Office: (512) 471-9711
- Univ of TX @ Austin, CS Dept, TAY 3.104C Home: (512) 385-1855
-