crosstool in MV5

263 views
Skip to first unread message

daniel.tian

unread,
Oct 24, 2011, 10:10:24 PM10/24/11
to MV5sim
hi, guys:
Right now, I can run my own code without any SIMD. I checked the
setup folder in the MV5/hgfractal/setup/
crosscompiler_setup_for_building_benchmarks/mv5_setup_crosstool.py.
However, this script can not run successfully:

#python mv5_setup_crosstool.py
+ wget --tries=5 --passive-ftp -P ./bigdisk/jm6dg/download -c
ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-6.5.tar.bz2
--2011-10-25 05:08:02-- ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-6.5.tar.bz2
=> `./bigdisk/jm6dg/download/gdb-6.5.tar.bz2'
Resolving sources.redhat.com... 209.132.180.131
Connecting to sources.redhat.com|209.132.180.131|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/gdb/snapshots/current ... done.
==> SIZE gdb-6.5.tar.bz2 ... done.
==> PASV ... done. ==> RETR gdb-6.5.tar.bz2 ...
No such file `gdb-6.5.tar.bz2'.

+ test -f ./bigdisk/jm6dg/download/gdb-6.5.tar.bz2
+ abort file gdb-6.5.tar.bz2 not found
+ echo file gdb-6.5.tar.bz2 not found
file gdb-6.5.tar.bz2 not found
+ exec false
Continue?

cp mv5_glibc/m5malloc/* crosstool-0.43/build/alpha-unknown-linux-gnu/
gcc-4.1.0-glibc-2.3.6/glibc-2.3.6/malloc/
cp: target `crosstool-0.43/build/alpha-unknown-linux-gnu/gcc-4.1.0-
glibc-2.3.6/glibc-2.3.6/malloc/' is not a directory
Continue?

unset LD_LIBRARY_PATH
Traceback (most recent call last):
File "/home/xntian/MV5/hgfractal/setup/
crosscompiler_setup_for_building_benchmarks/mv5_setup_crosstool.py",
line 136, in ?
install_crosstool(DOWNLOAD_DIR, INSTALL_DIR, CROSSTOOL_DIR)
File "/home/xntian/MV5/hgfractal/setup/
crosscompiler_setup_for_building_benchmarks/mv5_setup_crosstool.py",
line 87, in install_crosstool
fp = open('build/alpha-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/
glibc-2.3.6/configure', 'r')
IOError: [Errno 2] No such file or directory: 'build/alpha-unknown-
linux-gnu/gcc-4.1.0-glibc-2.3.6/glibc-2.3.6/configure'


Is there any instruction step I can follow to build the crosstool or
download the prebuilt cross tool?
It seems I need to download the gcc 4.1.0 and glibc-2.3.6 by myself.

I will keep look at the mv5_setup_crosstool.py script, and see
whether I can figure it out by myself.
If your guys can give me some advice, that would be a great help.
Thanks
Xiaonan Tian

Jiayuan Meng

unread,
Oct 27, 2011, 11:33:11 PM10/27/11
to mv5...@googlegroups.com
Hi Xiaonan,

This is probably because some download links in the script needs to be updated. FYI,  the text describing what the script does is at: http://www.cs.virginia.edu/~jm6dg/fractal/smp.htm. Please check if any download links failed in the script.  Also, I see that you are still using my path (bigdisk/jm6dg) in the script, you need to change it to a path on your system.

If the script doesn't work, try to follow these steps on that webpage.

Thanks,

Jiayuan
Reply all
Reply to author
Forward
0 new messages