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

Re: PATCH: [3.3 branch] IA64 bootstrap failure


On Tue, Jul 08, 2003 at 11:34:15PM -0700, Zack Weinberg wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> 
> >
> > What do you mean by "bug"? As I said, the file is NOT miscompiled. It is
> > just different. Since compiler sources are different, comparison of
> > generated .o files don't mean much here.
> 
> I think you're confused.  We compare the .o files generated in stage2
> with the .o files generated in stage3.  The compiler sources input to
> each are identical.  The "different sources" you are seeing correspond
> to the .o files generated in stage1.  (If the .c/.h files in stage2/
> are not identical to the .c/.h files loose in the gcc build directory,
> at the point where you get a bad comparison, that would be a problem,
> but that's not what you've been saying is happening.)
> 

I may be confused. There are only 2 java/decl.o during gcc bootstrap:

# grep java/decl.c nohup.out | grep java/decl.o
stage1/xgcc -Bstage1/ -B/usr/gcc-3.3/ia64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H    -I. -Ijava -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/java -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/config -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/../include /net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/java/decl.c -o java/decl.o
stage2/xgcc -Bstage2/ -B/usr/gcc-3.3/ia64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H    -I. -Ijava -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/java -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/config -I/net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/../include /net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/java/decl.c -o java/decl.o

Sometimes, they are different. From all I can tell, on Linux/ia64, gcc
in stage1 and gcc in stage2 have different source files. So, 2
java/decl.o are compiled by 2 compilers with slightly different source
files. Did I miss something here?


H.J.


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