I cant reproduce this with Linaro GCC 2014.09. with:
CC = /home/tcwg/kugan/cbuild/builds/destdir/aarch64-unknown-linux-gnu/bin/aarch64-none-linux-gnu-gcc -Wl,--dynamic-linker=/home/tcwg/kugan/cbuild/builds/sysroot-aarch64-none-linux-gnu/lib/ld-linux-aarch64.so.1 -Wl,-rpath=/home/tcwg/kugan/cbuild/builds/sysroot-aarch64-none-linux-gnu/libc/lib/aarch64-linux-gnu:/home/tcwg/kugan/cbuild/builds/sysroot-aarch64-none-linux-gnu/lib
I cant reproduce this with Linaro GCC 2014.09. with:
CC = /home/tcwg/ kugan/cbuild/ builds/ destdir/ aarch64- unknown- linux-gnu/ bin/aarch64- none-linux- gnu-gcc -Wl,--dynamic- linker= /home/tcwg/ kugan/cbuild/ builds/ sysroot- aarch64- none-linux- gnu/lib/ ld-linux- aarch64. so.1 -Wl,-rpath= /home/tcwg/ kugan/cbuild/ builds/ sysroot- aarch64- none-linux- gnu/libc/ lib/aarch64- linux-gnu: /home/tcwg/ kugan/cbuild/ builds/ sysroot- aarch64- none-linux- gnu/lib
COPTIMIZE = -O3 -march= armv8-a+ crypto -ffast-math -ftree-vectorize -fno-use- linker- plugin -flto -fno-common -mcpu=cortex-a57
Please let me know with the exact command line you used in the spec config to reproduce.