Bug 21355 - [3.4 regression] ada bootstrap comparision failure
Summary: [3.4 regression] ada bootstrap comparision failure
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.4.4
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 08:59 UTC by Debian GCC Maintainers
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2005-05-03 08:59:28 UTC
seen with CVS 20050502, last version that built sucessfully was CVS 20050413.
reproducible on i486-linux and x86_64-linux.

Bootstrap comparison failure!
ada/b_gnatb.o differs
make[3]: *** [gnucompare-lean] Error 1
Comment 1 Debian GCC Maintainers 2005-05-03 12:30:39 UTC
on powerpc-linux, the build fails earlier:

stage2/xgcc -Bstage2/ -B/usr/powerpc-linux/bin/ -c   -O2  -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes      -Wno-error 
-DHAVE_CONFIG_H    -I. -Iada -I../../src/gcc -I../../src/gcc/ada
-I../../src/gcc/../include  ada/b_gnatb.c -o ada/b_gnatb.o
ada/b_gnatb.c:64: error: missing terminating " character
ada/b_gnatb.c:65:1: invalid suffix "x" on integer constant
ada/b_gnatb.c:65: error: missing terminating " character
ada/b_gnatb.c:66: error: parse error before "char"
ada/b_gnatb.c: In function `main':
ada/b_gnatb.c:229: error: `__gnat_ada_main_program_name' undeclared (first use
in this function)
ada/b_gnatb.c:229: error: (Each undeclared identifier is reported only once
ada/b_gnatb.c:229: error: for each function it appears in.)
make[4]: *** [ada/b_gnatb.o] Error 1

comparing the files from the builds:

$ diff -u ./build/gcc/ada/b_gnatb.c ./build/gcc/stage2/ada/b_gnatb.c
--- ./build/gcc/ada/b_gnatb.c   2005-05-03 06:39:54.224491344 -0500
+++ ./build/gcc/stage2/ada/b_gnatb.c    2005-05-03 05:56:32.313429600 -0500
@@ -61,8 +61,7 @@
 extern int gnat_exit_status;


-char __gnat_version[] = "GNAT Version:
-0x";
+char __gnat_version[] = "GNAT Version: S\uffff\uffff\uffff";
 char __gnat_ada_main_program_name[] = "_ada_gnatbind";
 void adafinal () {
    system__standard_library__adafinal ();


the gnatbind.ali files do not differ.

setting the component to bootstrap, no ada files were modified in the mentioned
time frame. keeping the severity, hmm, but it fails on a branch where it worked
before.
Comment 2 Debian GCC Maintainers 2005-05-08 13:54:29 UTC
turned out as a side effect of the gpc build.