Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 09:26:23 GMT
From:      Thomas Eberhardt <sneakywumpus@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/169901: [patch] Typo in gnu/lib/libsupc++/Version.map
Message-ID:  <201207160926.q6G9QNtJ080878@red.freebsd.org>
Resent-Message-ID: <201207160930.q6G9UM4R079497@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169901
>Category:       gnu
>Synopsis:       [patch] Typo in gnu/lib/libsupc++/Version.map
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 09:30:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Eberhardt
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD clarence.ocp.lan 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r238490M: Sun Jul 15 18:23:43 CEST 2012     thomas@clarence.ocp.lan:/usr/obj/usr/src/sys/CLARENCE  amd64
>Description:
The vector new operator is missing in the shared library libsupc++.so.1

Version.map defines it as:
_Znai[jm]
but in reality it is
_Zna[jm]

% nm --defined-only /usr/lib*/libsupc++.a |grep _Zn
0000000000000000 T _ZnamRKSt9nothrow_t
0000000000000000 T _Znam
0000000000000000 T _ZnwmRKSt9nothrow_t
0000000000000000 T _Znwm
00000000 T _ZnajRKSt9nothrow_t
00000000 T _Znaj
00000000 T _ZnwjRKSt9nothrow_t
00000000 T _Znwj

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: gnu/lib/libsupc++/Version.map
===================================================================
--- gnu/lib/libsupc++/Version.map	(revision 238490)
+++ gnu/lib/libsupc++/Version.map	(working copy)
@@ -132,7 +132,7 @@
 
 GLIBCXX_3.4 {
     # operator new and new[]
-    _Znai[jm];
+    _Zna[jm];
     _Zna[jm]RKSt9nothrow_t;
     _Znw[jm];
     _Znw[jm]RKSt9nothrow_t;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207160926.q6G9QNtJ080878>