Hide Forgot
Gcc from gcc-3_3-rhl-branch in cvs on Sun Jun 22 16:04:11 UTC 2003 failed to bootstrap under Linux/ia64 on Itanium 2 running RHAS 2.1. The last known working one was checked out on Wed Jun 18 15:04:48 UTC 2003. The same gcc bootstrapped successfully on Itanium 1 running RHAS 2.1. The error message is Bootstrap comparison failure! java/decl.o differs make[3]: *** [compare] Error 1 make[3]: Leaving directory `/export/build/gnu/gcc-3.3-redhat/build-ia64- linux/gcc' make[2]: *** [bootstrap] Error 2 make[2]: Leaving directory `/export/build/gnu/gcc-3.3-redhat/build-ia64-linux' Command exited with non-zero status 2
It turned out that it is a gcc bug exposed by a kernel bug. I am running 2.4.18-e.31smp. When I configure gcc, I got checking for working mmap from /dev/zero... no checking for working mmap with MAP_ANON(YMOUS)... no As the result, I had /* #undef HAVE_MMAP_DEV_ZERO */ /* #undef HAVE_MMAP_ANON */ #define HAVE_MMAP_FILE 1 in auto-host.h. Apparently, ggc-page.c doesn't work too well with this configuration.
It may be a known bug in gcc. which has been fixed on mainline. See URL for details
Fixed on gcc-3_3-rhl-branch.