Page MenuHomeFreeBSD

kern: Bump static assert for i386
AbandonedPublic

Authored by aokblast on Fri, Jul 17, 2:44 PM.
Tags
None
Referenced Files
F163763585: D58302.diff
Sat, Jul 25, 9:36 PM
F163763533: D58302.diff
Sat, Jul 25, 9:36 PM
F163754989: D58302.id182130.diff
Sat, Jul 25, 8:31 PM
F163754664: D58302.id182130.diff
Sat, Jul 25, 8:29 PM
Unknown Object (File)
Fri, Jul 24, 7:19 PM
Unknown Object (File)
Fri, Jul 24, 6:12 AM
Unknown Object (File)
Fri, Jul 24, 6:08 AM
Unknown Object (File)
Thu, Jul 23, 8:32 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.