This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-19980707 on i586-pc-linux-gnu
- To: egcs at cygnus dot com
- Subject: egcs-19980707 on i586-pc-linux-gnu
- From: Byeong-ryeol Kim <jinbo21 at soback dot kornet21 dot net>
- Date: Wed, 8 Jul 1998 22:05:35 +0900 (KST)
- Reply-To: Byeong-ryeol Kim <jinbo21 at soback dot kornet21 dot net>
I did successfully compile, make check, install egcs-19980707 on a
linux system, which runs kernel-2.1.108.(+ Alan's patch-2.1.108-ac2)
RH-5.1, kernel-2.1.108(ac2), glibc-2.0.94-4, egcs-2.91.43(980628),
binutils-2.9.1.0.7, libg++-2.8.1-980505
CFLAGS: -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer
CXXFLAGS: -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer
BOOT_CFLAGS: -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer
BOOT_CFLAGS(G77): -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer
The result of 'make check' was impressive, though there were some
problems with it:
There were some passed errors in 'make check'.
The compiled and installed gcc fails to compile linux kernel-2.1.108(ac2).
1-a. Hidden errors in 'make -k check'
make[2]: Entering directory `/usr/src/egcs-19980707-objdir/i586-pc-linux-gnu/libg++'
....
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
-c -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer -fvtable-thunks \
-nostdinc++ -I. -I../../libio -I../../../../egcs-19980707/libg++/tests \
-I../../../../egcs-19980707/libg++/tests/../../libio \
-I../../../../egcs-19980707/libg++/tests/../../libstdc++ \
-I../../../../egcs-19980707/libg++/tests/../src \
../../../../egcs-19980707/libg++/tests/tPlex.cc
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
tPlex.o -o tPlex libtest.a -L./../ -L./../../libstdc++ -lg++ -lstdc++
./tPlex < ../../../../egcs-19980707/libg++/tests/tPlex.inp > tPlex.out 2>&1
make[3]: *** [check-tPlex] Error 134
....
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
-c -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer -fvtable-thunks \
-nostdinc++ -I. -I../../libio -I../../../../egcs-19980707/libg++/tests \
-I../../../../egcs-19980707/libg++/tests/../../libio \
-I../../../../egcs-19980707/libg++/tests/../../libstdc++ \
-I../../../../egcs-19980707/libg++/tests/../src \
../../../../egcs-19980707/libg++/tests/tLList.cc
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
tLList.o -o tLList libtest.a -L./../ -L./../../libstdc++ -lg++ -lstdc++
./tLList < ../../../../egcs-19980707/libg++/tests/tLList.inp > tLList.out 2>&1
diff -b ../../../../egcs-19980707/libg++/tests/tLList.exp tLList.out
44c44
< deleting alternate elements of z...100 100 100 200 6 5 4 3 2 1 0
---
> deleting alternate elements of z...100 9 8 7 100 100 100 100 100 100 100
47c47
< 100 100 100 100 100 100 100 7 8 9
---
> 100 100 100 100 100 100 100 100 7 8 9
make[3]: *** [check-tLList] Error 1
.....
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
-c -O9 -mcpu=pentium -march=pentium -fomit-frame-pointer -fvtable-thunks \
-nostdinc++ -I. -I../../libio -I../../../../egcs-19980707/libg++/tests \
-I../../../../egcs-19980707/libg++/tests/../../libio \
-I../../../../egcs-19980707/libg++/tests/../../libstdc++ \
-I../../../../egcs-19980707/libg++/tests/../src \
../../../../egcs-19980707/libg++/tests/tiLList.cc
/usr/src/egcs-19980707-objdir/gcc/xgcc -B/usr/src/egcs-19980707-objdir/gcc/ \
tiLList.o -o tiLList -L./../ -L./../../libstdc++ -lg++ -lstdc++
./tiLList > tiLList.out 2>&1
diff -b ../../../../egcs-19980707/libg++/tests/tiLList.exp tiLList.out
44c44
< deleting alternate elements of z...100 100 100 200 6 5 4 3 2 1 0
---
> deleting alternate elements of z...100 9 8 7 100 100 100 100 100 100 100
make[3]: *** [check-tiLList] Error 1
make[3]: Target `check' not remade because of errors.
make[3]: Leaving directory `/usr/src/egcs-19980707-objdir/i586-pc-linux-gnu/libg++/tests'
make[2]: *** [subdir_do] Error 1
make[2]: Leaving directory `/usr/src/egcs-19980707-objdir/i586-pc-linux-gnu/libg++'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/usr/src/egcs-19980707-objdir/i586-pc-linux-gnu/libg++'
make: *** [check-target-libg++] Error 2
1-b. These problems was solved by 'make check' after manual compiling of
relevant files without optimization.
2-a. failure in compiling linux kernel 2.1.108(ac2)
....
make[3]: Entering directory `/usr/src/linux-2.1.108-ac2/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.108-ac2/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mcpu=pentium -march=pentium -malign-loops=0 -malign-jumps=0 -malign-functions=0 -Dpentium -DEXPORT_SYMTAB -c ll_rw_blk.c
/usr/src/linux-2.1.108-ac2/include/asm/bitops.h: In function `make_request':
/usr/src/linux-2.1.108-ac2/include/asm/bitops.h:75: invalid `asm': operand number out of range
/usr/src/linux-2.1.108-ac2/include/asm/bitops.h:75: invalid `asm': operand number out of range
{standard input}: Assembler messages:
{standard input}:562: Error: expecting operand before ','; got nothing
{standard input}:563: Error: operands given don't match any known 386 instruction
{standard input}:564: Error: expecting operand before ','; got nothing
make[3]: *** [ll_rw_blk.o] Error 1
....
make[3]: Target `all_targets' not remade because of errors.
make[3]: Leaving directory `/usr/src/linux-2.1.108-ac2/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.1.108-ac2/drivers/block'
make[1]: *** [sub_dirs] Error 2
make[1]: Target `first_rule' not remade because of errors.
make[1]: Leaving directory `/usr/src/linux-2.1.108-ac2/drivers'
make: *** [linuxsubdirs] Error 2
make: Target `bzImage' not remade because of errors.
....
2-b. I should have used 'gcc -B/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.43/
3. Results of 'make check'
There were 746 warnings in stage3 of this bootstrap.(omitted)
=== libio Summary ===
# of expected passes 40
=== libstdc++ Summary ===
# of expected passes 30
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.c-torture/execute/execute.exp
...
FAIL: gcc.c-torture/execute/921123-2.c compilation, -O2 -fomit-frame-pointer
-finline-functions
FAIL: gcc.c-torture/execute/980526-1.c execution, -O2 -fomit-frame-pointer
-finline-functions
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O1
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2
-fomit-frame-pointer -finline-functions
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2
-fomit-frame-pointer -finline-functions -funroll-loops
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2
-fomit-frame-pointer -finline-functions -funroll-all-loops
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -O2 -g
FAIL: gcc.c-torture/execute/ieee/980619-1.c execution, -Os
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp
...
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.c-torture/special/special.exp
...
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp
...
Running /usr/src/egcs-19980707/gcc/testsuite/gcc.dg/dg.exp ...
FAIL: gcc.dg/980626-1.c (test for excess errors)
FAIL: gcc.dg/clobbers.c execution test
=== gcc Summary ===
# of expected passes 7434
# of unexpected failures 11
# of expected failures 7
# of untested testcases 1
# of unsupported tests 11
/usr/src/egcs-19980707-objdir/gcc/xgcc version egcs-2.91.47 19980707 (gcc2
ss-980609 experimental)
Running /usr/src/egcs-19980707/gcc/testsuite/g++.old-deja/old-deja.exp ...
FAIL: g++.robertl/eb130.C (test for excess errors)
FAIL: g++.robertl/eb131.C bar is an unqualified-id. (test for errors, line 19)
FAIL: g++.robertl/eb131.C (test for excess errors)
FAIL: g++.robertl/eb132.C (test for excess errors)
FAIL: g++.robertl/eb133.C parse error (test for errors, line 10)
FAIL: g++.robertl/eb56.C (test for excess errors)
FAIL: g++.robertl/eb83.C (test for excess errors)
=== g++ Summary ===
# of expected passes 4170
# of unexpected failures 7
# of expected failures 85
# of untested testcases 7
/usr/src/egcs-19980707-objdir/gcc/testsuite/../xgcc version egcs-2.91.47
19980707 (gcc2 ss-980609 experimental)
=== g77 Summary ===
# of expected passes 367
/usr/src/egcs-19980707-objdir/gcc/g77 g77 version egcs-2.91.47 19980707 (gcc2
ss-980609 experimental) (from FSF-g77 version 0.5.24-19980701)
"Where there is a will, there is a way." jinbo21@soback.kornet21.net
kbeyl@kids.kotel.co.kr
For the future of you and me! hitel: jinbo21