> > I thought we now had a gcc option for this. gcc documentation points to -Wstack-usage=XXX. > This was first introduced on s390 in architecture specific gcc code, but should now work > everywhere. CONFIG_FRAME_WARN=... Has been there forever for any architecture. -Andi