This is the mail archive of the gcc-testresults@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Results for 4.2.1 testsuite on sparc-sun-solaris2.8


I think that gcc-testresults@gcc.gnu.org is the correct address.

---------- Forwarded message ----------
From: Dennis Clarke <blastwave@gmail.com>
Date: Aug 10, 2007 2:33 AM
Subject: Results for 4.2.1 testsuite on sparc-sun-solaris2.8
To: gcc@gcc.gnu.org


bootstrapping with Sun Studio 8 thus :

bash-3.2$ cc -V
cc: Sun C 5.5 Patch 112760-18 2005/06/14
usage: cc [ options] files.  Use 'cc -flags' for details
bash-3.2$ CC -V
CC: Sun C++ 5.5 Patch 113817-20 2007/04/24

All tools in the toolpath were built up to date and passed their
testsuites. Typical revs used were :

bash-3.2$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the
terms of the GNU General Public License
<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

bash-3.2$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

bash-3.2$ expect -v
expect version 5.43.0

bash-3.2$ m4 --version
m4 (GNU M4) 1.4.10
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.

I also used : dejagnu      1.4.4
              tcl          8.4.15
              tk           8.4.15
              make         3.81
              libiconv     1.11
              gmp          4.2.1
              mpfr         2.2.1

testsuite report as per : http://gcc.gnu.org/install/finalinstall.html

Output from running srcdir/config.guess.

  bash-3.2$ /export/home/dclarke/build/gcc-4.2.1/config.guess
  sparc-sun-solaris2.8

The output of `gcc -v' for your newly installed gcc.

bash-3.2$ which gcc
/export/home/dclarke/local/bin/gcc
bash-3.2$ file /export/home/dclarke/local/bin/gcc
/export/home/dclarke/local/bin/gcc:     ELF 32-bit MSB executable
SPARC Version 1, dynamically linked, not stripped
bash-3.2$ ldd /export/home/dclarke/local/bin/gcc
        libiconv.so.2 =>
/export/home/dclarke/local/lib/libiconv.so.2
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
bash-3.2$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: /export/home/dclarke/build/gcc-4.2.1/configure
--with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--with-cpu=v7 --enable-threads=posix --disable-nls
--prefix=/export/home/dclarke/local
--with-local-prefix=/export/home/dclarke/local --enable-shared
--enable-languages=c,c++,objc,fortran
--with-gmp=/export/home/dclarke/local
--with-mpfr=/export/home/dclarke/local --enable-bootstrap
Thread model: posix
gcc version 4.2.1

Whether you enabled all languages or a subset of them.

  subset via configure option --enable-languages=c,c++,objc,fortran

The distribution name and version :

  Solaris 8 2/04 s28s_hw4wos_05a SPARC with all patches up to date

  $ uname -a
  SunOS fossil 5.8 Generic_117350-47 sun4m sparc SUNW,SPARCstation-20

  System is a 4-way 60 MHz HyperSparc SUNW,SPARCstation-20
  with 256MB RAM and 512MB swap  [ yes really ]

  Using Sun Solaris based /usr/ccs/bin/as and /usr/ccs/bin/ld


The full configure line used was :

/export/home/dclarke/build/gcc-4.2.1/configure
--with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--with-cpu=v7
--enable-threads=posix --disable-nls
--prefix=/export/home/dclarke/local
--with-local-prefix=/export/home/dclarke/local --enable-shared
--enable-languages=c,c++,objc,fortran
--with-gmp=/export/home/dclarke/local
--with-mpfr=/export/home/dclarke/local --enable-bootstrap


And here is a quick test :


bash-3.2$ cat hello.c
#include <stdio.h>
#include <sys/time.h>

hrtime_t start_hrt, end_hrt;

int
main(int argc, char *argv[])
{
    start_hrt = gethrtime();
    printf ( "Hello World!\n" );
    end_hrt = gethrtime();
    printf("time = %lld nsec\n", ( end_hrt - start_hrt ) );
    return (0);
}
bash-3.2$
bash-3.2$ gcc -c -o hello.o hello.c
bash-3.2$ file hello.o
hello.o:        ELF 32-bit MSB relocatable SPARC Version 1
bash-3.2$ gcc -o hello hello.o
bash-3.2$ file hello
hello:          ELF 32-bit MSB executable SPARC Version 1, dynamically
linked, not stripped
bash-3.2$ ldd hello
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
bash-3.2$ ./hello
Hello World!
time = 3470000 nsec
bash-3.2$

And a slightly more involved sample with code that calls the mpfr libs:

bash-3.2$ ls -l mpfr_cos.c
-rw-r--r--   1 dclarke  csw         1257 Aug 10 01:36 mpfr_cos.c
bash-3.2$ cat mpfr_cos.c
/******************************************************************
 * This is a slightly modified code snip that was presented by    * *
Jonathan Bober <bober@umich.edu> in order to demonstrate the   * *
less than optimal mpfr_sin call versus mpfr_cos. Please see    * * the
mpfr maillist for details and follow up by Vincent Lefevre * * and
myself. We all agree that a more optimal approach is       * *
required in mpfr_sin but that is another topic. Here we use    * * the
high resolution timers in Solaris to get more fine grained * *
measurements.  Dennis Clarke  dclarke@blastwave.org            *
******************************************************************/

#include <stdio.h>
#include <sys/time.h>
#include <mpfr.h>

hrtime_t start_hrt, end_hrt;

int main(int argc, char *argv[]){

    start_hrt = gethrtime();

    mpfr_t mpfr_pi, mpfr_temp;
    mpfr_init2(mpfr_pi, 200);
    mpfr_init2(mpfr_temp, 200);
    mpfr_set_str(mpfr_pi,
"3.1415926535897932384626433832795028841971693993751058209749", 10, GMP_RNDN);

    unsigned int i;
    for(i = 0; i < 1000; i++) {
        mpfr_cos(mpfr_temp, mpfr_pi, GMP_RNDN);
    }

    end_hrt = gethrtime();

    printf("time = %lld nsec\n", ( end_hrt - start_hrt ) );
    return (0);
}
bash-3.2$

bash-3.2$ gcc -I/export/home/dclarke/local/include -c -o mpfr_cos.o mpfr_cos.c
bash-3.2$ gcc -o mpfr_cos mpfr_cos.o -lmpfr -lgmp
bash-3.2$ file mpfr_cos
mpfr_cos:       ELF 32-bit MSB executable SPARC Version 1, dynamically
linked, not stripped
bash-3.2$ ldd mpfr_cos
        libgmp.so.3 =>   /export/home/dclarke/local/lib/libgmp.so.3
libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1

bash-3.2$ /bin/ptime ./mpfr_cos
time = 1157331500 nsec

real        1.222
user        1.166
sys         0.052
bash-3.2$

At this point I think that gcc 4.2.1 on Solaris 8 and sun4m is working
but the output from the testsuite suggest some improvements may yet
occur :

bash-3.2$ date
Mon Aug  6 22:53:02 EDT 2007

bash-3.2$ make -k check
make[1]: Entering directory `/opt/build/gcc-4.2.1-build'
make[2]: Entering directory `/opt/build/gcc-4.2.1-build/fixincludes'
autogen -T /export/home/dclarke/build/gcc-4.2.1/fixincludes/check.tpl
/export/home/dclarke/build/gcc-4.2.1/fixincludes/inclhack.def
make[2]: autogen: Command not found
make[2]: *** [check] Error 127
make[2]: Leaving directory `/opt/build/gcc-4.2.1-build/fixincludes'
make[1]: *** [check-fixincludes] Error 2
make[2]: Entering directory `/opt/build/gcc-4.2.1-build/gcc'
test -d testsuite || mkdir testsuite
.
.
.
                === gcc tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
Using /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/gcc.c-torture/compile/compile.exp
...
.
.
.

               === gcc Summary ===

# of expected passes            40883
# of unexpected failures        107
# of unexpected successes       3
# of expected failures          127
# of unresolved testcases       1
# of untested testcases         35
# of unsupported tests          488
/opt/build/gcc-4.2.1-build/gcc/xgcc  version 4.2.1


                === g++ tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
Using /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/charset/charset.exp
...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/compat/compat.exp ...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/compat/struct-layout-1.exp
...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/dg.exp
... WARNING: g++.dg/other/ucnid-1.C compilation failed to produce
executable Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/gcov/gcov.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/gomp/gomp.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/pch/pch.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/special/ecos.exp ...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/tls/tls.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.dg/vect/vect.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/g++.old-deja/old-deja.exp ...
XPASS: g++.old-deja/g++.other/init18.C execution test
XPASS: g++.old-deja/g++.other/init19.C execution test

                === g++ Summary ===

# of expected passes            13178
# of unexpected successes       2
# of expected failures          69
# of unsupported tests          174
/opt/build/gcc-4.2.1-build/gcc/testsuite/g++/../../g++  version 4.2.1



                === gfortran tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
Using /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/gfortran.dg/dg.exp ...

               === gfortran Summary ===

# of expected passes            16009
# of unexpected failures        2
# of expected failures          8
# of unsupported tests          110
/opt/build/gcc-4.2.1-build/gcc/testsuite/gfortran/../../gfortran  version 4.2.1

               === objc tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
Using /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc/compile/compile.exp ...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc/execute/exceptions/exceptions.exp
...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc/execute/execute.exp ...
Running /export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc.dg/dg.exp ...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc.dg/gnu-encoding/gnu-encoding.exp
...
Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc.dg/pch/pch.exp
... Running
/export/home/dclarke/build/gcc-4.2.1/gcc/testsuite/objc.dg/special/special.exp
...

                === objc Summary ===

# of expected passes            1806
# of expected failures          7
# of unsupported tests          24
/opt/build/gcc-4.2.1-build/gcc/xgcc  version 4.2.1


                === libstdc++ tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
Using
/export/home/dclarke/build/gcc-4.2.1/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/export/home/dclarke/build/gcc-4.2.1/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
Running
/export/home/dclarke/build/gcc-4.2.1/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
...

                === libstdc++ Summary ===

# of expected passes            3828
# of expected failures          17
# of unsupported tests          322


                === libgomp tests ===

Schedule of variations:
    unix

Running target unix
Using /export/home/dclarke/local/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /export/home/dclarke/local/share/dejagnu/config/unix.exp as
generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running
/export/home/dclarke/build/gcc-4.2.1/libgomp/testsuite/libgomp.c/c.exp ...

                === libgomp Summary ===

# of expected passes            675
# of unexpected failures        665
# of unsupported tests          118


the complete report is available at :
http://www.blastwave.org/dclarke/gcc-4.2.1/GCC_4.2.1_testsuite.txt

this message text available at :
http://www.blastwave.org/dclarke/gcc-4.2.1/GCC_4.2.1_testsuite_report.txt

Dennis Clarke   Fri Aug 10 01:59:16 EDT 2007
dclarke@blastwave.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]