This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Dave and Rob, First thanks a lot for your time and your emails, im checking them step by step, let me introduce you what im doing. I've read before (dont recall where, maybe at gnu faqs) that sometimes .svn/cvs tags in directories could rise problems building, i use this to clean it out all of them before doing something, i dont know if it applies to but... $ find ./gcc-2.95.3 -name .svn -o -name CVS -o -name .cvsignore | xargs rm -Rf Dave, thx you very much for the offer (the 2.95.3 sources with testsuite), if you have the time all the help is wellcome, tell me the best way to get the sources from you. I'm going to check it for matches with the gcc list, only i did it by googling, my fault, here you have what im getting with the following environment and the steps i did: - Base system: CenOs 4.3 - [root@sparkbox gcc]# gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) - $ rpm -q dejagnu --> dejagnu-1.4.4-2 (default install with no tweaks) - Native GCC 2.95.3 release (ftp://ftp.gnu.org/gnu/gcc/gcc-2.95.3/gcc-everything-2.95.3.tar.gz) -> Configured as: PREFIX=/opt/gcc-2.95.3 ../gcc-2.95.3/configure \ --prefix=$PREFIX \ --disable-nls \ --enable-shared \ --enable-languages=c,c++ \ --host=i386-redhat-linux \ --verbose > ../gcc-2.95.3.configure.log 2>&1 -> Builded as (with native 3.4.5 one): make bootstrap > ../gcc-2.95.3.make-bootstrap.log 2>&1 make install > ../gcc-2.95.3.make-install.log 2>&1 -> Preparing Linker cache as: echo "$PREFIX/lib" > /etc/ld.so.conf.d/gcc-2.95.3-i386.conf /sbin/ldconfig -v > ldconfig.log 2>&1 -> Using with: export CC=$PREFIX/bin/gcc export CPP=$PREFIX/bin/cpp export CXX=$PREFIX/bin/g++ export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH export CFLAGS="-I$PREFIX/include -L$PREFIX/lib" export CXXFLAGS="-I$PREFIX/include -L$PREFIX/lib" export LDFLAGS=-L$PREFIX/lib With this native 2.95.3 running i did the patching in the same sources to get the Metaware ARC stuff working on target cross-c, jtag stuff for the target gdb and finally incorpored the testsuites from 2.95.2-1 (release tag - 1999 10 24). The corresponding toolchain based in above mentioned gcc 2.95.3 (ARC patched) uses binutils-2.9.1, gdb-4.18 (ARC and Jtag patched) and newlib-1.12.0 (with some tweaks) and by now is working fine i think. Next step is to test the new patched 2.95.3 with ARC stuff with dejagnu. I've to admit it's my first experience with dejagnu. First i did in native mode to preset things and start teaching me about the framework (althougth with the ARC stuff, the gcc 2.95.3 is working as the release one in native mode, correct me if im wrong, i've just left the ARC patching on it to make sure things are going ok prior to run tests for cross-c later). Then i rebuild the new patched 2.95.3 to get a native one with the old native bootstraped release of 2.95.3 used before (not aditional ARC stuff, just the gnu src), and went to object/build folder ./test-gcc-2.95.3-pl7-r0.2-obj/gcc and did the following for the selected tests: # LANG=C; make check-gcc RUNTESTFLAGS="<script>.exp" Where <script> in {compile, code_quality, execute, ieee, memcheck, noncompile, special, unsorted, dg, failure, acker1, dg-test, dhry, gcov, matrix1, mg, msgs, sieve, sort2} All tests passed except where noted below: a) LANG=C; make check-gcc RUNTESTFLAGS="execute.exp" <...> === gcc tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/gcc.c-torture/execute/execute.exp ... FAIL: gcc.c-torture/execute/loop-2b.c execution, -O2 FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer -funroll-loops FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -g === gcc Summary === # of expected passes 4323 # of unexpected failures 5 /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/test-gcc-2.95.3-pl7-r0.2-obj/gcc/xgcc version 2.95.3 20010315 (release) (DS2 pl7-r0.0) make: [check-gcc] Error 1 (ignored) b) LANG=C; make check-gcc RUNTESTFLAGS="dg.exp" <...> === gcc tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/gcc.dg/dg.exp ... FAIL: gcc.dg/990119-1.c execution test FAIL: gcc.dg/cast-qual-1.c discarding `const' warning (test for bogus messages, line 11) FAIL: gcc.dg/cast-qual-1.c discarding `const' warning (test for warnings, line 17) FAIL: gcc.dg/compare1.c (test for excess errors) FAIL: gcc.dg/return-type-1.c warning for falling off end of non-void function (test for warnings, line 9) FAIL: gcc.dg/return-type-1.c (test for excess errors) === gcc Summary === # of expected passes 81 # of unexpected failures 6 # of expected failures 12 # of unsupported tests 12 /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/test-gcc-2.95.3-pl7-r0.2-obj/gcc/xgcc version 2.95.3 20010315 (release) (DS2 pl7-r0.0) make: [check-gcc] Error 1 (ignored) c) LANG=C; make check-gcc RUNTESTFLAGS="mg.exp" <...> === gcc tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/gcc-2.95.3-ds2-pl7-r0.2/gcc/testsuite/gcc.misc-tests/mg.exp ... FAIL: gcc.misc-tests/mg.c === gcc Summary === # of unexpected failures 1 /home/sm0ketst/shared/work/recent/4money/DS2/DS2-ARC-GNU-Toolchain/working/tools/gnu/gnu-gcc-2.95.3/DS2/test-gcc-2.95.3-pl7-r0.2-obj/gcc/xgcc version 2.95.3 20010315 (release) (DS2 pl7-r0.0) make: [check-gcc] Error 1 (ignored) -------------- TIA Cheers Jose Dave Korn wrote: > On 25 April 2006 07:54, J.J.Garcia wrote: > > Oh, BTW: > > >>I'm trying to remote test the following toolchain: >> >>-> gcc-2.95.3 (where i incorpored testsuite from gcc-2.95-2.1 iirc because >>no testsuite files from tag release at gnu svn found), > > > That could well be a bug in the recent cvs->svn conversion, or it may have been a limitation; it might be worth checking with the gcc list. I've almost certainly got a copy of the old 2.95.3 testsuite lying around somewhere, would you like a copy? > > > cheers, > DaveK -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |