Surya Kiran Gullapalli wrote:
/nfs/skglnx/home/skg/temp/new/gcc-4.0.0 (source/build directory)
The GCC build instructions have pretty much _always_ said to never build in the source directory, it's not supported. That problem is also reported frequently on this list with the same solution given. Did you look at any archives of the list before posting your question?
The simple answer is: don't do that. Create a separate build directory, and build GCC there.