public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-24 13:36 bagnara
0 siblings, 0 replies; 7+ messages in thread
From: bagnara @ 2002-04-24 13:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 6442
>Category: libstdc++
>Synopsis: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 24 13:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: bagnara@cs.unipr.it
>Release: gcc version 3.1 20020424 (prerelease)
>Organization:
>Environment:
$ uname -a
Linux zoltan.unisuv.it 2.4.17 #18 Sat Dec 22 16:57:24 CET 2001 i686 unknown
$ /opt/bin/g++ -v
Reading specs from /opt/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc/configure --prefix=/opt : (reconfigured) ../gcc/configure --prefix=/opt
Thread model: single
gcc version 3.1 20020424 (prerelease)
>Description:
For some reason the implementation of `std::__basic_file<char>::is_open()'
seems to be unavailable both at compile-time and at link-time.
This problem is not present in GCC 3.0.x.
>How-To-Repeat:
$ /opt/bin/g++ bug.cc
/opt/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.so: undefined reference to `std::__basic_file<char>::is_open()'
collect2: ld returned 1 exit status
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cc"
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KCnVzaW5nIG5hbWVzcGFjZSBz
dGQ7CgppbnQgbWFpbigpIHsKICBzdHJpbmcgczsKICBvc3RyaW5nc3RyZWFtIGQocyk7CiAgZCA8
PCAiaGVsbG8iIDw8IGVuZGw7CiAgY291dCA8PCBkLnN0cigpOwp9Cg==
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-25 8:02 paolo
0 siblings, 0 replies; 7+ messages in thread
From: paolo @ 2002-04-25 8:02 UTC (permalink / raw)
To: bagnara, gcc-bugs, gcc-prs, nobody
Synopsis: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
State-Changed-From-To: analyzed->closed
State-Changed-By: paolo
State-Changed-When: Thu Apr 25 08:02:37 2002
State-Changed-Why:
Closed upon submitter request.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-25 6:46 Roberto Bagnara
0 siblings, 0 replies; 7+ messages in thread
From: Roberto Bagnara @ 2002-04-25 6:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libstdc++/6442; it has been noted by GNATS.
From: Roberto Bagnara <bagnara@cs.unipr.it>
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<char>::is_open()'
Date: Thu, 25 Apr 2002 15:37:52 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442
After another cvs update the problem has disappeared.
Now the non const version of
std::__basic_file<char>::is_open() const
is no longer referenced (but it was yesterday!)
You may close the bug report.
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-25 4:56 Roberto Bagnara
0 siblings, 0 replies; 7+ messages in thread
From: Roberto Bagnara @ 2002-04-25 4:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libstdc++/6442; it has been noted by GNATS.
From: Roberto Bagnara <bagnara@cs.unipr.it>
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<char>::is_open()'
Date: Thu, 25 Apr 2002 13:53:39 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442
I did a `make check' and this results in almost everything failing because
of the usual link problem:
/opt/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `std::__basic_file<char>::is_open()'
collect2: ld returned 1 exit status
compiler exited with status 1
The summary is
=== libstdc++-v3 Summary ===
# of expected passes 23
# of unexpected failures 189
I enclose the complete log file below.
I am now running CVS update on the sources; I will then
`make bootstrap' from scratch.
begin 775 libstdc++-v3.log.bz2
M0EIH.3%!62936>$26U,`R9!?@$`R>?__]S_OWX#____X8":_>^5B@```'CT4
M4LX>M*)`U`#!`+T`!=?6[>[W@!KH``/02NPH4H``*````50!1UED";.&&`;F
M,KWN`O6`$@T%,FDRGBGZIZ;U4--/4```&@````$IB28DFA!FJAM30T9`#`$-
M`&@,@$4]^JJGE'I&@`-``````````2GZE5%3U'ZHWJF@T&"`!H&AB&$````A
M11)IJI^2GZ&J,GJ::>B`:``-!HT```*4D0`A-`$)/(:@:::GE-#)^J>A-J9/
M)ZC2:;PB_ANS>TU^/VZ?Z<ZJG\=]TJ?=R^K7KR-;5K?-\(B(O)99$1$1(HHX
M!`-@*$%,@*%3@14P]R*(TP+:55/VG6`'(*"DH(CB(Z([H.JSJVU67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W$\(W1+U1+QZY)+553U8C<E#8G;";BUMCSZ6OBW4J*L1D]Q:\&VW@
MQ40&I%EZT\Z;;?!JH@-2+3U#%1`8D6'CV;FMMMOW"O;JBJ*!E@5'2PBJM7=Q
M)0Q$NH`0,!!W!@-1))))))+`9"I1K+8F0)D"9`L1%!;`F0)EF9F5F9F9H=$U
MJAI/$`1X$5/@#G`X#S^>/8;4JINC.0RD$/0):K*4,,6!T[9FU53W#@$O,ZX>
MXYKS+DE-75L-37XDEX?=G*%5]ISJJ<L9C,9CYA+T&I7N7'DS&8S&8S&A=3D/
M*]LGL.3EB9@\(ENB6YQ2ISS02Z&BK0)9MF8S&9?`\S7M.BZI4-\$5.\)0Y0Z
M^TL*:"L,#$*PP-U&M6ZBJ54J5>E5M.HD%%"T4('*JIVXJJ]P$]8N((P,5+SI
M&83EY9FFFM--:::2VA5<QV'@E#5%4W+A5R.4)?!BE(?\Q\1U/)*GL@2W9F9D
ML'TA?4L-*<(57H<?5Y?$X'93XHPJ?U95^GHJ^PDOH=:5#U&%@^9^.VG)VMA]
MI@OGM1+QA[O?41.:NR)>*JGN1D'Q2IY28B7M.%53V2"C\A$DYC1<3R+1GSW)
MB/H<!]SK1TCJ8?>)7X%N<0L/B<#J=JJG9T0?31`%#PPJK2!4?L(JD**D((PB
M@/K$/G_)\[SW.L&YNN[NN[L$'Q-&PY*;GP#XHY4;U:"79'O1__%W)%.%"0X1
#);4P
`
end
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-25 4:16 Paolo Carlini
0 siblings, 0 replies; 7+ messages in thread
From: Paolo Carlini @ 2002-04-25 4:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libstdc++/6442; it has been noted by GNATS.
From: Paolo Carlini <pcarlini@unitus.it>
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<char>::is_open()'
Date: Thu, 25 Apr 2002 13:09:44 +0200
Hi Roberto,
honestly, I'm not sure to really understand the problem you reported,
neither I'm able to reproduce it with your testcase or any other
involving streams (both statically and dynamically linked).
Anyway, testsuite/27_io exercises quite a bit is_open. Could you
possibly run a "make check" and report about it?
Thanks,
Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-24 23:06 Roberto Bagnara
0 siblings, 0 replies; 7+ messages in thread
From: Roberto Bagnara @ 2002-04-24 23:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libstdc++/6442; it has been noted by GNATS.
From: Roberto Bagnara <bagnara@cs.unipr.it>
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<char>::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<char>::is_open()"
00000000 T std::__basic_file<char>::is_open() const
U std::__basic_file<char>::is_open()
$ nm --demangle /opt/lib/libstdc++.so | fgrep "__basic_file<char>::is_open()"
0003e370 T std::__basic_file<char>::is_open() const
U std::__basic_file<char>::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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
@ 2002-04-24 14:18 paolo
0 siblings, 0 replies; 7+ messages in thread
From: paolo @ 2002-04-24 14:18 UTC (permalink / raw)
To: bagnara, gcc-bugs, gcc-prs, nobody
Synopsis: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Wed Apr 24 14:18:04 2002
State-Changed-Why:
I cannot reproduce this with 3.1 20020424 on x86-linux:
paolo:~> g++ -v
Reading specs from /usr/local/gcc-test/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3_1-branch/gcc/configure --prefix=/usr/local/gcc-test
Thread model: single
gcc version 3.1 20020424 (prerelease)
paolo:~> cat bug.cc
#include <iostream>
#include <sstream>
using namespace std;
int main() {
string s;
ostringstream d(s);
d << "hello" << endl;
cout << d.str();
}
paolo:~> g++ bug.cc
paolo:~>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6442
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-04-25 15:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 13:36 libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()' bagnara
2002-04-24 14:18 paolo
2002-04-24 23:06 Roberto Bagnara
2002-04-25 4:16 Paolo Carlini
2002-04-25 4:56 Roberto Bagnara
2002-04-25 6:46 Roberto Bagnara
2002-04-25 8:02 paolo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).