Hi,
Michael Hope michael.hope@linaro.org:
With our configuration, crosstool-NG sets CFLAGS to -pipe -fno-stack-protector -U_FORTIFY. This overrides the default -O2 -g for later stages and gives us an unoptimised GCC.
The test build has just come in. Before:
michaelh@crucis:$ time arm-linux-gnueabihf-gcc ... -O3 -mfpu=neon -c -o pcre_compile.lo pcre_compile.c
real 0m5.752s user 0m5.692s sys 0m0.040s
After:
real 0m2.689s user 0m2.640s sys 0m0.036s
Frank, I've put a test build up at:
http://people.linaro.org/~michaelh/incoming/gcc-linaro-arm-linux-gnueabihf-4...
Could you give it a try? I'll commit the fix now and it'll be part of the end of month release.
I just tried it and can confirm the fix. Compile time for this version is now equal to the Ubuntu version (down from 12 to 7 minutes). Thank you so much for solving this, I'd never have figured this out on my own!
Frank