PROBLEM: any sketch's compilation freezes for DUE

I updated Arduino IDE to latest version, 1.6.4
Installed from Board manager the package for SAM boards (which includes arduino DUE)
Then I try to compile the bareMinimum example for Arduino DUE(programming port) or for Arduinio DUE (native USB port).
compilation process just freezes (see attached image).
Note that for every other arduino board I chose, compilation is done succesfully.

I tried to reinstall SAM package and then Arduino IDE, but the problem remains.
Also tries the standalone version of Arduino IDE but still no change in behaviour…

i am using windows 7 64 bit

I have the same problem. Can someone help?

Version 1.6.4 also locked up when I compiled for a Mega2560. i was able to fix it by setting the compiler warnings to none.

I had the same problem when trying to compile a sketch for the Due that contained
#include <SPI.h>
The problem was, after I upgraded to the new Arduino IDE 1.6.4, I still had an old SPI library hanging around
in my Document–sketches–libraries folder. After I deleted the extra library (as this is included by default), it compiled with no problem. Hope this helps someone else.

I had a similar problem, but in my case I had underscores in my program name. I.e. By changing my_program.ino to myProgram.ino, the problem went away. If this applies to your situation, try it out.