POV-Ray : Newsgroups : povray.unix : Problem compiling 3.6 under Solaris6 : Re: Problem compiling 3.6 under Solaris6 Server Time
3 Jul 2024 04:39:16 EDT (-0400)
  Re: Problem compiling 3.6 under Solaris6  
From: destroyedlolo
Date: 21 Jul 2004 11:32:56
Message: <40FE9A41.2040803@yahoo.com>
Warp wrote:
> destroyedlolo <l_f### [at] yahoocom> wrote:
> 
>>I got 3.6 tarball from povray site and it seems it's the final release
>>and I saw someone succeed to compile it under solaris 8 ("Sparc Solaris
>>8 with GCC 2.95.3 (g++2 2.95.3 @ sparc-sun-solaris2.8" in INSTALL file).
> 
> 
>   For some unknown reason gcc 3.x produces a binary which crashes on
> rendering. gcc 2.x produces a working binary.

Hum, perhasp another optimizer problem :-(

>>/usr/openwin/include/X11/Xlib.h:2099: ISO C++ forbids declaration of
>>     `XSetTransientForHint' with no type
>>/usr/openwin/include/X11/Xlib.h:2107: ISO C++ forbids declaration of
>>     `XActivateScreenSaver' with no type
> 
> 
>   I don't get that error. Can you tell me the version of the OS and gcc
> you are using?

Solaris 8 (10/00) and GCC 3.0.1 from Solaris freeware depot.
I'm planing to upgrade to GCC 3.4.1 but I want to check if it's stable 
before.

>>Does it mean I have to recompile it using the old GCC 2.95 ? (the
>>optimiser it worst than current one).
> 
> 
>   gcc 3.x does not produce faster binaries in a sparc-solaris system
> than gcc 2.x (seemingly their optimization efforts have been put into
> the PC side alone).

Hum, when I made some benchmarks (and found that my Ultra5@270 is 
definitevely not a race horse :-( ), some people on Solaris french 
newsgroup said there is a big gap b/w GCC 2 and GCC 3 on UltraSparc. 
achitecture.
I got the same reply on NetBSD/Sparc mailing list on the same subject.

>   Just try compiling with gcc 2.

If I succed to build both, I will make another benchmarks to see if 
there is an improvement or not.

>>Or does it mean I have to remove X support ?
> 
> 
>   It works ok here.

Even when you try w/ GCC 3 ?

Thanks

Laurent


Post a reply to this message

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