On 2 February 2011 13:16, David Gilbert <david.gilb...@linaro.org> wrote > 480MB does appear excessive; to be a little fair to gcc that file does > look like it's trying to > build itself as a vast inline'd set of switch statements so it will be > stressing the compiler. > > Is this 480MB much more than on x86 or on older versions of the compiler?
A quick binary-chop using ulimit on x86-32 but the same gcc "gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5" shows that on x86-32 you need about 284000K to compile this translation unit. I haven't established exactly how much memory we need on ARM; it's more than 480MB but less than 550000K. (It takes way too long to compile the file to do a sensible binary chop.) The resulting .o file is 1.5M on x86-32 and 1.6M on ARM (presumably partly due to debug info as we are compiling with -g -O2). -- PMM _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain