POV-Ray : Newsgroups : povray.unix : Install on Solaris 8 Server Time
28 Jul 2024 18:14:30 EDT (-0400)
  Install on Solaris 8 (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: Thorsten Froehlich
Subject: Re: Install on Solaris 8
Date: 13 Jun 2001 09:07:27
Message: <3b27658f@news.povray.org>
In article <3b269c75$1@news.povray.org> , "Tilly" <web### [at] tabsnetde> 
wrote:

> But, be carefull. There are different
> chess2.pov in the UNIX and Win Distribution (The Unix-Version is faster). I
> used the Windows-Version for the Benchmark.

No, they are actually the same if you get them from POV-Ray 3.1.  however,
some Linux distributions (at least until recently) used to come with POV-Ray
3.02 which included a slightly different version of the scene.


     Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 13 Jun 2001 19:22:11
Message: <3B27F5AD.C1B7ACDF@interlog.com>
Geez!  Thanks.  I thought I was going nuts when I tried to compare the two
files and they looked the same to me.  The system that I ran my test on was also
running a database server with about a Gig of data indexed on it.  I figured
that it was a dual CPU system so no harm in getting one CPU to do some work for
a while.  I ended up with a time that was slow by just a little bit.  There must
be a way to get POV-Ray to run a little faster.  What about a compile for the
Sparc V9a processor?  A completely 64bit binary.  Would that make any real
difference or just create a really large binary file.

Dennis

Thorsten Froehlich wrote:
> 
> In article <3b269c75$1@news.povray.org> , "Tilly" <web### [at] tabsnetde>
> wrote:
> 
> > But, be carefull. There are different
> > chess2.pov in the UNIX and Win Distribution (The Unix-Version is faster). I
> > used the Windows-Version for the Benchmark.
> 
> No, they are actually the same if you get them from POV-Ray 3.1.  however,
> some Linux distributions (at least until recently) used to come with POV-Ray
> 3.02 which included a slightly different version of the scene.
> 
>      Thorsten
> 
> ____________________________________________________
> Thorsten Froehlich
> e-mail: mac### [at] povrayorg
> 
> I am a member of the POV-Ray Team.
> Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 05:31:48
Message: <3b288484@news.povray.org>
Dennis Clarke <dcl### [at] interlogcom> wrote:
: There must
: be a way to get POV-Ray to run a little faster.  What about a compile for the
: Sparc V9a processor?  A completely 64bit binary.  Would that make any real
: difference or just create a really large binary file.

  According to my tests (I haven't tested too extensively, though), compiling
povray to the V9 processor (with "cc -fast -xarch=v9") gives a 5-10% of speed
increase compared to an optimized gcc compile.
  As you guessed, the binary gets huge.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 09:28:41
Message: <3B28BC12.4794C081@blastwave.com>
Warp wrote:
> 
> Dennis Clarke <dcl### [at] interlogcom> wrote:
> : There must
> : be a way to get POV-Ray to run a little faster.  What about a compile for the
> : Sparc V9a processor?  A completely 64bit binary.  Would that make any real
> : difference or just create a really large binary file.
> 
>   According to my tests (I haven't tested too extensively, though), compiling
> povray to the V9 processor (with "cc -fast -xarch=v9") gives a 5-10% of speed
> increase compared to an optimized gcc compile.
>   As you guessed, the binary gets huge.

Well, I tried that but got this ...

$ pwd
/export/home/dclarke/pgm/c/povray/source/workshop/povray31/source
$ cd libpng
$ make clean
rm -f *.o libpng.a pngtest pngout.png
$ make libpng.a
cc -fast -xarch=v9 -I../zlib -O  -c  png.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngset.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngget.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrutil.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngtrans.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwutil.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngread.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrio.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwio.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwrite.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrtran.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwtran.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngmem.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngerror.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngpread.c
ar rc libpng.a  png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o  pngrea
d.o pngrio.o pngwio.o pngwrite.o pngrtran.o  pngwtran.o pngmem.o pngerror.o pngp
read.o
ranlib libpng.a
$ cd ../zlib
$ make clean
rm -f *.o *~ example minigzip libz.a libz.so* foo.gz so_locations \
   _match.s maketree
$ make libz.a
cc -fast -xarch=v9  -c  adler32.c
cc -fast -xarch=v9  -c  compress.c
cc -fast -xarch=v9  -c  crc32.c
cc -fast -xarch=v9  -c  gzio.c
cc -fast -xarch=v9  -c  uncompr.c
cc -fast -xarch=v9  -c  deflate.c
cc -fast -xarch=v9  -c  trees.c
cc -fast -xarch=v9  -c  zutil.c
cc -fast -xarch=v9  -c  inflate.c
cc -fast -xarch=v9  -c  infblock.c
cc -fast -xarch=v9  -c  inftrees.c
cc -fast -xarch=v9  -c  infcodes.c
cc -fast -xarch=v9  -c  infutil.c
cc -fast -xarch=v9  -c  inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o  zu
til.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
$ cd ../unix
$ make newunix
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../atmosph.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bbox.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bcyl.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bezier.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../blob.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../boxes.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bsphere.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../camera.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../chi2.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../colour.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../cones.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../csg.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../discs.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../express.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../fractal.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../gif.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../gifdecod.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../hcmplx.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../hfield.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../iff.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../image.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../interior.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lathe.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lighting.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../matrices.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../media.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../mem.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../mesh.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../normal.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../objects.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../octree.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../optin.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../optout.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../parse.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../parstxtr.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pattern.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pgm.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pigment.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../planes.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../png_pov.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../point.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../poly.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../polygon.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../polysolv.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../povray.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../ppm.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../prism.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../quadrics.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../quatern.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../rad_data.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../radiosit.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../ray.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../render.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../sor.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../spheres.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../super.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../targa.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../texture.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../tokenize.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../torus.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../triangle.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../truetype.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../txttest.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../userio.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../vbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../vlbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../warps.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib unix.c
cc ./atmosph.o   ./bbox.o      ./bcyl.o      ./bezier.o    ./blob.o      ./boxes
.o     ./bsphere.o   ./camera.o    ./chi2.o      ./colour.o    ./cones.o     ./c
sg.o       ./discs.o     ./express.o   ./fractal.o   ./gif.o       ./gifdecod.o
 ./hcmplx.o    ./hfield.o    ./iff.o       ./image.o     ./interior.o  ./lathe.o
     ./lbuffer.o   ./lighting.o  ./matrices.o  ./media.o     ./mem.o       ./mes
h.o      ./normal.o    ./objects.o   ./octree.o    ./optin.o     ./optout.o    .
/parse.o         ./parstxtr.o  ./pattern.o   ./pgm.o       ./pigment.o   ./plane
s.o    ./png_pov.o   ./point.o     ./poly.o      ./polygon.o   ./polysolv.o  ./p
ovray.o    ./ppm.o       ./prism.o     ./quadrics.o  ./quatern.o   ./rad_data.o
 ./radiosit.o  ./ray.o       ./render.o    ./sor.o       ./spheres.o   ./super.o
     ./targa.o     ./texture.o   ./tokenize.o  ./torus.o     ./triangle.o  ./tru
etype.o  ./txttest.o   ./userio.o    ./vbuffer.o   ./vlbuffer.o  ./warps.o
./unix.o -L../libpng -lpng -L../zlib -lz -lm -o povray
ld: fatal: file ./atmosph.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to povray
*** Error code 1
make: Fatal error: Command failed for target `povray'
Current working directory /export/home/dclarke/pgm/c/povray/source/workshop/povr
ay31/source/unix
*** Error code 1 (ignored)

Which seems to imply that the linker is having a fit because it doesn't want to
link the 64bit object files.  Perhaps I need to add another option on the ld
line?  I've checked the object files and they are all like so : 

$ ls -lapt *.o
-rw-r--r--   1 dclarke  staff       8384 Jun 14 09:13 unix.o
-rw-r--r--   1 dclarke  staff      10448 Jun 14 09:13 vlbuffer.o
-rw-r--r--   1 dclarke  staff      35544 Jun 14 09:13 vbuffer.o
-rw-r--r--   1 dclarke  staff      30928 Jun 14 09:13 userio.o
-rw-r--r--   1 dclarke  staff      54432 Jun 14 09:13 truetype.o
-rw-r--r--   1 dclarke  staff      16608 Jun 14 09:13 triangle.o
.
.
.
-rw-r--r--   1 dclarke  staff      26408 Jun 14 09:05 mesh.o
-rw-r--r--   1 dclarke  staff      13672 Jun 14 09:05 quatern.o
-rw-r--r--   1 dclarke  staff       7040 Jun 14 09:05 rad_data.o
-rw-r--r--   1 dclarke  staff       2792 Jun 14 09:05 txttest.o
-rw-r--r--   1 dclarke  staff       8064 Jun 14 09:05 warps.o

$ ls -lapt *.o | awk '{print $9}' | xargs file
unix.o:         ELF 64-bit MSB relocatable SPARCV9 Version 1
vlbuffer.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
vbuffer.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
userio.o:       ELF 64-bit MSB relocatable SPARCV9 Version 1
truetype.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
triangle.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
.
.
.
mesh.o:         ELF 64-bit MSB relocatable SPARCV9 Version 1
quatern.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
rad_data.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
txttest.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
warps.o:        ELF 64-bit MSB relocatable SPARCV9 Version 1

The ld linker could take the following option : 

OPTIONS
     The following options are supported:

     -64   Creates a 64-bit object. By default,the class  of  the
           object  being  generated  is determined from the first
           ELF object  processed  from  the  command  line.  This
           option is useful when creating an object directly with
           ld whose input is solely from a mapfile  (see  the  -M
           option).  

   Now why would I need that when all of the object files are ELF 64-bit ?


Any thoughts on this would be appreciated.

Dennis Clarke


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 09:41:18
Message: <3B28BF09.FE857536@atosorigin.com>
Dennis Clarke wrote:
[SNIP]

> cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
> lib/povray31\" -I. -I.. -I../libpng -I../zlib unix.c


> cc ./atmosph.o ....
[SNIP]

Did you notice that the last 'cc' was without -xarch=v9 ...
You should add it.


Post a reply to this message

From: Warp
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 10:44:35
Message: <3b28cdd2@news.povray.org>
You have to link with "cc -xarch=v9" not with "cc" only.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 16:18:53
Message: <3B291C34.75B4B5B6@blastwave.com>
Warp wrote:
> 
>   You have to link with "cc -xarch=v9" not with "cc" only.

*SMACK* = the sound made when ones open hand hits ones forehead soundly.

OK .. I hope no one at work sees this.

Thanks. 

Next issue, what is the difference between the sparc v9 and v9a processor?  The
UltraSparc I is referred to as the v8plusa yes?  Then what is the v9a? 
UltraSPARC II I guess.  I'm going to compile for that architecture as well and
then test with your sample file until I get the fastest time.  The sample file I
am using is :

----------8<----------8<----------8<----------8<----------8<----------
camera { location <0,2,-2> look_at y*.2 angle 35 }
light_source { <10,10,-5>, 1 }

#declare WPRadius = 1;
#declare WPCurvRadius = 1.5;
intersection
{ #declare IPH = sqrt(pow(WPCurvRadius,2)-pow(WPRadius,2));
  torus { WPRadius, WPCurvRadius translate -y*IPH}
  cylinder { 0, y*(WPCurvRadius-IPH), WPRadius }
  
  pigment
  { spiral1 1 color_map { [0 rgb <.5,.75,1>][1 rgb <0,.5,1>] }
    turbulence .1
    rotate x*90
    scale <.1,1,.1>
  }
  normal
  { spiral1 1 .15 slope_map
    { [0 <0,0>][.25 <.5,1>][.5 <1,0>][.75 <.5,-1>][1 <0,0>] }
    rotate x*90
    scale <.2,1,.2>
  }
  finish { specular .5 reflection .3 }
}
----------8<----------8<----------8<----------8<----------8<----------

    which comes from one of your earlier posts.  The system that I'm testing
with is a Sun Ultra 2 with two 300MHz processors.  I believe that the CPUs have
2Mb of L2 cache each.  The WorkShop compiler will allow me to specify a target
system and that will, in theory, tailor a few other options to maximize
performance on that system.  I really don't know how much I believe that but any
binary built for the Ultra 2 will probably show poor performance on a SunBlade
100 with only 256Kb of cache.

I'll post my results.  At the moment I'm trying something a tad extreme. 

    CFLAGS=-dalign -fsimple=0 -xO4 -ftrap=%none -libmil 
           -s -temp=/tmp/compiler -v -Xa -xarch=v9a

Dennis Clarke


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 20:40:56
Message: <3B2959A2.321EA976@blastwave.com>
Results : 

Binary:Sparc v9a ELF 64-bit MSB executable SPARCV9 Version 1, 
          UltraSPARC1 Extensions Required, dynamically linked, not stripped
      :command : povray_sparc_v9a -I./test.pov -f -d -x -p -w640 -h480 +a.1
      :Total Time:    0 hours  2 minutes  33.0 seconds (153 seconds)

Binary:Sparc v9 ELF 64-bit MSB executable SPARCV9 Version 1,
         dynamically linked, not stripped
      :command : povray_sparc_v9  -I./test.pov -f -d -x -p -w640 -h480 +a.1
      :Total Time:    0 hours  2 minutes  36.0 seconds (156 seconds)

Binary:Sparc v8plusa ELF 32-bit MSB executable SPARC32PLUS Version 1, 
          V8+ Required, UltraSPARC1 Extensions Required, 
          dynamically linked, notstripped
      :command : povray_sparc_v8  -I./test.pov -f -d -x -p -w640 -h480 +a.1
      :Total Time:    0 hours  2 minutes  17.0 seconds (137 seconds)

Binary:Sparc v1 ELF 32-bit MSB executable SPARC Version 1, 
          dynamically linked, not stripped
      :command : povray_sparc_v1  -I./test.pov -f -d -x -p -w640 -h480 +a.1
      :Total Time:    0 hours  2 minutes  37.0 seconds (157 seconds)

Binary:Sparc Generic ELF 32-bit MSB executable SPARC Version 1, 
          dynamically linked, not stripped
      :command : povray_sparc_generic -I./test.pov -f -d -x -p -w640 -h480 +a.1
      :Total Time:    0 hours  4 minutes  28.0 seconds (268 seconds)


Clearly the Sparc v8plusa is the winner here.  It was compiled with options
-fast -xarch=v8plusa -Xa.  I recompiled the binary with the following options
just to be sure 
-dalign -fsimple=0 -xO4 -ftrap=%none -libmil -s -temp=/tmp/compiler -v -Xa
-xarch=v8plusa and that resulted in Total Time:    0 hours  2 minutes  32.0
seconds (152 seconds)

Dennis Clarke


Post a reply to this message

From: Warp
Subject: Re: Install on Solaris 8
Date: 15 Jun 2001 04:18:18
Message: <3b29c4ca@news.povray.org>
Dennis Clarke <dcl### [at] blastwavecom> wrote:
: Clearly the Sparc v8plusa is the winner here.  It was compiled with options
: -fast -xarch=v8plusa -Xa.  I recompiled the binary with the following options
: just to be sure 
: -dalign -fsimple=0 -xO4 -ftrap=%none -libmil -s -temp=/tmp/compiler -v -Xa
: -xarch=v8plusa and that resulted in Total Time:    0 hours  2 minutes  32.0
: seconds (152 seconds)

  AFAIK the option -fast turns on the optimal flags (or what it thinks are
the optimal flags) for the target architecture (besides using -xO5). Probably
the flags you used in that latter case are not the optimal for the CPU and
that explains the 15 seconds difference.

  And by the way. You should never restrict your benchmarks to just one
POV-Ray file, but you should always test with several files which use
different aspects of POV-Ray. Different features the optimized differently
with the several options and CPU targets.
  I recommend you to test at least with POV files like:

  - A scene which is slow to parse but very fast to render.
  - A scene which doesn't take any considerable memory, but takes time to
    render.
  - A scene which takes huge amounts of memory (eg. several tens of megabytes)
    and render time.
  - Perhaps scenes which test individual features of POV-Ray, like lighting,
    several types of primitives, meshes, complex textures and so on.

  Judging based on just one simple scene may give wrong results in some
cases.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Warp
Subject: Re: Install on Solaris 8
Date: 15 Jun 2001 04:32:34
Message: <3b29c821@news.povray.org>
Dennis Clarke <dcl### [at] blastwavecom> wrote:
: Next issue, what is the difference between the sparc v9 and v9a processor?  The
: UltraSparc I is referred to as the v8plusa yes?  Then what is the v9a? 

  AFAIK v8plusa compiles 32-bit code for the UltraSPARC. The man page for CC
tells the following:

               v8plusa   Compile for the V8plusa version of the
                         SPARC-V9 ISA.

                         By definition, V8plusa means the V8plus
                         architecture, plus the Visual Instruc-
                         tion Set (VIS) version 1.0, and with
                         UltraSPARC extensions.  This option
                         enables the compiler to generate code
                         for good performance on the UltraSPARC
                         architecture, but limited to the 32-bit
                         subset defined by the V8plus specifica-
                         tion. The resulting object code is in
                         SPARC-V8+ ELF32 format and only executes
                         in a Solaris UltraSPARC environment --
                         it does not run on a V7 or V8 processor.


  v9 compiles 64-bit code for the same architecture:

               v9        Compile for the SPARC-V9 ISA.

                         Enables the compiler to generate code
                         for good performance on the V9 SPARC
                         architecture.  The resulting .o object
                         files are in ELF64 format and can only
                         be linked with other SPARC-V9 object
                         files in the same format. The resulting
                         executable can only be run on an
                         UltraSPARC processor running a 64-bit
                         enabled Solaris operating environment
                         with the 64-bit kernel.

                         -xarch=v9 is only available when compil-
                         ing in a 64-bit enabled Solaris environ-
                         ment.


  v9a is the same as v9, but it uses some UltraSPARC extensions:

               v9a       Compile for the SPARC-V9 ISA with
                         UltraSPARC extensions.

                         Adds to the SPARC-V9 ISA the Visual
                         Instruction Set (VIS) and extensions
                         specific to UltraSPARC processors, and
                         enables the compiler to generate code
                         for good performance on the V9 SPARC
                         architecture.  The resulting .o object
                         files are in ELF64 format and can only
                         be linked with other SPARC-V9 object
                         files in the same format. The resulting
                         executable can only be run on an
                         UltraSPARC processor running a 64-bit
                         enabled Solaris operating environment
                         with the 64-bit kernel.

                         -xarch=v9a is only available when com-
                         piling in a 64-bit enabled Solaris
                         operating environment.


  There exists also a v9b, but it works only if you have an UltraSPARC-III.


-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.