libstdc++/6442: Regression wrt 3.0.x: undefined reference to `std::__basic_file<char>::is_open()'

bagnara@cs.unipr.it bagnara@cs.unipr.it
Wed Apr 24 14:32:00 GMT 2002


>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==



More information about the Gcc-bugs mailing list