Error compiling for board Arduino/Genuino Uno.

Arduino: 1.6.12 (Windows XP), Board: "Arduino/Genuino Uno"

collect2.exe: error: ld returned 5 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

how to solve this error .......... my any program is not uploading in my arduino uno

The problem is that Windows XP causes some problems with the version of ld.exe included with recent versions of the Arduino IDE. There are a few different workarounds described here: "ld returned 5 exit status" on Win XP · Issue #2989 · arduino/Arduino · GitHub.

The one I've seen most frequently is to replace ld.exe included with the Arduino IDE with the ld.exe included with Arduino IDE 1.0.6 in the same location. Unfortunately I'm not sure whether that fix works with the last couple versions of Arduino IDE/Arduino AVR Boards(probably 1.6.10/1.6.12 and newer) but it's worth a try and you could just use an older version if that won't work.