acassis commented on issue #5956: URL: https://github.com/apache/incubator-nuttx/issues/5956#issuecomment-1086652439
Doing bisect I discovered that the issue was caused by commit ee931c137fb795630b4c68f040861583d52a3efd Adding -fno-builtin back to CFLAGS fixed the issue: ``` diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs index fb6bad3a97..abaa5bb2bd 100644 --- a/boards/sim/sim/sim/scripts/Make.defs +++ b/boards/sim/sim/sim/scripts/Make.defs @@ -67,8 +67,8 @@ endif # Add -fno-common because macOS "ld -r" doesn't seem to pick objects # for common symbols. -ARCHCFLAGS = -fno-common -ffunction-sections -fdata-sections -ARCHCXXFLAGS = -fno-common -ffunction-sections -fdata-sections -nostdinc++ +ARCHCFLAGS = -fno-common -fno-builtin -ffunction-sections -fdata-sections +ARCHCXXFLAGS = -fno-common -fno-builtin -ffunction-sections -fdata-sections -nostdinc++ ifeq ($(CONFIG_CXX_EXCEPTION),) ARCHCXXFLAGS += -fno-exceptions -fcheck-new ``` @xiaoxiang781216 could you please verify? -- 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