This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Why Remove libstdc++-v3-dg.exp's Irix code?


Your 07Aug libstdc++-v3 changes included removing this code from 3.1's
libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp:

- # On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but
- # called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH
- # (for the 64-bit ABI).  The right way to do this would be to modify
- # unix.exp -- but that's not an option since it's part of DejaGNU
- # proper, so we do it here, by trickery.  We really only need to do 
- # this on IRIX, but it shouldn't hurt to do it anywhere else.
- proc libstdc++-v3_set_ld_library_path { name element op } {
-   setenv LD_LIBRARYN32_PATH [getenv LD_LIBRARY_PATH]
-   setenv LD_LIBRARY64_PATH [getenv LD_LIBRARY_PATH]
- }
- 
- trace variable env(LD_LIBRARY_PATH) w libstdc++-v3_set_ld_library_path

Without it, all libstdc++-v3 execution tests fail for mips-sgi-irix6.5
gcc 3.1.  May we have it returned to the mainline branch?

I have attached:
1) the patch
2) a summary of the libstdc++-v3 regression tests results without
   using the patch (along with other results)

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
Index: testsuite/lib/libstdc++-v3-dg.exp
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp,v
retrieving revision 1.7
retrieving revision 1.8
diff -c -p -r1.7 -r1.8
*** libstdc++-v3-dg.exp	2001/08/07 03:38:33	1.7
--- libstdc++-v3-dg.exp	2001/08/08 02:49:01	1.8
*************** proc libstdc++-v3_target_compile { sourc
*** 156,170 ****
      return [target_compile $source $dest $type $options]
  }
  
- # On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but
- # called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH
- # (for the 64-bit ABI).  The right way to do this would be to modify
- # unix.exp -- but that's not an option since it's part of DejaGNU
- # proper, so we do it here, by trickery.  We really only need to do 
- # this on IRIX, but it shouldn't hurt to do it anywhere else.
- proc libstdc++-v3_set_ld_library_path { name element op } {
-   setenv LD_LIBRARYN32_PATH [getenv LD_LIBRARY_PATH]
-   setenv LD_LIBRARY64_PATH [getenv LD_LIBRARY_PATH]
- }
- 
- trace variable env(LD_LIBRARY_PATH) w libstdc++-v3_set_ld_library_path
--- 156,158 ----
>From joldham@acl.lanl.gov  Tue Aug 14 08:01:44 2001
Return-Path: <joldham@acl.lanl.gov>
Received: from localhost (IDENT:oldham@localhost.localdomain [127.0.0.1])
	by oz.codesourcery.com (8.9.3/8.9.3) with ESMTP id IAA01346
	for <oldham@localhost>; Tue, 14 Aug 2001 08:01:44 -0700
From: joldham@acl.lanl.gov
Delivered-To: oldham@codesourcery.com
Received: from pop.codesourcery.com [206.168.99.1]
	by localhost with POP3 (fetchmail-5.5.0)
	for oldham@localhost (single-drop); Tue, 14 Aug 2001 08:01:44 -0700 (PDT)
Received: (qmail 4681 invoked from network); 14 Aug 2001 02:04:20 -0000
Received: from acl.lanl.gov (128.165.147.1)
  by merlin.codesourcery.com with SMTP; 14 Aug 2001 02:04:20 -0000
Received: from n02.acl.lanl.gov (qmailr@n02.acl.lanl.gov [128.165.147.205]) by acl.lanl.gov (8.11.3/8.8.5) with SMTP id f7E1WrO2735609 for <oldham@codesourcery.com>; Mon, 13 Aug 2001 19:34:15 -0600 (MDT)
Received: (qmail 9826770 invoked by uid 12149); 13 Aug 2001 19:32:53 -0600
Message-ID: <20010814013253.9857048.qmail@n02.acl.lanl.gov>
Date: 13 Aug 2001 19:32:53 -0600
To: oldham@codesourcery.com
Subject: Results for 3.1 20010813 (experimental) testsuite on
    mips-sgi-irix6.5
Status: RO
Content-Length: 10227
Lines: 241

LAST_UPDATED: 
Native configuration is mips-sgi-irix6.5

		=== g++ tests ===


Running target unix
FAIL: g++.dg/ext/instantiate1.C (test for excess errors)
FAIL: g++.dg/template/friend.C (test for excess errors)
FAIL: g++.dg/template/init-list.C (test for excess errors)
XPASS: g++.jason/thunk3.C (test for excess errors)
XPASS: g++.jason/thunk3.C  Execution test
FAIL: g++.other/crash18.C (test for excess errors)
FAIL: g++.other/enum5.C (test for excess errors)
XPASS: g++.robertl/eb17.C  Execution test

		=== g++ Summary ===

# of expected passes		6574
# of unexpected failures	5
# of unexpected successes	3
# of expected failures		101
# of untested testcases		21
/am/mother/vol/vol2/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/testsuite/../g++ version 3.1 20010813 (experimental)

		=== g77 tests ===


Running target unix
FAIL: g77.f-torture/compile/20000511-2.f,  -O3 -g  
FAIL: g77.f-torture/compile/20000629-1.f,  -O3 -g  
FAIL: g77.f-torture/execute/19981119-0.f compilation,  -O3 -g 
FAIL: g77.f-torture/execute/20010430.f execution,  -O2 
FAIL: g77.f-torture/execute/20010430.f execution,  -O3 -fomit-frame-pointer 
FAIL: g77.f-torture/execute/20010430.f execution,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: g77.f-torture/execute/20010430.f execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: g77.f-torture/execute/20010430.f execution,  -O3 -g 

		=== g77 Summary ===

# of expected passes		1270
# of unexpected failures	8
# of untested testcases		1
# of unsupported tests		8
		=== gcc tests ===


Running target unix
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -g  
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O0 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O2 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/20010122-1.c execution,  -Os 
FAIL: gcc.c-torture/execute/20010518-2.c compilation,  -O2 
FAIL: gcc.c-torture/execute/20010518-2.c compilation,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/20010518-2.c compilation,  -O3 -g 
FAIL: gcc.c-torture/execute/20010518-2.c compilation,  -Os 
FAIL: gcov-3.c:4:is 2:should be 1 (PRMS 8294)

		=== gcc Summary ===

# of expected passes		15586
# of unexpected failures	14
# of expected failures		87
# of unresolved testcases	4
# of unsupported tests		61
/am/mother/vol/vol2/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/xgcc version 3.1 20010813 (experimental)

		=== objc tests ===


Running target unix
FAIL: objc/execute/formal_protocol-6.m execution,  -O 

		=== objc Summary ===

# of expected passes		202
# of unexpected failures	1
/am/mother/vol/vol2/frameworks/pooma/joldham/dev0/gcc/objdir/gcc/xgcc version 3.1 20010813 (experimental)

		=== libstdc++-v3 tests ===


Running target unix
FAIL: 17_intro/header_cassert.cc execution test
FAIL: 17_intro/header_cerrno.cc execution test
FAIL: 17_intro/header_csetjmp.cc execution test
FAIL: 17_intro/header_cstdarg.cc execution test
FAIL: 17_intro/header_cstddef.cc execution test
FAIL: 17_intro/header_cstdio.cc execution test
FAIL: 17_intro/header_cstdlib.cc execution test
FAIL: 17_intro/header_cstring.cc execution test
FAIL: 17_intro/header_ctime.cc execution test
FAIL: 17_intro/header_cwchar.cc execution test
FAIL: 17_intro/header_cwctype.cc execution test
FAIL: 17_intro/header_fstream.cc execution test
FAIL: 17_intro/header_iomanip.cc execution test
FAIL: 17_intro/header_ios.cc execution test
FAIL: 17_intro/header_iosfwd.cc execution test
FAIL: 17_intro/header_iostream.cc execution test
FAIL: 17_intro/header_istream.cc execution test
FAIL: 17_intro/header_ostream.cc execution test
FAIL: 17_intro/header_sstream.cc execution test
FAIL: 17_intro/header_streambuf.cc execution test
FAIL: 17_intro/headers.cc execution test
FAIL: 17_intro/headers_c++.cc execution test
FAIL: 17_intro/headers_c.cc execution test
FAIL: 18_support/numeric_limits.cc execution test
FAIL: 19_diagnostics/stdexceptions.cc execution test
FAIL: 20_util/allocator_members.cc execution test
FAIL: 20_util/auto_ptr.cc execution test
FAIL: 20_util/binders.cc execution test
FAIL: 20_util/comparisons.cc execution test
FAIL: 20_util/pairs.cc execution test
FAIL: 20_util/raw_storage_iterator.cc execution test
FAIL: 21_strings/append.cc execution test
FAIL: 21_strings/c_strings.cc execution test
FAIL: 21_strings/capacity.cc execution test
FAIL: 21_strings/char_traits_requirements.cc execution test
FAIL: 21_strings/char_traits_typedefs.cc execution test
FAIL: 21_strings/compare.cc execution test
FAIL: 21_strings/ctor_copy_dtor.cc execution test
FAIL: 21_strings/element_access.cc execution test
FAIL: 21_strings/find.cc execution test
FAIL: 21_strings/insert.cc execution test
FAIL: 21_strings/inserters_extractors.cc execution test
FAIL: 21_strings/invariants.cc execution test
FAIL: 21_strings/nonmember.cc execution test
FAIL: 21_strings/operations.cc execution test
FAIL: 21_strings/replace.cc execution test
FAIL: 21_strings/rfind.cc execution test
FAIL: 21_strings/substr.cc execution test
FAIL: 22_locale/codecvt_char_char.cc execution test
FAIL: 22_locale/codecvt_unicode_char.cc execution test
FAIL: 22_locale/codecvt_unicode_wchar_t.cc execution test
FAIL: 22_locale/codecvt_wchar_t_char.cc execution test
FAIL: 22_locale/ctor_copy_dtor.cc execution test
FAIL: 22_locale/ctype.cc execution test
FAIL: 22_locale/ctype_char_members.cc execution test
FAIL: 22_locale/ctype_wchar_t_members.cc execution test
FAIL: 22_locale/facet.cc execution test
FAIL: 22_locale/global_templates.cc execution test
FAIL: 22_locale/messages.cc execution test
FAIL: 22_locale/numpunct.cc execution test
FAIL: 22_locale/numpunct_byname.cc execution test
FAIL: 22_locale/operators.cc execution test
FAIL: 22_locale/static_members.cc execution test
FAIL: 23_containers/bitset_ctor.cc execution test
FAIL: 23_containers/bitset_members.cc execution test
FAIL: 23_containers/bitset_shift.cc execution test
FAIL: 23_containers/multiset.cc execution test
FAIL: 23_containers/vector_capacity.cc execution test
FAIL: 23_containers/vector_ctor.cc execution test
FAIL: 23_containers/vector_element_access.cc execution test
FAIL: 23_containers/vector_modifiers.cc execution test
FAIL: 24_iterators/back_insert_iterator.cc execution test
FAIL: 24_iterators/front_insert_iterator.cc execution test
FAIL: 24_iterators/insert_iterator.cc execution test
FAIL: 24_iterators/istream_iterator.cc execution test
FAIL: 24_iterators/istreambuf_iterator.cc execution test
FAIL: 24_iterators/iterator.cc execution test
FAIL: 24_iterators/ostream_iterator.cc execution test
FAIL: 24_iterators/ostreambuf_iterator.cc execution test
FAIL: 24_iterators/reverse_iterator.cc execution test
FAIL: 25_algorithms/binary_search.cc execution test
FAIL: 25_algorithms/copy.cc execution test
FAIL: 25_algorithms/heap.cc execution test
FAIL: 25_algorithms/lower_bound.cc execution test
FAIL: 25_algorithms/min_max.cc execution test
FAIL: 25_algorithms/partition.cc execution test
FAIL: 25_algorithms/rotate.cc execution test
FAIL: 25_algorithms/sort.cc execution test
FAIL: 25_algorithms/unique.cc execution test
FAIL: 26_numerics/binary_closure.cc execution test
FAIL: 26_numerics/buggy_complex.cc execution test
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
FAIL: 26_numerics/c_math.cc execution test
FAIL: 26_numerics/complex_inserters_extractors.cc execution test
FAIL: 26_numerics/complex_value.cc execution test
FAIL: 26_numerics/fabs_inline.cc execution test
FAIL: 26_numerics/slice_array_assignment.cc execution test
FAIL: 26_numerics/sum_diff.cc execution test
FAIL: 26_numerics/valarray.cc execution test
FAIL: 26_numerics/valarray_const_bracket.cc execution test
FAIL: 27_io/filebuf.cc execution test
FAIL: 27_io/filebuf_members.cc execution test
FAIL: 27_io/filebuf_virtuals.cc execution test
FAIL: 27_io/fpos.cc execution test
FAIL: 27_io/fstream_members.cc execution test
FAIL: 27_io/ifstream_members.cc execution test
FAIL: 27_io/ios_base_callbacks.cc execution test
FAIL: 27_io/ios_base_members_static.cc execution test
FAIL: 27_io/ios_base_storage.cc execution test
FAIL: 27_io/ios_ctor.cc execution test
FAIL: 27_io/ios_init.cc execution test
FAIL: 27_io/ios_manip_basefield.cc execution test
FAIL: 27_io/ios_manip_fmtflags.cc execution test
FAIL: 27_io/ios_members.cc execution test
FAIL: 27_io/istream.cc execution test
FAIL: 27_io/istream_extractor_arith.cc execution test
FAIL: 27_io/istream_extractor_char.cc execution test
FAIL: 27_io/istream_extractor_other.cc execution test
FAIL: 27_io/istream_manip.cc execution test
FAIL: 27_io/istream_seeks.cc execution test
FAIL: 27_io/istream_sentry.cc execution test
FAIL: 27_io/istream_unformatted.cc execution test
FAIL: 27_io/istringstream_members.cc execution test
FAIL: 27_io/narrow_stream_objects.cc execution test
FAIL: 27_io/ofstream_members.cc execution test
FAIL: 27_io/ostream.cc execution test
FAIL: 27_io/ostream_inserter_arith.cc execution test
FAIL: 27_io/ostream_inserter_char.cc execution test
FAIL: 27_io/ostream_inserter_other.cc execution test
FAIL: 27_io/ostream_manip.cc execution test
FAIL: 27_io/ostream_seeks.cc execution test
FAIL: 27_io/ostream_unformatted.cc execution test
FAIL: 27_io/ostringstream_members.cc execution test
FAIL: 27_io/streambuf.cc execution test
FAIL: 27_io/stringbuf.cc execution test
FAIL: 27_io/stringbuf_virtuals.cc execution test
FAIL: 27_io/stringstream.cc execution test
FAIL: 27_io/stringstream_members.cc execution test
FAIL: 27_io/wide_stream_objects.cc execution test
FAIL: ext/headers.cc execution test

		=== libstdc++-v3 Summary ===

# of expected passes		146
# of unexpected failures	139
# of unexpected successes	1
# of expected failures		11

Compiler version: 3.1 20010813 (experimental) 
Platform: mips-sgi-irix6.5
configure flags: --host=mips-sgi-irix6.5 --prefix=/users/joldham/pooma/dev0/install/mips-sgi-irix6.5
Jeffrey D. Oldham
joldham@acl.lanl.gov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]