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 2020/06/28 06:50:51 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1312: libc: Replace nuttx/lib/math.h with math.h

xiaoxiang781216 opened a new pull request #1312:
URL: https://github.com/apache/incubator-nuttx/pull/1312


   Because user may replace math library with other implementation
   
   ## Summary
   
   ## Impact
   No funtionality change.
   
   ## Testing
   
   


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

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



[GitHub] [incubator-nuttx] Ouss4 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

Posted by GitBox <gi...@apache.org>.
Ouss4 commented on pull request #1312:
URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652422093


   For me it's gcc version 10.1.0
   There are also the Github checks that aren't having any issue with this.  So this might be my GCC version, I'll look into it.


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

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



[GitHub] [incubator-nuttx] Ouss4 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

Posted by GitBox <gi...@apache.org>.
Ouss4 commented on pull request #1312:
URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652384926


   @xiaoxiang781216 This change, and commit https://github.com/apache/incubator-nuttx/commit/d17b963bcab98e2d2f641623547837a8d3fe94cd breaks some default configurations, for example stm32f4discovery:audio, that would at least need.
   
   ```diff
    CONFIG_INTELHEX_BINARY=y
   +CONFIG_LIBM=y
    CONFIG_MAX_TASKS=16
   ```
   Not sure how does that pass in the nightly build.
   
   


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

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



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1312: libc: Replace nuttx/lib/math.h with math.h

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on pull request #1312:
URL: https://github.com/apache/incubator-nuttx/pull/1312#issuecomment-652408911


   But I can build stm32f4discovery:audio without any problem, here is my gcc version:
   ```
   arm-none-eabi-gcc -v
   Using built-in specs.
   COLLECT_GCC=arm-none-eabi-gcc
   COLLECT_LTO_WRAPPER=/home/xiaoxiang/mirtos/prebuilts/gcc/linux/arm/bin/../lib/gcc/arm-none-eabi/9.2.1/lto-wrapper
   Target: arm-none-eabi
   Configured with: /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/src/gcc/configure --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native --libexecdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/lib --infodir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/install-native/arm-none-eabi --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-gmp=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/build-native/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/build-native/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/build-native/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/build-native/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/build-native/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for Arm Embedded Processors 9-2019-q4-major' --with-multilib-list=rmprofile
   Thread model: single
   gcc version 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 
   ```


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

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



[GitHub] [incubator-nuttx] jerpelea merged pull request #1312: libc: Replace nuttx/lib/math.h with math.h

Posted by GitBox <gi...@apache.org>.
jerpelea merged pull request #1312:
URL: https://github.com/apache/incubator-nuttx/pull/1312


   


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

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