From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16191 invoked by alias); 25 Apr 2002 06:06:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16165 invoked by uid 71); 25 Apr 2002 06:06:02 -0000 Date: Wed, 24 Apr 2002 23:06:00 -0000 Message-ID: <20020425060601.16163.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Roberto Bagnara Subject: Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file::is_open()' Reply-To: Roberto Bagnara X-SW-Source: 2002-04/txt/msg01308.txt.bz2 List-Id: The following reply was made to PR libstdc++/6442; it has been noted by GNATS. From: Roberto Bagnara To: bagnara@cs.unipr.it, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Cc: Subject: Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file::is_open()' Date: Thu, 25 Apr 2002 08:05:41 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442 Indeed the problem seems largely independent from the testcase. However, it is there. Here is another attempt at reconstructing the problem. 1) I "cvs update"d the 3.1 branch less than 12 hours ago; 2) I ran configure in a separate directory with "--prefix=/opt" as the only option; 3) I ran "make bootstrap" and this terminated OK; 4) I ran "make install"; 5) I now have, among others, the following files in /opt/lib $ ls -l /opt/lib/libstdc++.so /opt/lib/libstdc++.so.4.0.0 /opt/lib/libstdc++.a -rw-r--r-- 1 roberto roberto 8170982 Apr 24 22:42 /opt/lib/libstdc++.a lrwxrwxrwx 1 roberto roberto 18 Apr 24 22:42 /opt/lib/libstdc++.so -> libstdc++.so.4.0.0 -rwxr-xr-x 1 roberto roberto 3680871 Apr 24 22:42 /opt/lib/libstdc++.so.4.0.0 6) these seem to have an unresolved symbol; $ nm --demangle /opt/lib/libstdc++.a | fgrep "__basic_file::is_open()" 00000000 T std::__basic_file::is_open() const U std::__basic_file::is_open() $ nm --demangle /opt/lib/libstdc++.so | fgrep "__basic_file::is_open()" 0003e370 T std::__basic_file::is_open() const U std::__basic_file::is_open() Perhaps a `const' qualifier is missing, perhaps in gcc/libstdc++-v3/config/io/basic_file_libio.h or maybe somewhere else. Please let me know if I can do more to help you find the cause of the problem. All the best Roberto -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it