Page MenuHomeFreeBSD

kern: Bump static assert for i386
AbandonedPublic

Authored by aokblast on Jul 17 2026, 2:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 9:16 AM
Unknown Object (File)
Sat, Sep 12, 9:09 AM
Unknown Object (File)
Fri, Sep 11, 3:08 PM
Unknown Object (File)
Sat, Sep 5, 1:45 PM
Unknown Object (File)
Thu, Sep 3, 5:52 PM
Unknown Object (File)
Thu, Sep 3, 2:59 PM
Unknown Object (File)
Tue, Sep 1, 5:33 PM
Unknown Object (File)
Mon, Aug 31, 6:17 AM
Subscribers

Details

Reviewers
kib
Summary

p_asig change by kib@ on proc requires to bump the static assert

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74880
Build 71763: arc lint + arc unit

Event Timeline

Why? p_asig and p_tree_refcount are at the end of the struct proc.

In D58302#1337157, @kib wrote:

Why? p_asig and p_tree_refcount are at the end of the struct proc.

ok. I might be wrong. I swear that it is needed to build i386 but the reason is in other member. I will update the title after I fing te correct answer.

Could f6ee1d20d36813e990691 fixed your issue?

Anyway, the useful tool is gdb' pinfo /o type.

In D58302#1337163, @kib wrote:

Could f6ee1d20d36813e990691 fixed your issue?

Anyway, the useful tool is gdb' pinfo /o type.

It should be the correct reason. Thanks! I don't have ia32 machine so I planned to check the dwarf info.

In D58302#1337163, @kib wrote:

Could f6ee1d20d36813e990691 fixed your issue?

Anyway, the useful tool is gdb' pinfo /o type.

It should be the correct reason. Thanks! I don't have ia32 machine so I planned to check the dwarf info.

Native gdb on x86_64 happily works with 32bit objects. No need to cross-compile it.