980406 & 980411 snapshots on i586-pc-linux-gnu

Byeong-ryeol Kim jinbo21@soback.kornet.nm.kr
Tue Apr 14 15:55:00 GMT 1998


 I usually compile linux kernels with egcs, and there was no
big problem since 1.0.2 and mainstream snapshots if only 
I modify kernel source as floated over this list and linux-kernel
list.(It was to put 'volatile' before 'long eflags' in ioport.c 
and to modify asm/string.c) 
 But, latest snapshots show strange probelems, though 1.0.2 works
well.

 1. 980406 compiles well and passed well through 'make -k check' on
RH 5.0 system(egcs-1.0.2, libg++-2.8.1-980306, binutils-2.8.1.0.30,
glibc-2.0.7-6) on i586-pc-linux-gnu(ASUS P/I-P55T2P4 with AMD-PR2/
MMX-200(buggy stepping 1), 64M samsung EDO DRAM, 512K cache).
 But, linux kernels(2.0.34pre7, 2.1.93) compiled with it doesn't
boot at all at the point of uncompressing (compressed) kernel. There
is no logging.

 2. I could not compile 980411 snapshot.

1) rh 5.0(egcs-1.0.2+HJL's latest i386.md patch & libio patch, 
   binutils-2.9.0.2, glibc-2.0.7-6, kernel-2.1.96pre1) 

2) config.status

# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
configure --prefix=/usr/local --enable-shared --enable-threads \
          --with-fast-fixincludes --with-gnu-as --with-gnu-ld  \
          --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu  \
          --build=i686-pc-linux-gnu --norecursion 
# using "mh-frag" and "mt-frag"

3) CFLAGS: -O4 -mcpu=pentiumpro -march=pentiumpro -g
   BOOT_CFLAGS: -O9 -mcpu=pentiumpro -march=pentiumpro -g
   CXXFLAGS: -O4 -mcpu=pentiumpro -mcpu=pentiumpro -fvtable-thunks -g

4) make bootstrap
 
5) error messages

stage1/xgcc -Bstage1/ -c  -DIN_GCC    -W -Wall -O2 -O4 -mcpu=pentiumpro -march=pentiumpro -g  -DHAVE_CONFIG_H     -I. -I. -I./config ./genattr.c
./genattr.c: In function `fatal':
./genattr.c:221: warning: type of `a1' defaults to `int'
./genattr.c:221: warning: type of `a2' defaults to `int'
stage1/xgcc -Bstage1/  -DIN_GCC    -W -Wall -O2 -O4 -mcpu=pentiumpro -march=pentiumpro -g  -DHAVE_CONFIG_H   -o genattr \
 genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./genattr ./config/i386/i386.md > tmp-attr.h
make[2]: *** [s-attr] Error 132
make[2]: Leaving directory `/usr/src/egcs-980411/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/src/egcs-980411/gcc'
make: *** [bootstrap] Error 2

 "Where there is a will, there is a way."  jinbo21@soback.kornet.nm.kr 
                                           kbeyl@kids.kotel.co.kr      
  For the future of you and me!            hitel: jinbo21





More information about the Gcc mailing list