When I use the -mxl-stack-check compiler option in my Xilkernel design, a stack overflow is detected when I call xilkernel_main(). This happens regardless of how large I make my stack. Why?
The GCC compiler option for stack overflow detection, -mxl-stack-check, is not compatible with the way Xilkernel threaded applications work. Therefore, this option cannot be used in a Xilkernel design.