[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MACH_SEND_MSG_TOO_SMALL is mig breakage (was: Re: current CVS Hurd a
Re: MACH_SEND_MSG_TOO_SMALL is mig breakage (was: Re: current CVS Hurd and glibc (except libthreads)
Mon, 5 Aug 2002 00:11:55 +0200
On Tue, Jul 30, 2002 at 05:20:34AM -0400, Roland McGrath wrote:
> I think what's going on is that mig was written to assume that everything
> needs to be naturally aligned. On a 64-bit machine, 64-bit quantities do
> need to be aligned to 64 bits.
I don't really claim to understand how the old code was going to achieve
that with that check.
But I did make an alpha cross compiler, and a cross mig for alpha-gnu, and
verified that my change doesn't change anything for alpha. I didn't expect
it to change anything, because we don't have 128 bit types :)
So, because my change seems to be an improvement over the old code, the old
code never worked on 32-bit machines with 64-bit parameters, and we need a
new version of mig for our users and the Debian archive, I checked in my
fix. Feel free to improve on that if I did something stupid or did not go
all the way.
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org firstname.lastname@example.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
- Re: MACH_SEND_MSG_TOO_SMALL is mig breakage (was: Re: current CVS Hurd and glibc (except libthreads),
Marcus Brinkmann <=