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/09/01 08:44:06 UTC

[GitHub] [incubator-nuttx] yamt opened a new issue #1688: EXTRAFLAGS appears in AFLAGS three times

yamt opened a new issue #1688:
URL: https://github.com/apache/incubator-nuttx/issues/1688


   I only checked sim. but others might have similar issues.
   
   when you do "make EXTRAFLAGS=foobar",
   foobar appears in eg. AFLAGS three times.
   
   it's a problem because some options are not idempotent.
   eg. the following example was with EXTRAFLAGS="-fsanitize=address -mllvm -asan-stack=0 "
   
   AS:  sim/up_setjmp64.S
   /usr/local/Cellar/llvm/10.0.1/bin/clang -c -Wall -Wstrict-prototypes -Wshadow -Wundef -g -fstack-protector-all -fno-builtin -fno-common -isystem "/Users/yamamoto/git/nuttx/nuttx/include"  -D__KERNEL__ -fsanitize=address -mllvm -asan-stack=0  -pipe -I "/Users/yamamoto/git/nuttx/nuttx/arch/sim/src" -I "/Users/yamamoto/git/nuttx/nuttx/arch/sim/src/chip" -I "/Users/yamamoto/git/nuttx/nuttx/sched" -D__KERNEL__ -fsanitize=address -mllvm -asan-stack=0  -D__ASSEMBLY__ -I "/Users/yamamoto/git/nuttx/nuttx/arch/sim/src" -I "/Users/yamamoto/git/nuttx/nuttx/arch/sim/src/chip" -I "/Users/yamamoto/git/nuttx/nuttx/sched" -D__KERNEL__ -fsanitize=address -mllvm -asan-stack=0   sim/up_setjmp64.S  -o  up_setjmp64.o
   clang (LLVM option parsing): for the --asan-stack option: may only occur zero or one times!
   clang (LLVM option parsing): for the --asan-stack option: may only occur zero or one times!
   


----------------------------------------------------------------
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] yamt closed issue #1688: EXTRAFLAGS appears in AFLAGS three times

Posted by GitBox <gi...@apache.org>.
yamt closed issue #1688:
URL: https://github.com/apache/incubator-nuttx/issues/1688


   


----------------------------------------------------------------
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] v01d commented on issue #1688: EXTRAFLAGS appears in AFLAGS three times

Posted by GitBox <gi...@apache.org>.
v01d commented on issue #1688:
URL: https://github.com/apache/incubator-nuttx/issues/1688#issuecomment-691733377


   @yamt I think I solved this in https://github.com/apache/incubator-nuttx/pull/1776
   can you verify this removes your case of repeated flags in AFLAGS? The fix should apply to all *FLAGS.


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