This is the mail archive of the gcc@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]

Re: Results for haifa-enabled egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) testsuite on sparc-sun-solaris2.5.1


Joe Buck <jbuck@Synopsys.COM> said:
> Horst von Brand and I both tested 19980621 on sparc-sun-solaris2.5.1
> but got different results for the g++ tests.

[...]

> I have one fewer failure.  But I don't know why I have two more passes.
> 
> I did not use --enable-shared ... is this a possible difference?
> 
> Horst, what output do you get when you run g++.law/code-gen5.C ?

The g++.log says:


Executing on host: /mnt/build-egcs-19980621/gcc/testsuite/../xgcc -B/mnt/build-e
gcs-19980621/gcc/testsuite/../ /mnt/egcs-19980621/gcc/testsuite/g++.old-deja/g++
.law/code-gen5.C  -ansi -pedantic-errors  -I/mnt/egcs-19980621/libio -I/mnt/buil
d-egcs-19980621/libraries/libio -I/mnt/egcs-19980621/libstdc++ -I/mnt/egcs-19980
621/libstdc++/stl -I/mnt/build-egcs-19980621/gcc/testsuite/../include -lstdc++  
-L/mnt/build-egcs-19980621/libraries//libstdc++ -L/mnt/build-egcs-19980621/libra
ries//libiberty  -lm   -o /mnt/build-egcs-19980621/gcc/testsuite/g++-law-code-ge
n5-C   
compiler exited with status 1
output is:
In file included from /mnt/build-egcs-19980621/gcc/testsuite/../include/math.h:5
,
                 from /mnt/build-egcs-19980621/gcc/testsuite/../include/math.h:5
,
                 from /mnt/egcs-19980621/gcc/testsuite/g++.old-deja/g++.law/code
-gen5.C:13:
/usr/include/math.h:19: `__P' redefined
/usr/local/include/sys/cdefs.h:58: this is the location of the previous definiti
on

FAIL: g++.law/code-gen5.C (test for excess errors)
In file included from /mnt/build-egcs-19980621/gcc/testsuite/../include/math.h:5
,
                 from /mnt/build-egcs-19980621/gcc/testsuite/../include/math.h:5
,
                 from /mnt/egcs-19980621/gcc/testsuite/g++.old-deja/g++.law/code
-gen5.C:13:
/usr/include/math.h:19: `__P' redefined
/usr/local/include/sys/cdefs.h:58: this is the location of the previous definiti
on

The /usr/local/include/sys/cdefs.h file is from some Berkeley package, the
header contains:

 *      @(#)cdefs.h     8.7 (Berkeley) 1/21/94

I remember we installed this header because many packages needed it, and it
was not to be found here. And egcs doesn't provide one, AFAIKS.
-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513


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