Chris Johns created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5279

Assignee: Joel Sherrill

## Summary

This repo contains and installs the header file `machine/_kernel_types.h` 
however the kernel does not reference the header. It is referenced by 
[newlib/libc/sys/rtems/include/machine/types.h](https://gitlab.rtems.org/contrib/newlib-cygwin/-/blob/main/newlib/libc/sys/rtems/include/machine/types.h?ref_type=heads#L93)
 if `_KERNEL` is defined and it assumes a package needing these types has 
installed a suitable copy.

This file is only referenced by code that defines `_KERNEL` and currently this 
is the networking stacks. LibBSD installs a version specific to the version 
being built and installed. We cannot assume the kernel types in this repo match 
current or future versions of LibBSD or any other networking stack and it 
breaks now we support different versions of LibBSD. It is not realistic to try 
and get a common version in this repo to align to all current versions we 
support.

There is a danger a user may build RTEMS and install it and then build a 
package that assumes a network stack is installed when it is not. Removing this 
header and requiring a networking stack to install a version would enforce 
correct software stack building happens and the types of the installed software 
match.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5279
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to