when I was helping my partners installing simplescalar, I ran into problems like "Buffered overflow detected". It took me significant amount of time to solve the problem.

The problem is popular on Ubuntu Linux with later a version of 8.04 because the GCC utilizes stack protection for purposes of program security. Most tutorials suggest us to install gcc-3.3 but it cannot be found in Ubuntu package repository. Neither is it able to be installed via downloading from other sources since it requires older version library dependencies. Most tutorials online and GCC manuals suggested using options "-fno-stack-protector" or "-U_FORTIFY_SOURCE" to disable the stack overflow check but neither works. Because of this, a lot of people turned to Ubuntu 8.04 or earlier version to have Simplescalar installed.

I found a new tutorial which is able to resolve the problem. The pdf file is attached with this email. Other than that I wrote a bash script file, buildSS to help installing Simplescalar. I would like to share this file with the whole class. It is tested successfully on my machine, Ubuntu 10.04, x86_64, GCC 4.4 and Bash 4.1.5.

1.36445-Simplescalar-installation-instructions.pdf
buildSS