I have encountered this strange error message while trying to compile the linux kernel for the ARM host of the ZYNQ under ubuntu 14.04 64Bits.

awk works always fine and as soon as you source the xilinx setting64.sh it stops working, consequently you will no more be able to compile the kernel since it needs awk working.

Solution, for the console session in which you are compiling the kernel, do not source the setting64.sh file just add the address path for the folder containing arm toolchain to your path environment variable.

e.g.

export PATH=$PATH:/opt/Xilinx/SDK/2014.4/gnu/arm/lin/bin