Red Hat Bugzilla – Bug 97841
Gcc failed to bootstrap on ia64
Last modified: 2007-04-18 12:54:57 EDT
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!
make: *** [compare] Error 1
make: Leaving directory `/export/build/gnu/gcc-3.3-redhat/build-ia64-
make: *** [bootstrap] Error 2
make: 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
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.