raiden00pl opened a new issue, #7523:
URL: https://github.com/apache/incubator-nuttx/issues/7523

   Do we still need `-funwind-tables` option for some boards ? It's not 
compatible with CLANG compiler so we need additional condition in Make.defs.
   
   This option was introduced in 4d43b05db3bdd79f5438798d3f05625b746e71f6 for 
stm32f4discovery and then probably copied to  other boards based on 
stm32f4discovery. 
   @acassis do you remember the details of the problem (it was a long time ago, 
PR probably on the old bitbucket repo) ? 
   
   Support for stack unwidner is already supported by CONFIG_UNWINDER_ARM 
option:
   
   
https://github.com/apache/incubator-nuttx/blob/d4ba93067ee76e656c39d42e6dcf5f8daa48322e/arch/arm/src/common/Toolchain.defs#L77-L79
   
   but I'm not sure if this has any effects on the C++ code with exceptions 
enabled.
   
   Boards with this option in Make.defs:
   
   > [raiden00:~/git/RTOS/nuttx/nuttx/boards]$ grep -R unwind-tabl              
                                                                                
                                                                                
                           
   arm/stm32/b-g431b-esc1/scripts/Make.defs:ARCHCFLAGS += -funwind-tables
   arm/stm32/b-g431b-esc1/scripts/Make.defs:ARCHCXXFLAGS += -funwind-tables
   arm/stm32/nucleo-g431rb/scripts/Make.defs:ARCHCFLAGS += -funwind-tables
   arm/stm32/nucleo-g431rb/scripts/Make.defs:ARCHCXXFLAGS += -funwind-tables
   arm/stm32/b-g474e-dpow1/scripts/Make.defs:ARCHCFLAGS += -funwind-tables
   arm/stm32/b-g474e-dpow1/scripts/Make.defs:ARCHCXXFLAGS += -funwind-tables
   arm/stm32/nucleo-g474re/scripts/Make.defs:ARCHCFLAGS += -funwind-tables
   arm/stm32/nucleo-g474re/scripts/Make.defs:ARCHCXXFLAGS += -funwind-tables
   arm/stm32/stm32f4discovery/scripts/Make.defs:#   ARCHCFLAGS += 
-funwind-tables
   arm/stm32/stm32f4discovery/scripts/Make.defs:#   ARCHCXXFLAGS += 
-funwind-tables
   arm/stm32/nucleo-g431kb/scripts/Make.defs:ARCHCFLAGS += -funwind-tables
   arm/stm32/nucleo-g431kb/scripts/Make.defs:ARCHCXXFLAGS += -funwind-tables
   arm/eoss3/quickfeather/scripts/Make.defs:  ARCHCFLAGS += -funwind-tables
   arm/eoss3/quickfeather/scripts/Make.defs:  ARCHCXXFLAGS += -funwind-tables
   


-- 
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-unsubscr...@nuttx.apache.org.apache.org

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

Reply via email to