Hi Javier,
I have been trying to follow your instructions, but I have encountered some problems: 1. I remember I have tried to install a new OS on simics, but the installation always crashed. This happened for ubuntu, fedora, and gentoo on Simics 3.0. Are you using the same Simics version as mine? Also, what OS are you using? 2. Because of 1, I decided to install gcc 4.6.1 on the old OS, and I got the following error: relocation R_X86_64_PC32 against 'simple_object_set_big_16' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

Did the gcc that you are using come with the OS you have on simics? Or did you install it from source?

Thank you,
Binh
On 07/24/2012 09:01 AM, Picorel Javier wrote:
Dear Binh,

You need to use a new version of OS as well as install a new version of gcc (we 
use 4.6.1).

In order to import a workload to Simics, you can follow this procedure:
a) On a real machine, install the OS of your interest
b) Install the workload on the same machine
c) Boot a Simics machine using the same OS that you used on the real machine
d) Copy all the workload files (e.g., libraries, workload binaries, etc) to the 
Simics machine
e) Run and tune the workload inside the Simics machine

Regards,

Javier
________________________________________
From: Binh Q. Pham [[email protected]]
Sent: 18 July 2012 18:54
To: [email protected]
Subject: Internal compiler errors: Segmentation fault

Hi everyone,
I am trying to set up Cloudsuite on a x86-64 simulated machine running
on Simics. The first benchmark I am working on is Software Testing.
While building the LLVM, I got a weird error saying that:

APInt.cpp: 1960: internal compiler error: Segmentation fault

The compiler version is: gcc 4.1.0
Operating system version: Fedora Core 5, kernel 2.6.15, x86_64. (This is
very old, but this is inside the OS image provided by Simics).

Could anyone suggest me what I should do in this case?

Thank you very much,
Binh

Reply via email to