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] |
I am trying to install egcs 1.0.3a on my system (results of config.guess are i686-pc-linux-gnu). Am using binutils-2.9.1-1. I did
mkdir objdir
cd objdir
srcdir/configure --prefix /usr/local/egcs
make bootstrap
make -k check
The results of the testsuite indicated the following:
=== gcc Summary ===
# of expected passes 4882
# of unexpected failures 1
# of expected failures 5
# of unsupported tests 7
Executing on host: /usr/egcs/gcc/xgcc -v
spawn /usr/egcs/gcc/xgcc -v
Using builtin specs.
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
/usr/egcs/gcc/xgcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
The unexpected failure appears to be in egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/921210-1.c , based on the following excerpt from gcc.log.
Running /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/special.exp
...
Executing on host: /usr/egcs/gcc/xgcc -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/921210-1.c
-E
spawn /usr/egcs/gcc/xgcc -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/921210-1.c
-E
# 1 "/home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/921210-1.c"
( a->f +1) +1
output is:
# 1 "/home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/gcc.c-torture/special/921210-1.c"
( a->f +1) +1
FAIL: 921210-1.c
In the test cases for g++, I get:
=== g++ Summary ===
# of expected passes 3399
# of unexpected failures 1
# of unexpected successes 3
# of expected failures 80
# of untested testcases 6
Executing on host: /usr/egcs/gcc/testsuite/../xgcc -v
spawn /usr/egcs/gcc/testsuite/../xgcc -v
Using builtin specs.
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
/usr/egcs/gcc/testsuite/../xgcc version egcs-2.90.29 980515 (egcs-1.0.3
release)
The unexpected failure appears to be in g++.mike/p6610a.C based on the
following excerpt from g++.log:
Executing on host: /usr/egcs/gcc/testsuite/../xgcc -B/usr/egcs/gcc/testsuite/../
/home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g++.old-deja/g++.mike/p6610a.C
-ansi -pedantic-errors -I/home/pjk/tmp/egcs-1.0.3a/libio -I/usr/egcs/libraries/libio
-I/home/pjk/tmp/egcs-1.0.3a/libstdc++ -I/home/pjk/tmp/egcs-1.0.3a/libstdc++/stl
-I/usr/egcs/gcc/testsuite/../include -lstdc++ -L/usr/egcs/libraries//libstdc++
-L/usr/egcs/libraries//libiberty -lm -o /tmp/a.out
spawn /usr/egcs/gcc/testsuite/../xgcc -B/usr/egcs/gcc/testsuite/../
/home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g++.old-deja/g++.mike/p6610a.C
-ansi -pedantic-errors -I/home/pjk/tmp/egcs-1.0.3a/libio -I/usr/egcs/libraries/libio
-I/home/pjk/tmp/egcs-1.0.3a/libstdc++ -I/home/pjk/tmp/egcs-1.0.3a/libstdc++/stl
-I/usr/egcs/gcc/testsuite/../include -lstdc++ -L/usr/egcs/libraries//libstdc++
-L/usr/egcs/libraries//libiberty -lm -o /tmp/a.out
PASS: g++.mike/p6610a.C (test for excess errors)
spawn [open ...]
FAIL: g++.mike/p6610a.C Execution test
In the g77 test cases I get
=== g77 Summary ===
# of expected passes 130
# of unexpected failures 2
Executing on host: /usr/egcs/gcc/g77 -v
spawn /usr/egcs/gcc/g77 -v
Using builtin specs.
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
/usr/egcs/gcc/g77 version egcs-2.90.29 980515 (egcs-1.0.3 release)
The failures appear to be in g77.f-torture/execute/dnrm2.f, based on the following excerpt from g77.log:
Executing on host: /usr/egcs/gcc/g77 -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g77.f-torture/execute/dnrm2.f
-w -O2 -fomit-frame-pointer -finline-functions -funroll-loops
-lm -o /tmp/dnrm2.x
spawn /usr/egcs/gcc/g77 -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g77.f-torture/execute/dnrm2.f
-w -O2 -fomit-frame-pointer -finline-functions -funroll-loops -lm -o /tmp/dnrm2.x
PASS: g77.f-torture/execute/dnrm2.f compilation, -O2 -fomit-frame-pointer
-finline-functions -funroll-loops
spawn [open ...]
FAIL: g77.f-torture/execute/dnrm2.f execution, -O2 -fomit-frame-pointer
-finline-functions -funroll-loops
Executing on host: /usr/egcs/gcc/g77 -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g77.f-torture/execute/dnrm2.f
-w -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops
-lm -o /tmp/dnrm2.x
spawn /usr/egcs/gcc/g77 -B/usr/egcs/gcc/ /home/pjk/tmp/egcs-1.0.3a/gcc/testsuite/g77.f-torture/execute/dnrm2.f
-w -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops -lm -o
/tmp/dnrm2.x
PASS: g77.f-torture/execute/dnrm2.f compilation, -O2 -fomit-frame-pointer
-finline-functions -funroll-all-loops
spawn [open ...]
FAIL: g77.f-torture/execute/dnrm2.f execution, -O2 -fomit-frame-pointer
-finline-functions -funroll-all-loops
My primary purpose in installing egcs is to access the g77 compiler, though I would like to use gcc and g++ as well. I'm a newbie at this, and am at a loss as to what to do next. Can anyone give me some help with regard to how serious these errors are and what I can do to eliminate them. I'm reluctant to proceed without understanding this better.
TIA, and again, sorry for prior truncated postings. I hope this note makes it to the list.
Paul
-- Paul J. Kersting KW Consulting, Inc. - Fuel Rod Expertise for the Nuclear Power Industry E-mail: paul@kwconsulting.com WWW: www.kwconsulting.com (412) 635-7333 (voice) (412) 367-2195 (fax)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |