Bug 464814 - gcc fails to compile latest RHEL4 e2fsprogs changes
Summary: gcc fails to compile latest RHEL4 e2fsprogs changes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc
Version: 4.8
Hardware: All
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 457417
TreeView+ depends on / blocked
 
Reported: 2008-09-30 16:44 UTC by Eric Sandeen
Modified: 2008-12-04 00:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-04 00:18:51 UTC
Target Upstream Version:
Embargoed:


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

Description Eric Sandeen 2008-09-30 16:44:25 UTC
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).

Thanks,
-Eric

Comment 1 Eric Sandeen 2008-09-30 17:24:12 UTC
Created attachment 318097 [details]
Preprocessed file

Comment 2 Jakub Jelinek 2008-12-04 00:18:51 UTC
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.