You do need to link your executables statically; m5 can't do any dynamic library loading. Other than that it should run anything that can run on Alpha Linux or Tru64, as long as it doesn't call any critical unsupported system calls (in which case you should get an error message that says clearly that that's what happened). In fact you may well get some warnings about unimplemented system calls (like sigaction) that aren't critical and the program should execute correctly anyway.

If you do run into more problems please provide the exact output that you get so we can better help you.

Steve

Mayank Bomb wrote:
Hi All,

Is there any documentation on how to build Alpha executables for the syscall
Emulation version of the M5 simulator?

We tried to use a alpha-linux-gcc-3.3 based tool-chain and when it executes
under the simulator, it is halting in the start code of the glibc library
before we get to the main in our code.  We couldn't find any description on
what version of glibc and/or set-up configuration to make sure we are
building an executable that can run on the ALPHA_SE simulator.

There are a couple of workloads like Radix already build and we were
wondering if it is possible to cross compile our own code, and if yes then
how?

Any information in this regard would be of great help

Thanks
Mayank

Mayank Bomb
Graduate Student, ECE The University of Texas at Austin
1-512-496-9179

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of a b
Sent: Tuesday, December 06, 2005 5:43 PM
To: [email protected]
Subject: [m5sim-users] halt instruction encountered

Hi All
 I am new to this simulator and trying to simulate
mediabench and tried almost all benchmarks within
mediabench but as soon as simulation starts, it ends
with message,
###
M5 simulation started Tue Dec  6 18:22:31 2005
command line: ./../m5/build/ALPHA_SE/m5.debug -d
./MEDIA/adpcm ./MEDIA/run.py

warn: Entering event queue.  Starting simulation...
Terminating simulation -- halt instruction encountered
Simulation complete at Tue Dec  6 18:22:36 2005
###

my Liveprocees is like this:
class adpcm(LiveProcess):
    cmd='./mediabench/adpcm.alpha/bin/rawdaudio <
./mediabench/adpcm.alpha/data/clinton.adpcm >
./mediabench/adpcm.alpha/results/out.adpcm'

I also tried the same thing with given full path
instead relative path but the result is same. Also
tried with cmd, input, and output but same thing.
Can anybody help me? Why I am not able to get it
done??
Thank you.
-John.



                
__________________________________________ Yahoo! DSL - Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to