Bug 97841 - Gcc failed to bootstrap on ia64
Gcc failed to bootstrap on ia64
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc (Show other bugs)
ia64 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2003-06-22 23:35 EDT by hjl
Modified: 2007-04-18 12:54 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-23 11:42:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description hjl 2003-06-22 23:35:32 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!
java/decl.o differs
make[3]: *** [compare] Error 1
make[3]: Leaving directory `/export/build/gnu/gcc-3.3-redhat/build-ia64-
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
Comment 1 hjl 2003-06-23 11:05:14 EDT
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.
Comment 2 hjl 2003-06-23 11:35:39 EDT
It may be a known bug in gcc. which has been fixed on
mainline. See URL for details
Comment 3 Jakub Jelinek 2003-07-23 11:42:58 EDT
Fixed on gcc-3_3-rhl-branch.

Note You need to log in before you can comment on or make changes to this bug.