[comp.sys.apollo] Problems with Scheme->C diffs for Apollo

jwb@cepmax.ncsu.EDU (John W. Baugh Jr.) (09/27/90)

In trying to use the Scheme->C diffs for Apollo (from Ray Lischner)
that were posted here a while back, I have a problem when trying to do
a 'make port' in the scrt directory.  It looks like there may be a
problem with the ALIGN4 macro in objects.h, and I'm not sure what I'm
doing to cause it.  BTW, I'm doing this on a 4500 with Apollo
Domain/OS Version SR10.2.  Any help would be greatly appreciated.

John (jwb@cepmax.ncsu.edu)

-------------------------------------
  # cd /usr/local/depot/schemetoc/build
  # ls
  APOLLO*		makefile	scsc/
  doc/		scrt/		test/
  # cd scrt
  # make port
  make "CC = cc" "CFLAGS = -O -A cpu,3000 -A sys,bsd4.3" "sccomp = echo"
 Xlibsc.a Xsci Xmv libsc_p.a
  cd /usr/local/depot/schemetoc/scrt; echo -schf echo.heap -sch 8 -scl
40 -C scrt7.sc
  -schf echo.heap -sch 8 -scl 40 -C scrt7.sc
  cc -c -O -A cpu,3000 -A sys,bsd4.3 -DAPOLLO -I. scdebug.c
  
   (0302)         		char 		 stbuf[sizeof(struct STACKTRACE) +
sizeof(long)];    struct STACKTRACE&  st = * (struct STACKTRACE*)
((unsigned)		 stbuf & ~(sizeof(long)-1)); 					TSCP  returntrace; 				
st.prevstacktrace = sc_stacktrace; 					st.procname =   ((T
  ******** Line 302 of "scdebug.c": [Warning #198]  Type of "st" is
illegal for member
           "prevstacktrace".
  ******** Line 302 of "scdebug.c": [Warning #198]  Type of "st" is
illegal for member
           "procname".
  
   (0322)                                             X1 ) ) ); 				
sc_stacktrace = st.prevstacktrace; 					return( returntrace );
  
  ******** Line 322 of "scdebug.c": [Warning #198]  Type of "st" is
illegal for member
           "prevstacktrace".
  
[ and so on .....]
  
  ******** Line 302 of "scdebug.c": [Error #171]  Compiler failure,
store elimination
           failure.
  Compiler backend failure while processing routine "scdebug_l1036" 
  *** Exit 1
  
  Stop.
  *** Exit 1
  
  Stop.