Bug 22222 - New Tru64 UNIX libstdc++ testsuite failures: #warning debug mode disabled due to lack of weak symbol support
Summary: New Tru64 UNIX libstdc++ testsuite failures: #warning debug mode disabled due...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Benjamin Kosnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 19:54 UTC by Rainer Orth
Modified: 2005-09-22 08:16 UTC (History)
1 user (show)

See Also:
Host: alpha-dec-osf5.1b
Target: alpha-dec-osf5.1b
Build: alpha-dec-osf5.1b
Known to work:
Known to fail:
Last reconfirmed: 2005-06-28 20:03:11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2005-06-28 19:54:29 UTC
Between 20050525 and 20050627 there appeared a couple of new libstdc++
testsuite failures on Tru64 UNIX V5.1B:

+FAIL: 23_containers/bitset/18604.cc (test for excess errors)
+FAIL: 23_containers/deque/14340.cc (test for excess errors)
+FAIL: 23_containers/deque/18604.cc (test for excess errors)
+FAIL: 23_containers/list/14340.cc (test for excess errors)
+FAIL: 23_containers/list/18604.cc (test for excess errors)
+FAIL: 23_containers/map/14340.cc (test for excess errors)
+FAIL: 23_containers/map/18604.cc (test for excess errors)
+FAIL: 23_containers/multimap/14340.cc (test for excess errors)
+FAIL: 23_containers/multiset/14340.cc (test for excess errors)
+FAIL: 23_containers/set/14340.cc (test for excess errors)
+FAIL: 23_containers/set/18604.cc (test for excess errors)
+FAIL: 23_containers/vector/14340.cc (test for excess errors)
+FAIL: 23_containers/vector/18604.cc (test for excess errors)

All the failures are like this:

FAIL: 23_containers/bitset/18604.cc (test for excess errors)
Excess errors:
In file included from /vol/gcc/obj/gcc-4.1.0-20050627/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include/limits:47,
                 from /vol/gcc/obj/gcc-4.1.0-20050627/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include/bitset:54,
                 from /vol/gnu/src/gcc/gcc-dist/libstdc++-v3/testsuite/23_containers/bitset/18604.cc:41:
/vol/gcc/obj/gcc-4.1.0-20050627/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include/alpha-dec-osf5.1b/bits/c++config.h:61:4: warning: #warning debug mode disabled due to lack of weak symbol support

and many more errors.  If a testcase cannot be supported, it shouldn't FAIL
but be marked UNSUPPORTED instead.

Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha
	
host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf5.1b --build alpha-dec-osf5.1b --target alpha-dec-osf5.1b --with-gmp-dir=/vol/gnu/obj/gmp-4.1.3 --with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr --enable-languages=c,c++,f95,java,objc --disable-libmudflap

How-To-Repeat:
Run make check on target platform.
Comment 1 Paolo Carlini 2005-06-28 20:03:11 UTC
This is basically the same issue of 22205 and we are certainly going to add the
needed DejaGNU bits (note, however, that, to date it's not completely clear
what's exactly going wrong on AIX)
Comment 2 Benjamin Kosnik 2005-09-13 20:20:38 UTC
Mine.
Comment 3 GCC Commits 2005-09-15 18:59:15 UTC
Subject: Bug 22222

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2005-09-15 18:58:04

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/include/bits: c++config 
	libstdc++-v3/testsuite/21_strings/basic_string/element_access/char: 
	                                                                    21674.cc 
	libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t: 
	                                                                       21674.cc 
	libstdc++-v3/testsuite/lib: dg-options.exp libstdc++.exp 

Log message:
	2005-09-15  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/21674
	PR libstdc++/22205
	PR libstdc++/22222
	* include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
	Add in check for __NO_INLINE__ for warning.
	* testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
	* testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
	* testsuite/21_strings/basic_string/element_access/char/21674.cc:
	Use it.
	* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
	Use it.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3107&r2=1.3108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/c++config.diff?cvsroot=gcc&r1=1.1408&r2=1.1409
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/dg-options.exp.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp.diff?cvsroot=gcc&r1=1.48&r2=1.49

Comment 4 Benjamin Kosnik 2005-09-22 08:16:50 UTC
Fixed.