RTEMS Tools Build with Recent Newlib
Joel Sherrill <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAF9ehCXrJeF0GY7zyHs55HWEXy5-q4_7oYddeDeJ+eQeqxHcog@mail.gmail.com> |
Hi I bumped the newlib hash to the following in the RTEMS tools recipes: commit 502cf4b7b5b79b83e8f41b4074212f9e27753f0b (HEAD -> master, origin/master, origin/HEAD) Author: Mike Frysinger <[email protected]> Date: Sat Jan 29 01:33:44 2022 -0500 libgloss: fix more missing dir with parallel install Depending on the processing order of rules when installing in parallel, these install rules might be processed before some other rule happens to create the respective dirs. Make sure each one creates the needed dirs before installing into them. And tried to build the following architectures: aarch64 arm bfin i386 lm32 m68k microblaze mips moxie nios2 or1k powerpc riscv sh sparc64 sparc v850 x86_64 arm, i386, and riscv did not complete the tool chain build. All three architectures failed with multiple files having errors like these: In file included from ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_floor.c:39: ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/../../math/s_floor.c:65:10: fatal error: fdlibm.h: No such file or directory 65 | #include "fdlibm.h" | ^~~~~~~~~~ compilation terminated. make[5]: *** [lib_a-s_floor.o] Error 1 ../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/arm/s_fma_arm.c:37:10: fatal error: math_config.h: No such file or directory 37 | #include "math_config.h" | ^~~~~~~~~~~~~~~ I didn't proceed with building RTEMS or our tests but will once all tool chains are building. --joel