W-M-R opened a new pull request, #16711:
URL: https://github.com/apache/nuttx/pull/16711

   ## Summary
   
   The above combination of compilation causes the compiler to crash:
    #1 0x0000000001fbe154 llvm::sys::CleanupOnSignal(unsigned long) 
(clang18/bin/clang-19+0x1fbe154)
    #2 0x0000000001f21203 llvm::CrashRecoveryContext::HandleExit(int) 
(clang18/bin/clang-19+0x1f21203)
    #3 0x0000000001fb7b7e llvm::sys::Process::Exit(int, bool) 
(clang18/bin/clang-19+0x1fb7b7e)
    #4 0x0000000000b25f0d (clang18/bin/clang-19+0xb25f0d)
   
................................................................................
   
................................................................................
   This problem occurs in clang18 and above, and there are compilation 
instructions that are incompatible with GCC.
   By following the recommended v8.1m corresponding fpu modification, no crash 
will occur
   ➜  NX git:(master) ✗ clang --target=arm-none-eabi -mfpu=help
   clang: note: available multilibs are:
   --target=thumbv8m.main-unknown-none-eabi -mfpu=none
   --target=thumbv8m.main-unknown-none-eabi -mfpu=none -fno-exceptions -fno-rtti
   --target=thumbv8m.main-unknown-none-eabihf -mfpu=fpv5-sp-d16
   --target=thumbv8m.main-unknown-none-eabihf -mfpu=fpv5-sp-d16 -fno-exceptions 
-fno-rtti
   --target=thumbv8.1m.main-unknown-none-eabi -mfpu=none
   --target=thumbv8.1m.main-unknown-none-eabi -mfpu=none -fno-exceptions 
-fno-rtti
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+fp16 
-mfpu=fp-armv8-fullfp16-sp-d16
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+fp16 
-mfpu=fp-armv8-fullfp16-sp-d16 -fno-exceptions -fno-rtti
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+fp16 
-mfpu=fp-armv8-fullfp16-d16
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+fp16 
-mfpu=fp-armv8-fullfp16-d16 -fno-exceptions -fno-rtti
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+mve 
-mfpu=none
   --target=thumbv8.1m.main-unknown-none-eabihf -march=thumbv8.1m.main+mve 
-mfpu=none -fno-exceptions -fno-rtti
   
   ## Impact
   
   No impact
   
   ## Testing
   
   ci
   
   
   


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

Reply via email to