[Bug 257132] clang 12.0.1 fails to cross-compile kern_mbuf - amd64 host, i386 target

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jul 2021 15:50:28 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257132

--- Comment #5 from imbutler <imb_at_protected-networks.net> ---
Executing the script to build offset.inc on a native pentium3 host also now
yields the problematic output .. something changed with this sometime after
July 5th when I last built this natively ..

imb_at_sarah:/sys/kern> sh ./genoffset.sh
/usr/obj/usr/src/i386.i386/sys/SARAH/genoffset.o
#ifndef _OFFSET_INC_
#define _OFFSET_INC_
#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || defined(KLD_TIED))
struct thread_lite {
        u_char  pad_td_owepreempt[0xb8 - 0];
        u_char  td_owepreempt;
        u_char  pad_td_pinned[0xd8 - (0xb8 + sizeof(u_char))];
        int     td_pinned;
        u_char  pad_td_priority[0x27e - (0xd8 + sizeof(int))];
        u_char  td_priority;
        u_char  pad_td_critnest[0x30c - (0x27e + sizeof(u_char))];
        u_int   td_critnest;
};
#endif
#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jul 14 2021 - 15:50:28 UTC

Original text of this message