Subject: Re: Odd compile problem in nfs_vnops.c
To: Seandog <spberry@toolbox.ansci.iastate.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 08/30/1996 21:43:25
On Fri, 30 Aug 1996 21:08:44 -0700 (PDT) 
 Seandog <spberry@toolbox.ansci.iastate.edu> wrote:

 > With -current source, and 1.1 tools/kernel, I run into the following problem.
 > Could this be related to the NFS v3 integration?  I'll give 1.1 source a go,
 > as my primary goal was to hack in 35401 (34501?) tape jukebox support.
 > 
 > cc  -O2 -Werror -msoft-float -I. -I../../../../arch -I../../../.. -DGENERIC -DHP360 -DHP340 -DDDB -DCOMPAT_HPUX -DCOMPAT_NOLABEL -DUSELEDS -DFPSP -DTCP_COMPAT_42 -DMROUTING -DGATEWAY -DINET -DMFS -DPROCFS -DFDESC -DKERNFS -DUNION -DNFSCLIENT -DNFSSERVE

  R -DCD9660 -DQUOTA -DFFS -DFIFO -DNKMEMCLUSTERS=1024 -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_44 -DCOMPAT_43 -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -D_KERNEL -Dmc68020 -Dhp300 -DFPCOPROC  -c ../../../../nfs/nfs_vnops.c
 > ../../../../nfs/nfs_vnops.c: In function `nfsspec_close':
 > ../../../../nfs/nfs_vnops.c:3258: internal error--insn does not satisfy its constraints:
 > (insn 139 54 56 (set (reg:DI 10 a2)
 >         (mem/s:DI (plus:SI (reg:SI 11 a3)
 >                 (const_int 168)))) 39 {movdi} (nil)
 >     (nil))
 > cc: Internal compiler error: program cc1 got fatal signal 6
 > *** Error code 1

This is becuase the compiler in NetBSD 1.1 is not capable of compiling 
NFSv3... kinda sucks :-/

BUT!  I have good news for you :-)

(I'm also going to post a separate announcement, but..)

You can get a binary snapshot from 1.2_BETA sources at:

	ftp://ftp.NetBSD.ORG/pub/NetBSD/arch/hp300/snapshot/960830/

Make sure you read the README file...

I'm going to be posting a pre-release format snapshot RSN, as well...

Anyhow, this is an easier upgrade path than mucking about building the 
new compiler (which is not a straight-shot upgrade itself)...

 -- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ -- 
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939