Sorry, I missed the vote window, please find below the results (NuttX
still increasing size in a predictable way)

ESP32-DEVKITC
=============

$ xtensa-esp32-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32-elf/12.2.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-12.2.0_20230208'
--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
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (crosstool-NG esp-12.2.0_20230208)


$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 136016 out 24 09:03 nuttx.bin

$ xtensa-esp32-elf-size nuttx
   text    data     bss     dec     hex filename
  86252     424    5288   91964   1673c nuttx

nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:20:22 xtensa esp32-devkitc
nsh> free
                   total       used       free    largest  nused  nfree
        Umem:     327240       7784     319456     188048     39      3
nsh>

Note: Increased of ~2% in relation to version 12.2.1

-----------------------------------------------------------------------------------------------------------------------------

ESP32-S2:

$ xtensa-esp32s2-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32s2-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32s2-elf/12.2.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-12.2.0_20230208'
--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
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (crosstool-NG esp-12.2.0_20230208)

$ ./tools/configure.sh esp32s2-saola-1:nsh

$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 133296 out 24 09:08 nuttx.bin

$ xtensa-esp32s2-elf-size nuttx
   text    data     bss     dec     hex filename
  78616     472    7772   86860   1534c nuttx

  nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:26:38 xtensa esp32s2-saola-1
nsh> free
                   total       used       free    largest  nused  nfree
        Umem:     309700       7732     301968     301968     35      1
nsh>

Note: Reduced 8% in relation from version 12.2.1
(needs more investigation, maybe some function were disabled)

-----------------------------------------------------------------------------------------------------------------------------

ESP32-C3:

$ riscv64-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper
Target: riscv64-unknown-elf
Configured with:
/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/build/riscv64-unknown-elf-gcc/riscv-gcc/configure
--target=riscv64-unknown-elf --host=x86_64-linux-gnu
--prefix=/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-linux-ubuntu14
--with-pkgversion='SiFive GCC-Metal 10.2.0-2020.12.8'
--with-bugurl=https://github.com/sifive/freedom-tools/issues
--disable-shared --disable-threads --enable-languages=c,c++
--enable-tls --with-newlib
--with-sysroot=/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-linux-ubuntu14/riscv64-unknown-elf
--with-native-system-header-dir=/include --disable-libmudflap
--disable-libssp --disable-libquadmath --disable-libgomp --disable-nls
--disable-tm-clone-registry --src=../riscv-gcc --with-system-zlib
--enable-checking=yes --enable-multilib --with-abi=lp64d
--with-arch=rv64imafdc CFLAGS=-O2 CXXFLAGS=-O2 'CFLAGS_FOR_TARGET=-Os
-mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medany'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (SiFive GCC-Metal 10.2.0-2020.12.8)

$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 154832 out 24 09:15 nuttx.bin

$ riscv64-unknown-elf-size nuttx
   text    data     bss     dec     hex filename
 109928     364  142866  253158   3dce6 nuttx

nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:28:03 risc-v esp32c3-devkit
nsh> free
                   total       used       free    largest  nused  nfree
        Umem:     377052       7724     369328     369328     36      1
nsh>

Note: NuttX increased ~3% in relation to previous version 12.2.1

STM32F4DISCOVERY
================

$ arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/10.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr
--includedir='/usr/lib/include' --mandir='/usr/lib/share/man'
--infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir='/usr/lib/lib/x86_64-linux-gnu'
--libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode
--disable-dependency-tracking --mandir=/usr/share/man
--enable-languages=c,c++,lto --enable-multilib --disable-decimal-float
--disable-libffi --disable-libgomp --disable-libmudflap
--disable-libquadmath --disable-libssp --disable-libstdcxx-pch
--disable-nls --disable-shared --disable-threads --enable-tls
--build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib
--with-gnu-as --with-gnu-ld --with-pkgversion=15:10.3-2021.07-4
--without-included-gettext --prefix=/usr/lib
--infodir=/usr/share/doc/gcc-arm-none-eabi/info
--htmldir=/usr/share/doc/gcc-arm-none-eabi/html
--pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin
--libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3
--host=x86_64-linux-gnu --with-headers=no --without-newlib
--with-multilib-list=rmprofile,aprofile CFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
DFLAGS=-frelease FCFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' FFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' GCJFLAGS='-g
-O2 
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-fstack-protector-strong' LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto
-Wl,-z,relro' OBJCFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' OBJCXXFLAGS='-g
-O2 
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0
AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as
LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm
OBJDUMP_FOR_TARGET=arm-none-eabi-objdump
RANLIB_FOR_TARGET=arm-none-eabi-ranlib
READELF_FOR_TARGET=arm-none-eabi-readelf
STRIP_FOR_TARGET=arm-none-eabi-strip SED=/bin/sed SHELL=/bin/sh
BASH=/bin/bash CONFIG_SHELL=/bin/bash
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.3.1 20210621 (release) (15:10.3-2021.07-4)


$ ./tools/configure.sh stm32f4discovery:nsh

$ ls -l nuttx.bin
-rwxrwxr-x 1 alan alan 74448 out 24 08:43 nuttx.bin

$ arm-none-eabi-size nuttx
   text    data     bss     dec     hex filename
  74128     320    1864   76312   12a18 nuttx

Note: Release 12.3.0 increased more than 4% size in relation to version 12.2.1

BR,

Alan

On 10/18/23, Alin Jerpelea <jerpe...@gmail.com> wrote:
> Hello all,
> Apache NuttX 12.3.0 RC1 has been staged under [1] and it's
> time to vote on accepting it for release. Voting will be open for 72hr.
>
> A minimum of 3 binding +1 votes and more binding +1 than binding -1 are
> required to pass.
>
> The Apache requirements for approving a release can be found here [3]
> "Before voting +1 PMC members are required to download the signed
> source code package, compile it as provided, and test the resulting
> executable on their own platform, along with also verifying that the
> package meets the requirements of the ASF policy on releases."
>
> A document to walk through some of this process has been published on
> our project wiki and can be found here [4].
>
> [ ] +1 accept (indicate what you validated - e.g. performed the non-RM
> items in [4])
> [ ] -1 reject (explanation required)
>
> Thank you all,
> Alin Jerpelea
>
> SCM Information:
>   Release tag: nuttx-12.3.0-RC1
>   Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
>   Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
>

Reply via email to