patacongo opened a new issue #2478: URL: https://github.com/apache/incubator-nuttx/issues/2478
PR #2470 introduced RISC-V generial setjmp/longjmp for RISC-V. Unfortunately the file arch/risc-v/src/common/riscv_setjmp.S was place in the incorrect location. Application code many not call directly into any code position in the kernal address space. Violating this architectural principle does not matter very much in the FLAT build but precludes other build modes such as PROTECTED and KERNEL modes. libs/ is the correct location for code that can be shared between user applications and OS code. Specific, setjmp.S must be moved to libs/libc/machine/risc-v. ---------------------------------------------------------------- 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: us...@infra.apache.org