Radience on HP 9000 / 700

Radience on HP 9000 / 700

Post by Andy Knivet » Mon, 23 Mar 1992 20:28:08



Has anyone compiled Radience 2 on the Hp 9000 / 700 range of machines, I'm using
the following in rmake :-

#!/bin/sh
exec make "SPECIAL=tiff" \
        "OPT=" \
        "MACH=-DALIGN=double -DBIGMEM" \
        ARCH=hpux "COMPAT=malloc.o getpagesize.o" \
        INSTDIR=/usr/local/bin \

When I run make daf from the ray/obj/misc directory I got the following :-

/home/ouse/kniveton/compile/ray/obj/misc>>make daf
        oconv daffodil.xf room > daf.oct
        rview -o x11 -vp 50 60 40 -vd 0 -0.707107 -0.707107 -vu 0 1 0 \
        -vh 20 -vv 20 -av .2 .2 .2 daf.oct
sh: 18221 Bus error - core dumped
*** Error code 138

Stop.

Anyone got any ideas ?

Cheers Andy.
--
  _ _ /|        Andy Kniveton,  Tel No  +44 793 545349
  \'o.O'        Motorola Ltd,   Fax No  +44 793 541228

     U          Blagrove, Swindon,      uunet!motcid!zeus!kniveton
                England, SN5 8YW.

 
 
 

Radience on HP 9000 / 700

Post by Howard Stroy » Thu, 26 Mar 1992 03:42:50



Quote:> When I run make daf from the ray/obj/misc directory I got the following :-

> /home/ouse/kniveton/compile/ray/obj/misc>>make daf
>         oconv daffodil.xf room > daf.oct
>         rview -o x11 -vp 50 60 40 -vd 0 -0.707107 -0.707107 -vu 0 1 0 \
>         -vh 20 -vv 20 -av .2 .2 .2 daf.oct
> sh: 18221 Bus error - core dumped
> *** Error code 138

> Anyone got any ideas ?

The bus error is often indicative of a mis-aligned data reference.
The s700 requires that the basic data reference (char,short,long,
float,double) be aligned by as many bytes as the data element is long.
That is, a char must by byte aligned (not too tough :-) and a long be
word (4 byte) aligned.  I would look at address alignment of the data
referenced at the point of the bus error, and then start working back to
see where the mis-alignment originates.  It may be a malloc of a char
block or char ptr used as an int ptr for example.

--
Howard Stroyan                                        

User Interface Technology Division