On Fri, Jun 30, 2023 at 10:48 AM Alin Jerpelea wrote: > Hello all, > Apache NuttX 12.2.0 RC0 has been staged under [1] and it's time to vote on > accepting it for release. Voting will be open for 72hr.
Hello world :-) +1 here on ESP32 / ESP32-C3 / ESP32-S2 :-) Remarks: * Question: Shouldn't 12.2.0-RC0 contain 12.2.0-RC0 version string (it is 12.2.0 in the console and 12.2 in the git branch usually RC also have their own branch)? * Note: Can we use name branches releases/12.2.0 (currently releases/12.2) as "12.2.0" != "12.2" plus remark on RC above :-) * General Question: Is it possible to reverse ReleaseNotes sorting order so the latest release notes are on top not bottom of the file? :-) * Note: ReleaseNotes should keep formatting of a release header (NuttX-12.2.0\n-----------). Tested on FreeBSD 13.2-RELEASE AMD64: % uname -a FreeBSD octagon 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 Build targets: 1. ESP32 / esp32-devkitc:ostest. NuttShell (NSH) NuttX-12.2.0 nsh> uname -a NuttX 12.2.0 26f5e973f6 Jun 30 2023 13:08:31 xtensa esp32-devkitc % xtensa-esp32-elf-gcc -v Using built-in specs. COLLECT_GCC=xtensa-esp32-elf-gcc COLLECT_LTO_WRAPPER=/usr/home/XXX/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper Target: xtensa-esp32-elf Configured with: /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf --prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf --exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf --with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf --with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf/include --with-newlib --enable-threads=no --disable-shared --with-pkgversion='crosstool-NG esp-2021r2-patch5' --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libstdcxx-verbose --with-gmp=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools --with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools --with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools --with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools --enable-lto --enable-target-optspace --without-long-double-128 --disable-nls --enable-multiarch --enable-languages=c,c++ --disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio --enable-libstdcxx-time=yes Thread model: posix gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5) % /usr/bin/time -h gmake clean distclean 7,64s real 3,72s user 4,03s sys % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:ostest 2,97s real 1,64s user 1,37s sys % /usr/bin/time -h gmake -j8 16,70s real 57,00s user 37,95s sys 2. ESP32-C3 / esp32c3-devkit:usbconsole. NuttShell (NSH) NuttX-12.2.0 nsh> uname -a NuttX 12.2.0 26f5e973f6 Jun 30 2023 13:47:22 risc-v esp32c3-devkit % riscv64-none-elf-gcc -v Using built-in specs. COLLECT_GCC=riscv64-none-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/riscv64-none-elf/11.3.0/lto-wrapper Target: riscv64-none-elf Configured with: /wrkdirs/usr/ports/devel/riscv64-none-elf-gcc/work/gcc-11.3.0/configure --target=riscv64-none-elf --disable-nls --enable-languages=c,c++ --enable-gnu-indirect-function --without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports Collection for riscv64noneelf' --with-system-zlib --with-gxx-include-dir=/usr/include/c++/v1/ --with-sysroot=/ --with-as=/usr/local/bin/riscv64-none-elf-as --with-ld=/usr/local/bin/riscv64-none-elf-ld --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=x86_64-unknown-freebsd13.1 Thread model: single Supported LTO compression algorithms: zlib gcc version 11.3.0 (FreeBSD Ports Collection for riscv64noneelf) % /usr/bin/time -h gmake clean distclean 7,64s real 3,76s user 3,99s sys % /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:usbconsole 2,97s real 1,54s user 1,46s sys % /usr/bin/time -h gmake -j8 CROSSDEV=riscv64-none-elf- 26,81s real 2m19,76s user 29,04s sys 3. ESP32-S2 / esp32s2-saola-1:coremark. CoreMark 1.0 : 468.384075 / GCC8.4.0 -O3 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections / Stack Running CoreMark... 2K performance run parameters for coremark. CoreMark Size : 666 Total ticks : 12810 Total time (secs): 12.810000 Iterations/Sec : 468.384075 Iterations : 6000 Compiler version : GCC8.4.0 Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections Memory location : Stack seedcrc : 0xe9f5 [0]crclist : 0xe714 [0]crcmatrix : 0x1fd7 [0]crcstate : 0x8e3a [0]crcfinal : 0xa14c Correct operation validated. See README.md for run and reporting rules. % xtensa-esp32s2-elf-gcc -v Using built-in specs. COLLECT_GCC=xtensa-esp32s2-elf-gcc COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin/../libexec/gcc/xtensa-esp32s2-elf/8.4.0/lto-wrapper Target: xtensa-esp32s2-elf Configured with: /builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=xtensa-esp32s2-elf --prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf --exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf --with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf --with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf/include --with-newlib --enable-threads=no --disable-shared --with-pkgversion='crosstool-NG esp-2021r2-patch5' --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libstdcxx-verbose --with-gmp=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools --with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools --with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools --with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools --enable-lto --enable-target-optspace --without-long-double-128 --disable-nls --enable-multiarch --enable-languages=c,c++ --disable-libstdcxx-verbose --enable-threads=posix --enable-gcov-custom-rtio --enable-libstdcxx-time=yes Thread model: posix gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5) % /usr/bin/time -h gmake clean distclean CROSSDEV=riscv64-none-elf- 7,67s real 3,59s user 4,19s sys % /usr/bin/time -h ./tools/configure.sh -B esp32s2-saola-1:coremark 2,96s real 1,44s user 1,56s sys % /usr/bin/time -h gmake -j8 15,20s real 52,38s user 34,95s sys 4. sim:ostest has still some build issues (sed vs gsed and linking) on FreeBSD that I need to fix but that is non blocker it was here before sorry for the delay on the updates! TODO1/sed: sed: 1: "/CONFIG_BASE_DEFCONFIG/ ...": bad flag in substitute command: '}' Create version.h gmake: *** [tools/Unix.mk:252: include/nuttx/config.h] Error 1 gmake: *** Waiting for unfinished jobs.... TODO2/ld: LD: nuttx ld: error: undefined symbol: __asan_register_globals >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_ctor) >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_ctor) >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_ctor) >>> referenced 84 more times ld: error: undefined symbol: __asan_unregister_globals >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_dtor) >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_dtor) >>> referenced by syslog_write.c >>> nuttx.rel:(asan.module_dtor) >>> referenced 84 more times cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [Makefile:368: nuttx] Error 1 gmake: *** [tools/Unix.mk:527: nuttx] Error 2 Lots of new stuff in the upcoming 12.2.0 congratulations! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info