linking with libarm_cortexM3l_math.a ?

When attempting to compile I receive the following error:

arm-none-eabi-g++: C:\arduino-1.5.2\hardware\arduino\sam\variants\arduino_due_x/libsam_sam3x8e_gcc_rel.aC:\arduino-1.5.2\hardware\arduino\sam\variants\arduino_due_x/libarm_cortexM3l_math.aC:\Users\PETRUS~1\AppData\Local\Temp\build6749693034922762752.tmp/core.a: Invalid argument

Did everything as explained but cant find the problem, please help