Subject: bin/2298: C++ iostreams don't work
To: None <gnats-bugs@NetBSD.ORG>
From: Matthias Scheler <tron@colwyn.owl.de>
List: netbsd-bugs
Date: 04/04/1996 02:01:03
>Number:         2298
>Category:       bin
>Synopsis:       C++ iostreams don't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr  3 20:35:07 1996
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler
tron@colwyn.owl.de
>Release:        960402
>Environment:
System: NetBSD colwyn 1.1B NetBSD 1.1B (COLWYN) #0: Wed Apr 3 02:13:11 MET DST 1996 tron@colwyn:/usr/src/sys/arch/i386/compile/COLWYN i386

>Description:
C++ programs using streams can be compiled but not executed.

>How-To-Repeat:
Take this C++ program:

#include <stream.h>

int main(void)

{
 cout << "Test\n";
 return 0;
}

It compiles fine but you can't execute it:
tron@colwyn:~>a.out
/usr/libexec/ld.so: Undefined symbol "_re_compile_pattern" called from a.out:/usr/lib/libg++.so.3.0 at 0x1004d2ac

The same problem occurs on a NetBSD-amiga 1.1B system compiled from the
same sources.

>Fix:
Sorry, no idea.
>Audit-Trail:
>Unformatted: