Re: Problem with compilation on SunFire 280R.

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Mon Oct 28 2002 - 08:38:18 MST


On Mon, 28 Oct 2002, Pawel Jakub Dawidek wrote:

> I can't compile web-polygraph 2.7.6 on:
>
> # uname -a
> SunOS euros 5.9 Generic sun4u sparc SUNW,Sun-Fire-280R
>
> # make -v
> GNU Make 3.80
>
> # gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
> Thread model: posix
> gcc version 3.2
>

Indeed you cannot. Polygraph cannot be compiled with GCC 3.x compilers
because of the many not backward compatible C++ changes compared to
GCC 2.x behavior. Most of those changes are valid, but since Polygraph
2.7.6 was released before GCC 3.x became usable, we had no choice but
to continue to rely on and support 2.x behavior. The next release of
Polygraph (2.8.0) will probably be compatible with both generations of
GCC. I do not expect that release to become public until January or
February 2003.

Your options include:
        - downgrade to a sane version of GCC 2.x; I know people
          running both GCC versions on one host, but I do not
          know how difficult that is to setup/use, especially on Sun
        - unable 2.x compatibility mode in GCC 3.x if there is one
          (I do not know but I doubt there is one)
        - adjust Polygraph code so that it becomes GCC-3.x-friendly
        - wait for 2.8.0 release that will probably compile with
          GCC 3.x
        - get early access to the development version and pay
          for making it compile with GCC 3.x soon

Please let me know what option you prefer and whether you need any
further assistance.

Thank you,

Alex.

-- 
                            | HTTP performance - Web Polygraph benchmark
www.measurement-factory.com | HTTP compliance+ - Co-Advisor test suite
                            | all of the above - PolyBox appliance



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:25 MST