On Tue, Dec 07, 2010 at 05:30:46PM +0100, Michael Büsch wrote: > The "frame larger than 2560" error is thrown for certain files. > What was the reasoning behind the number 2560? Is that just a strange > random number, or does something bad happen, if the frame overruns > that limit?
The number was somewhat arbitrary. I tried to describe my rationale gin the commit that inteoduced it: commit ce8de3d45ed9e5c4299012b1b609c839157ac57c Author: Jeff Epler <jep...@unpythonic.net> Date: Thu Nov 4 01:46:08 2010 +0000 build: tame the stack size warnings gcc 4.4 introduced -Wframe-larger-than=N to produce warnings when the stack frame of a function is larger than a certain size. The linux kernel, which uses 4kB or 8kB stacks, sets this warning threshold at 1024 bytes. We hit this warning in a number of places, but because hal uses a stack size of 16kB, the default warning threshold is too conservative a choice for us. Setting the limit to 2560 bytes silences all the warnings currently in the software, including the largest stack frame of 2256 bytes in genserikins.c:kinematicsInverse(). We have reports from alex_joni that genserkins works in the field, so there's every reason to think that the new warning limit of 2560 bytes is reasonable. Jeff ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers