From mboxrd@z Thu Jan 1 00:00:00 1970 From: Byeong-ryeol Kim To: egcs@cygnus.com Subject: Re: the result of testsuite on i586-pc-linux-gnu(RH 5.0) Date: Mon, 08 Dec 1997 04:31:00 -0000 Message-id: References: <28288.881428654@hurl.cygnus.com> X-SW-Source: 1997-12/msg00455.html On Sat, 6 Dec 1997, Jeffrey A Law wrote: .... > I believe your testing failures are covered by this entry in the faq: > http://www.cygnus.com/egcs/faq.html#rpath > jeff ... I managed to get better result than a few days before. The problem of egcs with glibc2 which appears while configuring using '--enable-shared' seems to lie in 2 points. 1. On systems with glibc2, the configure script produces Makefile which dosen't have '-lpthread' or '-llibstdc++' linked to pthread, whether we explicitly use '-enable-thread' or not. But it implicitly assumes these system supports threads. This seems to be contrdictory. So, those users like me who didn't know this fact fail in compiling(while compiling gperf) or 'make check after compile'. I become aware of a clue from an article on this group, which was to modify libstdc++/config/linux.ml as follows: SHDEPS = -lm ==> SHDEPS = -lpthread -lm With this method, there are some warnings in configuring stdc++, but that doesn't matter at all. 2. This is rpath or LD_LIBRARY_PATH problem which was said in the FAQ of egcs-1.0 or in some articles on this group. Below are the result of 'make check'. --------------------------------------------------------------------- redhat 5.0(pentium MMX 166, 64M RAM), kernel 2.1.71, glibc-2.0.5c-10, gcc-2.7.2.3-8, binutils-2.8.1.0.15, libg++-2.7.2.8-6 ( libg++-2.8.0.b6.3 was used in compiling egcs) CFLAGS="-O2 -pipe" LDFLAGS=-s sh configure --prefix=/local/gnu \ --enable-shared --enable-threads=posix --enable-haifa make bootstrap-lean export TOPDIR=/usr/src/egcs-1.0 export LD_LIBRARY_PATH=$TOPDIR:$TOPDIR/libraries/libstdc++: \ $TOPDIR/libraries/libstdc++/src:$TOPDIR/libraries/libg++: \ $TOPDIR/libraries/libg++/src:$LD_LIBRARY_PATH make check -------------------------------------------------------------------- Test Run By root on Mon Dec 8 17:07:35 1997 Native configuration is i586-pc-linux-gnu === libio Summary === # of expected passes 40 === libstdc++ Summary === # of expected passes 30 === gcc tests === Running target unix ... PASS: cpp-mi.c: redundant include check UNSUPPORTED: gcc.dg/dll-1.c UNSUPPORTED: gcc.dg/dll-2.c UNSUPPORTED: gcc.dg/dll-3.c UNSUPPORTED: gcc.dg/dll-4.c UNSUPPORTED: gcc.dg/splet-1.c UNSUPPORTED: gcc.dg/struct-ret-1.c Running /usr/src/egcs-1.0/gcc/testsuite/gcc.failure/failure.exp ... XFAIL: gcc.failure/940409-1.c, -O0 XFAIL: gcc.failure/940409-1.c, -O1 XFAIL: gcc.failure/940409-1.c, -O2 XFAIL: gcc.failure/940409-1.c, -O2 -fomit-frame-pointer -finline-functions ... === gcc Summary === # of expected passes 4883 # of expected failures 5 # of unsupported tests 7 === g++ tests === Running target unix Running /usr/src/egcs-1.0/gcc/testsuite/g++.old-deja/old-deja.exp ... XFAIL: g++.benjamin/warn01.C (test for excess errors) XFAIL: g++.brendan/bit-fields2.C .* , (test for errors, line 11) XFAIL: g++.bugs/900215_02.C , (test for errors, line 44) XFAIL: g++.bugs/900321_01.C , (test for errors, line 22) XFAIL: g++.bugs/900321_01.C , (test for errors, line 23) XFAIL: g++.bugs/900322_01.C , (test for errors, line 25) XFAIL: g++.bugs/900322_01.C , (test for errors, line 29) XFAIL: g++.bugs/900322_01.C , (test for errors, line 35) XFAIL: g++.bugs/900322_01.C , (test for errors, line 39) XFAIL: g++.bugs/900322_01.C , (test for errors, line 43) XFAIL: g++.bugs/900322_01.C , (test for errors, line 45) XFAIL: g++.bugs/900322_01.C , (test for errors, line 49) XFAIL: g++.bugs/900402_01.C (test for errors, line 12) XFAIL: g++.bugs/900404_04.C , (test for errors, line 18) XFAIL: g++.bugs/900428_01.C , (test for errors, line 26) XFAIL: g++.bugs/900428_01.C , (test for errors, line 27) XFAIL: g++.bugs/900428_01.C , (test for errors, line 28) XFAIL: g++.bugs/900428_01.C , (test for errors, line 30) XFAIL: g++.bugs/900428_01.C , (test for errors, line 31) XFAIL: g++.bugs/900428_01.C , (test for errors, line 32) XFAIL: g++.bugs/900428_01.C , (test for errors, line 34) XFAIL: g++.bugs/900428_01.C , (test for errors, line 35) XFAIL: g++.bugs/900428_01.C , (test for errors, line 36) XFAIL: g++.bugs/900428_01.C , (test for errors, line 38) XFAIL: g++.bugs/900428_01.C , (test for errors, line 39) XFAIL: g++.bugs/900428_01.C , (test for errors, line 40) XFAIL: g++.bugs/900428_01.C , (test for errors, line 42) XFAIL: g++.bugs/900428_01.C , (test for errors, line 43) XFAIL: g++.bugs/900428_01.C , (test for errors, line 44) XFAIL: g++.bugs/900428_01.C , (test for errors, line 46) XFAIL: g++.bugs/900428_01.C , (test for errors, line 47) XFAIL: g++.bugs/900428_01.C , (test for errors, line 48) ... XFAIL: g++.bugs/900519_05.C (test for bogus messages, line 10) XFAIL: g++.bugs/900519_05.C (test for bogus messages, line 16) XFAIL: g++.bugs/900519_05.C Execution test XFAIL: g++.jason/access7.C - wrongly ambiguous static member call, ( test for bogus messages, line 12) XFAIL: g++.jason/ambig3.C - late parsing (test for bogus messages, line 12) XFAIL: g++.jason/ambig3.C - late parsing (test for bogus messages, line 14) XFAIL: g++.jason/cond.C , (test for errors, line 9) XFAIL: g++.jason/cond.C , (test for errors, line 11) XFAIL: g++.jason/cond.C , (test for errors, line 16) XFAIL: g++.jason/destruct3.C - (test for bogus messages, line 35) XFAIL: g++.jason/opeq5.C - Execution test XFAIL: g++.jason/ref4.C - references to functions (test for bogus messages, line 4) XFAIL: g++.jason/rfg16.C (test for bogus messages, line 4) XFAIL: g++.jason/rfg16.C (test for bogus messages, line 5) XFAIL: g++.jason/template18.C , (test for errors, line 9) XFAIL: g++.law/access5.C .* , (test for errors, line 22) XFAIL: g++.law/arg11.C (test for excess errors) XFAIL: g++.law/arm14.C .* , (test for errors, line 21) XFAIL: g++.law/arm2.C (test for excess errors) XFAIL: g++.law/array2.C (test for excess errors) XFAIL: g++.law/code-gen3.C - Execution test XFAIL: g++.law/enum5.C (test for excess errors) XFAIL: g++.law/friend4.C (test for excess errors) XFAIL: g++.law/inline2.C (test for excess errors) XFAIL: g++.law/missed-error1.C , (test for errors, line 10) XFAIL: g++.law/operators29.C (test for excess errors) XFAIL: g++.law/union1.C (test for excess errors) XFAIL: g++.law/visibility22.C (test for excess errors) XFAIL: g++.law/visibility23.C .* , (test for errors, line 26) XFAIL: g++.law/visibility23.C (test for excess errors) XFAIL: g++.law/vtable1.C (test for excess errors) XFAIL: g++.mike/misc5.C uses same name 9.3 , (test for errors, line 10) XFAIL: g++.mike/ns10.C (test for excess errors) XFAIL: g++.mike/ns10.C Execution test XFAIL: g++.mike/ns11.C (test for excess errors) XFAIL: g++.mike/ns11.C Execution test XFAIL: g++.mike/ns13.C (test for excess errors) XFAIL: g++.mike/ns14.C (test for excess errors) XFAIL: g++.mike/ns3.C (test for errors, line 1) XFAIL: g++.mike/ns5.C (test for errors, line 5) XFAIL: g++.mike/ns7.C (test for errors, line 8) XFAIL: g++.mike/ns9.C (test for excess errors) XFAIL: g++.mike/ns9.C Execution test XFAIL: g++.mike/p1989.C - (test for bogus messages, line 339) XFAIL: g++.mike/p6058.C (test for errors, line 7) FAIL: g++.mike/p6610a.C Execution test XFAIL: g++.niklas/t135.C (test for excess errors) UNTESTED: g++.other/dll-1.C: Test skipped: Skip if not target: arm-*pe UNTESTED: g++.other/dll-2.C: Test skipped: Skip if not target: arm-*pe UNTESTED: g++.other/dll-3.C: Test skipped: Skip if not target: arm-*pe UNTESTED: g++.other/dll-4.C: Test skipped: Skip if not target: arm-*pe UNTESTED: g++.other/dll-5.C: Test skipped: Skip if not target: arm-*pe UNTESTED: g++.other/dll-6.C: Test skipped: Skip if not target: arm-*pe .... === g++ Summary === # of expected passes 3399 # of unexpected failures 1 # of unexpected successes 3 # of expected failures 80 # of untested testcases 6 === g77 tests === Running target unix ... FAIL: g77.f-torture/execute/dnrm2.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops ... FAIL: g77.f-torture/execute/dnrm2.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops ... === g77 Summary === # of expected passes 130 # of unexpected failures 2 ... "Where there is a will, there is a way." jinbo21@soback.kornet.nm.kr kbeyl@kids.kotel.co.kr For the future of you and me! hitel: jinbo21