On 11/23/2015 9:58 AM, Ed Maste wrote: > On 23 November 2015 at 08:33, Konstantin Belousov <kostikbel_at_gmail.com> wrote: >> >> The revision 291171 changed layout of the dereferenced structure >> sysentvec. Was your kernel build clean, or did you used -DNO_CLEAN or >> similar option ? If yes, remove the kernel build directory and start >> from scratch. > > Every time removing the build directory and starting from scratch > fixes an issue like this it's demonstrated a bug in our build's > dependency tracking. Starting over is a fine workaround to make > progress, but I'd also like to try to extract sufficient detail when > this happens so that we can fix these cases. My guess is that some files are missing proper dependencies on sysent.h. For example these 2 would not rebuild. I think any consumers of these headers which dereferenced the struct pointers would need to include sys/sysent.h, but that this still may lead to a broken situation somewhere. sys/sys/imgact.h:struct sysentvec; sys/sys/ktrace.h:struct sysentvec; -- Regards, Bryan Drewery
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC