Bug 464814 - gcc fails to compile latest RHEL4 e2fsprogs changes
gcc fails to compile latest RHEL4 e2fsprogs changes
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc (Show other bugs)
All Linux
medium Severity high
: rc
: ---
Assigned To: Jakub Jelinek
Depends On:
Blocks: 457417
  Show dependency treegraph
Reported: 2008-09-30 12:44 EDT by Eric Sandeen
Modified: 2008-12-03 19:18 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-12-03 19:18:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Preprocessed file (109.46 KB, text/plain)
2008-09-30 13:24 EDT, Eric Sandeen
no flags Details

  None (edit)
Description Eric Sandeen 2008-09-30 12:44:25 EDT
I've added an update to e2fsprogs in RHEL4 to satisfy  Bug 457417 -  uuid_generate_time (e2fsprogs) generates duplicate UUIDs  

However, building on RHEL4/ia64 I now get a gcc failure:

gen_uuid.c: In function `uuid__generate_time':
gen_uuid.c:441: internal compiler error: in ia64_expand_load_address, at config/ia64/ia64.c:1184
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc3TiRur.out file, please attach this to your bugreport.

This is for what's currently in RHEL4 cvs for e2fsprogs (guess I should have done a test build....)

I'll find a box I can reproduce on and attach the preprocessed source (not sure I can get that out of brew).

Comment 1 Eric Sandeen 2008-09-30 13:24:12 EDT
Created attachment 318097 [details]
Preprocessed file
Comment 2 Jakub Jelinek 2008-12-03 19:18:51 EST
This is probably http://gcc.gnu.org/PR21412, but I'm afraid it is too big and risky change this late in RHEL4 cycle.
Either apply the workaround I've mailed (instead of accessing last.tv_{,u}sec
directly add struct timeval *lastp = &last; asm ("" : "+r" (lastp));
early and use lastp->tv_{,u}sec instead of last.tv_{,u}sec, or build gen_uuid.c
with -O1 instead of -O2, or build with gcc4 instead of gcc.

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