bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc bug causes parted to write bad GPT entries


From: Andrew Clausen
Subject: Re: gcc bug causes parted to write bad GPT entries
Date: Sat, 16 Mar 2002 09:15:47 +1100
User-agent: Mutt/1.3.17i

On Fri, Mar 15, 2002 at 09:56:45PM +0000, Richard Hirst wrote:
> The proposed work-around for the compiler bug is to redefine efi_guid_t
> to be an array of 16 bytes, rather than a packed struct.  That approach
> is favoured by David Mosberger and Matt Domsch anyway, to avoid byte
> ordering issues.

Is there any reason to not require gcc 3.1?

> I'm about to work up such a patch, for 1.4 initially.

If you do send such a patch, can you send with #ifdef's for
broken gcc, and keep the old code for "non-broken-gcc" compilers.
That way, when gcc2.x/3.0 falls out of common usage, it will
be obvious to everyone how to cleanup (and *why* we shouldn't
cleanup before then).

Thanks :)
Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]