anchao opened a new pull request, #1591:
URL: https://github.com/apache/nuttx-apps/pull/1591

   ## Summary
   
   crypto/mbedtls: disable optimize on sim platform 
   
   ## Impact
   
   mbedtls
   
   ## Testing
   
   build break if enable MBEDTLS_HAVE_ASM && CONFIG_DEBUG_FULLOPT on sim 
platform
   
   
   ```bash
   In file included from mbedtls/library/bignum.c:41:
   mbedtls/library/bignum.c: In function ‘mpi_mul_hlp’:
   mbedtls/library/bn_mul.h:86:13: error: ‘asm’ operand has impossible 
constraints
      86 | #define asm __asm
         |             ^~~~~
   mbedtls/library/bn_mul.h:102:5: note: in expansion of macro ‘asm’
     102 |     asm(                                    \
         |     ^~~
   mbedtls/library/bignum.c:1669:9: note: in expansion of macro ‘MULADDC_INIT’
    1669 |         MULADDC_INIT
         |         ^~~~~~~~~~~~
   mbedtls/library/bn_mul.h:86:13: error: ‘asm’ operand has impossible 
constraints
      86 | #define asm __asm
         |             ^~~~~
   mbedtls/library/bn_mul.h:102:5: note: in expansion of macro ‘asm’
     102 |     asm(                                    \
         |     ^~~
   mbedtls/library/bignum.c:1684:9: note: in expansion of macro ‘MULADDC_INIT’
    1684 |         MULADDC_INIT
         |         ^~~~~~~~~~~~
   mbedtls/library/bn_mul.h:86:13: error: ‘asm’ operand has impossible 
constraints
      86 | #define asm __asm
         |             ^~~~~
   mbedtls/library/bn_mul.h:102:5: note: in expansion of macro ‘asm’
     102 |     asm(                                    \
         |     ^~~
   mbedtls/library/bignum.c:1695:9: note: in expansion of macro ‘MULADDC_INIT’
    1695 |         MULADDC_INIT
         |         ^~~~~~~~~~~~
   
   ```


-- 
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

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

Reply via email to