UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 30703

10.1 EDK - Xilkernel does not start when -mxl-stack-check compiler option is used

Description

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?

Solution

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.

AR# 30703
Date Created 05/27/2008
Last Updated 05/22/2014
Status Archive
Type General Article