W-M-R commented on code in PR #12088:
URL: https://github.com/apache/nuttx/pull/12088#discussion_r1554857426


##########
arch/sim/Kconfig:
##########
@@ -15,18 +15,22 @@ config HOST_X86_64
        select ARCH_HAVE_STACKCHECK
        select LIBC_ARCH_ELF_64BIT if LIBC_ARCH_ELF && !SIM_M32
        select ARCH_HAVE_MATH_H
+       select ARCH_TOOLCHAIN_GNU

Review Comment:
   kasan/Makefile:
   ```
   ifeq ($(CONFIG_ARCH_TOOLCHAIN_GNU),y)
     CFLAGS += -fno-sanitize=kernel-address
     ifeq ($(CONFIG_LTO_NONE),n)
       CFLAGS += -fno-lto
     endif
   endif
   ```
   If SIM does not select and mm does not turn off instrumentation, it will 
cause recursion.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to