libstdc++/10633: linking error with stdc++ library

cheng@pcigeomatics.com cheng@pcigeomatics.com
Mon May 5 22:41:00 GMT 2003


>Number:         10633
>Category:       libstdc++
>Synopsis:       linking error with stdc++ library
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 05 21:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     cheng@pcigeomatics.com
>Release:        unknown-1.0
>Organization:
>Environment:
gcc 3.2.3 on RedHat 8.0
>Description:
undefined symbol while linking with stdc++ library
>How-To-Repeat:
Here is a simple example

test.cpp:

void operator delete[](void * pPtr) throw()
{
}

gcc -v -g -c test.cpp

ld -lc -lstdc++ -shared test.o -o test.so

ld: test.so: undefined versioned symbol name _ZdaPv@@GLIBCPP_3.2
ld: failed to set dynamic section sizes: Bad value
>Fix:

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



More information about the Gcc-bugs mailing list