From mboxrd@z Thu Jan 1 00:00:00 1970 From: naghmeh.karimi at yale.edu (naghmeh.karimi at yale.edu) Date: Thu, 20 Sep 2007 12:02:21 -0400 Subject: I need your help about cross compiler for alpha Message-ID: <20070920120221.mkfa03j2fwgs0g8c@www.mail.yale.edu> Dear All, I need to produce OSF alpha binaries to use them by SimpleScalar. I downloaded crosstool from this website and tried to install gcc ,... as a cross compiler. I have FEDORA RELEASE 7 on my computer and my system is running gcc 4.1.2-12. I selected alpha-dec-osf3.2 and for the version of gcc and glibc I selected gcc-4.0.2-glibc-2.3.6 but the process ended with the following error: make[1]: Leaving directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/intl' make[1]: Entering directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty' make[2]: Entering directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite' /bin/sh /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../mkinstalldirs /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib mkdir -p -- /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib /usr/bin/install -c -m 644 ./libiberty.a /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.an ( cd /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib ; ranlib ./libiberty.an ) mv -f /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.an /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/lib/./libiberty.a if test -n ""; then \ case "" in \ /*) thd=;; \ *) thd=/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/include/;; \ esac; \ /bin/sh /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../mkinstalldirs ${thd}; \ for h in /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/ansidecl.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/demangle.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/dyn-string.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/fibheap.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/floatformat.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/hashtab.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/libiberty.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/o! bjalloc.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/partition.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/safe-ctype.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/sort.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/splay-tree.h /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/binutils-2.16.1/libiberty/../include/ternary.h; do \ /usr/bin/install -c -m 644 $h ${thd}; \ done; \ fi make[2]: Entering directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite' make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty/testsuite' make[1]: Leaving directory `/mnt/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/build-binutils/libiberty' + test x/home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix '!=' x/home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2 + mkdir -p /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin + for tool in ar as ld strip + rm -f /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ar + ln -s /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ar /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ar + for tool in ar as ld strip + rm -f /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/as + ln -s /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-as /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/as + for tool in ar as ld strip + rm -f /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ld + ln -s /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/ld + for tool in ar as ld strip + rm -f /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/strip + ln -s /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-strip /home/naghmeh/D/crosstool-0.43/build/alpha-dec-osf3.2/gcc-4.0.2-glibc-2.3.6/gcc-core-prefix/alpha-dec-osf3.2/bin/strip + cd .. + logresult binutils /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld + test -x /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld + abort Build failed during binutils + echo crosstool: Build failed during binutils crosstool: Build failed during binutils + exec false I checked and saw that /home/naghmeh/D/opt/crosstool/gcc-4.0.2-glibc-2.3.6/alpha-dec-osf3.2/bin/alpha-dec-osf3.2-ld actually doesn't exist and I just these files exist in that directory. alpha-dec-osf3.2-addr2line alpha-dec-osf3.2-nm alpha-dec-osf3.2-readelf alpha-dec-osf3.2-ar alpha-dec-osf3.2-objcopy alpha-dec-osf3.2-size alpha-dec-osf3.2-c++filt alpha-dec-osf3.2-objdump alpha-dec-osf3.2-strings alpha-dec-osf3.2-gprof alpha-dec-osf3.2-ranlib alpha-dec-osf3.2-strip I also checked the space on my computer. and I have 9 GB free. Would you please help me with this problem and let me know if I should select another gcc-glibc version or if there is any patch to remove this error? Thanks, Naghmeh