bug-hurd
[Top][All Lists]
Advanced

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

Re: checking whether mig supports the retcode keyword... no


From: Flávio Cruz
Subject: Re: checking whether mig supports the retcode keyword... no
Date: Sun, 19 Feb 2023 18:12:28 -0500



On Fri, Feb 17, 2023 at 6:26 AM Sergey Bugaev <bugaevc@gmail.com> wrote:
On Fri, Feb 17, 2023 at 9:02 AM Flávio Cruz <flaviocruz@gmail.com> wrote:
> Thanks for the instructions. I discovered that mach_msg_type_long_t does not align to 8 bytes so it also needs a bit of padding just like mach_msg_type_t. See my last patch. I was able to compile most of the glibc and all the stubs after this change.

That worked like a charm, thank you!

with desired_complex_alignof manually set to 8, that is. Right now it
is set to sizeof(natural_t) -- i.e. 4. Should we change it to
alignof(uintptr_t) or something like that?

Yes, I just sent two patches to do that. As a bonus, we also ensure the 64 bit kernel is free of undefined behavior when built for a 32 bit userland.


Sergey

reply via email to

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