You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2026/10/16 10:21:49 UTC

[PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

raiden00pl opened a new pull request, #20700:
URL: https://github.com/apache/nuttx/pull/20700

   ## Summary
   
   boards/stm32l0538-disco/nsh: enable LTO
   
   
   ## Impact
   
   fix CI
   
   ## Testing
   
   ```
   Memory region         Used Size  Region Size  %age Used
              flash:       59708 B        64 KB     91.11%
               sram:        3548 B         8 KB     43.31%
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6217751019

   > > > yes, all should be fixed now
   > > 
   > > 
   > > how about nxboot_main @raiden00pl ?
   > 
   > already merged [apache/nuttx-apps@45e8b40](https://github.com/apache/nuttx-apps/commit/45e8b40ad0bba6ab94f6f28eb000967ae62432fb)
   
   Nice!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "raiden00pl (via GitHub)" <gi...@apache.org>.
raiden00pl commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6217276794

   > > yes, all should be fixed now
   > 
   > how about nxboot_main @raiden00pl ?
   
   already merged https://github.com/apache/nuttx-apps/commit/45e8b40ad0bba6ab94f6f28eb000967ae62432fb


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 merged PR #20700:
URL: https://github.com/apache/nuttx/pull/20700


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "cederom (via GitHub)" <gi...@apache.org>.
cederom commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6214694148

   @raiden00pl please go ahead and merge when needed to fix the CI :-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6217243370

   > yes, all should be fixed now
   
   how about nxboot_main @raiden00pl ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6213467877

   @raiden00pl apps has more error need fix to unblock ci:
   https://github.com/apache/nuttx/actions/runs/38795823871/job/116666848158?pr=20694
   ```
   ====================================================================================
   Configuration/Tool: nucleo-h743zi/nxboot-loader,CONFIG_ARM_TOOLCHAIN_CLANG
   2026-10-15 23:34:42
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_CLANG
     Building NuttX...
   Error: nxboot_main.c:146:19: error: use of undeclared identifier 'STDOUT_FILENO'
     146 |           dprintf(STDOUT_FILENO, "%s\n", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:159:19: error: use of undeclared identifier 'STDOUT_FILENO'
     159 |           dprintf(STDOUT_FILENO, "ERROR: %s\n", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:172:19: error: use of undeclared identifier 'STDOUT_FILENO'
     172 |           dprintf(STDOUT_FILENO, "%s", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:186:23: error: use of undeclared identifier 'STDOUT_FILENO'
     186 |               dprintf(STDOUT_FILENO, ".");
         |                       ^
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6216322905

   still contain some error, https://github.com/apache/nuttx/actions/runs/38886729345/job/116931765675?pr=20700:
   ```
   ====================================================================================
   Configuration/Tool: stm32h735g-dk/fdcan,CONFIG_ARM_TOOLCHAIN_CLANG
   2026-10-16 12:14:03
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_CLANG
     Building NuttX...
     [1/1] Normalize stm32h735g-dk/fdcan
   47d46
   < CONFIG_STM32_FDCAN1_DBITRATE=2000000
   51d49
   < CONFIG_STM32_FDCAN2_DBITRATE=2000000
   Saving the new configuration file
   HEAD detached at pull/20700/merge
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git restore <file>..." to discard changes in working directory)
   	modified:   boards/arm/stm32h7/stm32h735g-dk/configs/fdcan/defconfig
   ```
   ```
   ====================================================================================
   Configuration/Tool: nucleo-h743zi/nxboot-loader,CONFIG_ARM_TOOLCHAIN_CLANG
   2026-10-16 12:53:33
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_CLANG
     Building NuttX...
   Error: nxboot_main.c:146:19: error: use of undeclared identifier 'STDOUT_FILENO'
     146 |           dprintf(STDOUT_FILENO, "%s\n", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:159:19: error: use of undeclared identifier 'STDOUT_FILENO'
     159 |           dprintf(STDOUT_FILENO, "ERROR: %s\n", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:172:19: error: use of undeclared identifier 'STDOUT_FILENO'
     172 |           dprintf(STDOUT_FILENO, "%s", progress_msgs[idx]);
         |                   ^
   Error: nxboot_main.c:186:23: error: use of undeclared identifier 'STDOUT_FILENO'
     186 |               dprintf(STDOUT_FILENO, ".");
   ```
   let's merge this pr first, @raiden00pl could you look at the above trivial issues? Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "raiden00pl (via GitHub)" <gi...@apache.org>.
raiden00pl commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6216332536

   yes, all should be fixed now


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/stm32l0538-disco/nsh: enable LTO [nuttx]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20700:
URL: https://github.com/apache/nuttx/pull/20700#issuecomment-6213782801

   <!-- membrowse-pr-comment -->
   ## <img src="https://membrowse.com/membrowse-logo.svg" height="24" align="top"> MemBrowse Memory Report
   
   *No memory changes detected for:*
   - [arduino-mega2560](https://membrowse.com/public/apache/nuttx/target/arduino-mega2560/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [esp32-devkitc](https://membrowse.com/public/apache/nuttx/target/esp32-devkitc/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [hifive1-revb](https://membrowse.com/public/apache/nuttx/target/hifive1-revb/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [mirtoo](https://membrowse.com/public/apache/nuttx/target/mirtoo/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [qemu-armv8a](https://membrowse.com/public/apache/nuttx/target/qemu-armv8a/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [qemu-intel64](https://membrowse.com/public/apache/nuttx/target/qemu-intel64/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [rx65n-rsk2mb](https://membrowse.com/public/apache/nuttx/target/rx65n-rsk2mb/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [s698pm-dkit](https://membrowse.com/public/apache/nuttx/target/s698pm-dkit/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   - [stm32-nucleo-f103rb](https://membrowse.com/public/apache/nuttx/target/stm32-nucleo-f103rb/compare?head=86c18ef3c55f30f5a7a7a7cecdfbf18e46c64e59&base=caa178d992a354ac98e417f15e5f75d565d78288)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org