Subject: lib/2191: major number of libg++.so
To: None <gnats-bugs@NetBSD.ORG>
From: Niklas Hallqvist Niklas <niklas@nettan.appli.se>
List: netbsd-bugs
Date: 03/08/1996 03:12:27
>Number:         2191
>Category:       lib
>Synopsis:       API of libg++ has changed -> major should be updated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar  8 06:35:01 1996
>Last-Modified:
>Originator:     Niklas Hallqvist &
>Organization:
	Applitron Datasystem AB
>Release:        960307
>Environment:
System: NetBSD nettan.appli.se 1.1_ALPHA NetBSD 1.1_ALPHA (NETTAN-O) #8: Thu Nov 30 14:26:05 PST 1995 niklas@flower.appli.se:/usr/src/sys/arch/i386/compile/NETTAN-O i386


>Description:
	When moving from GCC 2.4.5 to 2.7.2 one should be aware of that
	the name mangling of C++ symbols have changed.  This effectively
	makes the API drastically changed.  Thus the major number of the
	shared library should be increased, otherwise complaints from people
	using C++ programs compiled under NetBSD 1.1 will come when they
	upgrade to the next NetBSD release, whatever it will be.

>How-To-Repeat:
	Actually I'm only theorizing, I haven't tested anything.  I don't have
	old C++ programs around.

	If you have a 2.4.5 groff, try it on a system with libg++ compiled
	with 2.7.2.  I expect it to fail in someway or another.

>Fix:
	Bump the major number in src/gnu/lib/libg++/libg++/shlib_version
>Audit-Trail:
>Unformatted: