Porting gcc to HP Nonstop Ux
Jim Wilson
wilson@tuliptree.org
Fri May 2 20:11:00 GMT 2003
On Fri, 2003-05-02 at 10:41, praveen wrote:
> I got the following message at the end of stage3:
> Bootstrap comparison failure!
> alias.o differs
>From your nm diff, it looks like the assembler is putting temporary file
names in the symbol table, and this is causing the diff to fail. You
want to find a way to stop this. Compile a file with -S and look at the
assembly output carefully. If you are emitting the temp file name into
the output, perhaps in a .file directive, then that is a problem that
should be fixed. If the assembler is doing this on its own, then
perhaps changing the assembler options will stop this. If you aren't
emitting a .file directive, then perhaps that is the problem.
nm is sufficient for checking for object file differences. Hopefully
when you did the bootstrap, you piped the make output into a file. Pick
one of the files that is different, preferably a small one. Pull the
stage1/xgcc and stage2/xgcc build commands for that file out of the make
output, and add -S options. Then compare the assembly output files for
differences.
Jim
More information about the Gcc-bugs
mailing list