-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NUM_KERNEL_OBJECT_FILES is too small #7703
Comments
Apparently this is a limitation of UTIL_LISTIFY and we really need to just get rid of this.
|
We run into the limit of 32 object files on ARM when CONFIG_APPLICATION_MEMORY is enabled. Bug #7703 filed, meanwhile just disable it, it's not needed for this test case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
I would even rename UTIL_LISTIFY to _UTIL_LISTIFY to discourage it being used by people and make it easier to get rid of it in the next version. |
We run into the limit of 32 object files on ARM when CONFIG_APPLICATION_MEMORY is enabled. Bug #7703 filed, meanwhile just disable it, it's not needed for this test case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
I wouldn't go that far ... It is useful to generate sequences of code that are relatively short. e.g. it is the cleanest possible solution (that I know of) to solve problems like the below.
It was just inappropriately used here. |
We run into the limit of 32 object files on ARM when CONFIG_APPLICATION_MEMORY is enabled. Bug #7703 filed, meanwhile just disable it, it's not needed for this test case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
IMO UTIL_LISTIFY needs to die and we should just generate the code with a post-build step. It just doesn't scale. I am not sure if #7632 (the successor to CONFIG_APPLICATION_MEMORY) needs it. |
We run into the limit of 32 object files on ARM when CONFIG_APPLICATION_MEMORY is enabled. Bug zephyrproject-rtos#7703 filed, meanwhile just disable it, it's not needed for this test case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
We run into the limit of 32 object files on ARM when CONFIG_APPLICATION_MEMORY is enabled. Bug #7703 filed, meanwhile just disable it, it's not needed for this test case. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
RFC #8541 and issue #8441 indirectly address this issue. By significantly reducing the numbers of CMake libraries, as example bluetooth goes from up to 6 sub-libraries to just a single. Net can go from up to 12 sub-libraries to also a single. A samples app, such as bluetooth/ipsp, will go from 15 libraries that would be in Kernel spaces and down to just 6. In the ipsp case the following reduction is seen: libdrivers__gpio.a libarch__arm__core.a libsubsys__bluetooth__common.a libsubsys__net.a |
This rewrites the implementation of the APP_INPUT_SECTION and KERNEL_INPUT_SECTION macros such that an unbounded amount of kernelspace libraries can be used. This resolves zephyrproject-rtos#7703 The new implementation has a caveat/limitation; the linker script developer must invoke APP_INPUT_SECTION before KERNEL_INPUT_SECTION. All in-tree linker scripts happened to already be doing this so no in-tree porting was necessary. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This rewrites the implementation of the APP_INPUT_SECTION and KERNEL_INPUT_SECTION macros such that an unbounded amount of kernelspace libraries can be used. This resolves #7703 The new implementation has a caveat/limitation; the linker script developer must invoke APP_INPUT_SECTION before KERNEL_INPUT_SECTION. All in-tree linker scripts happened to already be doing this so no in-tree porting was necessary. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
I found this when trying to build frdm_k64f/tests/drivers/build_all/test_build_sensors_a_m
32 is unreasonably small limit of the number of .o files for a real-world application.
The text was updated successfully, but these errors were encountered: