Hi devs,

As you might know, gem5 is running a dynamically linked hello world as a 
regression for x86.
This works fine when it is run on a x86 host.

However this will prevent regressions to succeed when run on a non-x86 host.
In order to make it work there are several options:

1) Use --redirects for se.py (This is the dynamic linking support I introduced 
some time ago)
to point the interpreter to x86 libraries. This is feasible but will pollute 
the code a little bit and it
is not strongly portable.

2) Remove hello-dynamic from regressions: Nothing to say, I'd rather stay away 
from this option though

3) Add an extra dynamic/static TAG: So that when running regressions on a 
non-x86 host the
--exclude-tags dynamic will be used. This is more portable than 1, but will 
create the case where a
different number of tests will be run depending on the host machine.

If I have to be honest I would go for the third option; what's your opinion 
about it?

Giacomo
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you. IMPORTANT NOTICE: The contents of this email and any 
attachments are confidential and may also be privileged. If you are not the 
intended recipient, please notify the sender immediately and do not disclose 
the contents to any other person, use it for any purpose, or store or copy the 
information in any medium. Thank you.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to