You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/25 03:04:40 UTC

[GitHub] [incubator-nuttx] AlanRosenthal commented on pull request #5309: toolchain: add libm to EXTRA_LIBS only if it is provided by the compiler

AlanRosenthal commented on pull request #5309:
URL: https://github.com/apache/incubator-nuttx/pull/5309#issuecomment-1020763140


   @pkarashchenko after this PR, when I locally run this command I get errors:
   ```
   ➜  nuttx git:(6c27f3c19d) tools/testbuild.sh -j 100 -e '-Wno-cpp -Werror' tools/ci/testlist/arm-01.dat
   ====================================================================================
   Configuration/Tool: pcduino-a10/nsh,CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
   make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
   make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
     Disabling CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL
     Enabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
   gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
   ```
   any ideas what's going on?


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